Skip to content

Commit

Permalink
Merge pull request #2331 from chipsalliance/mwachs5-patch-2
Browse files Browse the repository at this point in the history
Multiplier: Make MultiplierIO clone-able
  • Loading branch information
mwachs5 committed Mar 11, 2020
2 parents 4652bc3 + 04a1087 commit e4419e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rocket/Multiplier.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MultiplierResp(dataBits: Int, tagBits: Int) extends Bundle {
override def cloneType = new MultiplierResp(dataBits, tagBits).asInstanceOf[this.type]
}

class MultiplierIO(dataBits: Int, tagBits: Int) extends Bundle {
class MultiplierIO(val dataBits: Int, val tagBits: Int) extends Bundle {
val req = Flipped(Decoupled(new MultiplierReq(dataBits, tagBits)))
val kill = Input(Bool())
val resp = Decoupled(new MultiplierResp(dataBits, tagBits))
Expand Down

0 comments on commit e4419e6

Please sign in to comment.