modify code to fix UFix := Bits error
This commit is contained in:
parent
2a25307a8f
commit
ee081d1671
@ -56,7 +56,7 @@ class rocketVUMultiplier(nwbq: Int) extends Component {
|
|||||||
io.cpu.req.ready := io.vu.req.ready && wbq_rdy
|
io.cpu.req.ready := io.vu.req.ready && wbq_rdy
|
||||||
io.cpu.resp_val := wbq.io.deq.valid
|
io.cpu.resp_val := wbq.io.deq.valid
|
||||||
io.cpu.resp_bits := wbq.io.deq.bits >> UFix(io.cpu.resp_tag.width)
|
io.cpu.resp_bits := wbq.io.deq.bits >> UFix(io.cpu.resp_tag.width)
|
||||||
io.cpu.resp_tag := wbq.io.deq.bits(io.cpu.resp_tag.width-1,0)
|
io.cpu.resp_tag := wbq.io.deq.bits(io.cpu.resp_tag.width-1,0).toUFix
|
||||||
|
|
||||||
io.vu.req <> io.cpu.req
|
io.vu.req <> io.cpu.req
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user