1
0

modify code to fix UFix := Bits error

This commit is contained in:
Yunsup Lee 2012-11-04 23:31:58 -08:00
parent 2a25307a8f
commit ee081d1671

View File

@ -56,7 +56,7 @@ class rocketVUMultiplier(nwbq: Int) extends Component {
io.cpu.req.ready := io.vu.req.ready && wbq_rdy
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_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
}