Skip to content

Commit

Permalink
[rocketv] add isVector in write rf rob.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Aug 20, 2024
1 parent e749718 commit ed12a32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rocketv/src/RocketCore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class RocketROB(param: RocketParameter) extends Bundle {
val tag: UInt = UInt(5.W)
val wbSetScoreboard: Bool = Bool()
val longLatencyWrite: Bool = Bool()
val isVector: Bool = Bool()
}

class RocketProbe(param: RocketParameter) extends Bundle {
Expand Down Expand Up @@ -1092,6 +1093,9 @@ class Rocket(val parameter: RocketParameter)
probeWire.rob.tag := wbWaddr
probeWire.rob.wbSetScoreboard := wbSetSboard && wbWen
probeWire.rob.longLatencyWrite := longLatencyWenable
probeWire.rob.isVector := io.t1.map { t1 =>
wbRegDecodeOutput(parameter.decoderParameter.vector) && !wbRegDecodeOutput(parameter.decoderParameter.vectorCSR)
}.getOrElse(false.B)

// hook up control/status regfile
csr.io.ungatedClock := io.clock
Expand Down

0 comments on commit ed12a32

Please sign in to comment.