axi4 Fragmenter: initialize error response to 0
This commit is contained in:
parent
958af132ba
commit
1c79a23a8b
@ -225,7 +225,7 @@ class AXI4Fragmenter(lite: Boolean = false, maxInFlight: Int = 32, combinational
|
||||
in_b.bits := out_b.bits
|
||||
|
||||
// Merge errors from dropped B responses
|
||||
val r_resp = Reg(UInt(width = AXI4Parameters.respBits))
|
||||
val r_resp = RegInit(UInt(0, width = AXI4Parameters.respBits))
|
||||
val resp = out_b.bits.resp | r_resp
|
||||
when (out_b.fire()) { r_resp := Mux(b_last, UInt(0), resp) }
|
||||
in_b.bits.resp := resp
|
||||
|
Loading…
Reference in New Issue
Block a user