1
0

fix scr parameterization bug

This commit is contained in:
Yunsup Lee
2013-08-24 22:42:51 -07:00
parent 2ca5127785
commit 44e92edf92
2 changed files with 7 additions and 3 deletions

View File

@ -113,6 +113,9 @@ class PCR(implicit conf: RocketConfiguration) extends Component
val rdata = Bits(OUTPUT, conf.xprlen)
val wdata = Bits(INPUT, conf.xprlen)
}
// there is a fixed constant related to this in PCRReq.addr
require(log2Up(conf.nxpr) == 5)
val status = new Status().asOutput
val ptbr = UFix(OUTPUT, PADDR_BITS)