Specify some uninferrable widths

It's really scary that Chisel2 passed this stuff.
This commit is contained in:
Andrew Waterman committed 2015-07-31 14:23:52 -07:00
1 parent 45cf64dbd7
commit 6d7cc37e87
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -218,7 +218,7 @@ class ICache extends FrontendModule
val s1_tag_match = Wire(Vec(Bool(), nWays))
val s2_tag_hit = Wire(Vec(Bool(), nWays))
val s2_dout = Reg(Vec(Bits(), nWays))
val s2_dout = Reg(Vec(Bits(width = code.width(rowBits)), nWays))
for (i <- 0 until nWays) {
val s1_vb = !io.invalidate && vb_array(Cat(UInt(i), s1_pgoff(untagBits-1,blockOffBits))).toBool