1
0
Fork 0

Merge branch 'master' of github.com:ucb-bar/riscv-rocket

This commit is contained in:
Andrew Waterman 2012-01-26 20:12:42 -08:00
commit 32f5f420f3
1 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,9 @@ class rocketDpathPCR extends Component
when (io.w.addr === PCR_PTBR) { reg_ptbr <== Cat(io.w.data(PADDR_BITS-1, PGIDX_BITS), Bits(0, PGIDX_BITS)).toUFix; }
}
reg_count <== reg_count + UFix(1);
otherwise {
reg_count <== reg_count + UFix(1);
}
when (reg_count === reg_compare) {
r_irq_timer <== Bool(true);
}