提交 0af1385e 编写于 作者: Z Zihao Yu

bus,simplebus,Crossbar: fix req.ready bug

* Should assert req.ready once it is accepted by the slave. The master
  should guarantee only one request is in-flight.
上级 c9135c01
......@@ -53,9 +53,7 @@ class SimpleBusCrossbar(m: Int, addressSpace: List[(Long, Long)]) extends Module
inSel.resp.valid := outSel.resp.fire()
inSel.resp.bits <> outSel.resp.bits
outSel.resp.ready := inSel.resp.ready
// ack in.req when the response is received
inSel.req.ready := outSel.resp.fire()
inSel.req.ready := outSel.req.ready
if (debug) {
when (state === s_idle && inSel.req.valid) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册