Skip to content

Commit

Permalink
device,MROM: do not allow outstanding requests
Browse files Browse the repository at this point in the history
  • Loading branch information
sashimi-yzh committed Apr 14, 2024
1 parent 19b8c0a commit 287645f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/MROM.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AXI4MROM(address: Seq[AddressSet])(implicit p: Parameters) extends LazyMod

mrom.io.raddr := in.ar.bits.addr
mrom.io.ren := in.ar.fire
in.ar.ready := true.B
in.ar.ready := (state === stateIdle)
assert(!(in.ar.fire && in.ar.bits.size === 3.U), "do not support 8 byte transfter")

in.r.bits.data := RegEnable(Fill(2, mrom.io.rdata), in.ar.fire)
Expand Down

0 comments on commit 287645f

Please sign in to comment.