Skip to content

Commit

Permalink
Made gen a private member to avoid polluting bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez authored and jerryz123 committed Jan 3, 2019
1 parent 223eb31 commit f35cc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/util/elastic-sram.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package boom.util
import chisel3._
import chisel3.util._

class ESramWritePort[T <: Data](val idx_sz: Int, val gen: T) extends Bundle
class ESramWritePort[T <: Data](val idx_sz: Int, private val gen: T) extends Bundle
{
val idx = UInt(idx_sz.W)
val data = gen
Expand Down

0 comments on commit f35cc75

Please sign in to comment.