1
0

add chosen

This commit is contained in:
Yunsup Lee
2012-03-18 20:43:08 -07:00
parent c4a91303fb
commit ba06cd953e
2 changed files with 7 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class rocketProc(resetSignal: Bool = null) extends Component(resetSignal)
{
vu = new vu()
// cpu, vector prefetch, and vector use the DTLB
val dtlbarb = new hwacha.Arbiter(3)({new ioDTLB_CPU_req()})
val dtlbarb = new Arbiter(3)({new ioDTLB_CPU_req_bundle()})
val dtlbchosen = Reg(resetVal=Bits(DTLB_CPU,log2up(3)))
when( dtlb.io.cpu_req.ready && dtlbarb.io.out.valid ) { dtlbchosen := dtlbarb.io.chosen }