replace remaining uses of Vec.fill

This commit is contained in:
Howard Mao committed 2015-09-24 17:53:26 -07:00
1 parent 9eb988a4c6
commit a66bdb1956
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ class ICache extends FrontendModule
val tag_rdata = tag_array.read(s0_pgoff(untagBits-1,blockOffBits), !refill_done && s0_valid)
when (refill_done) {
val tag = code.encode(s2_tag).toUInt
tag_array.write(s2_idx, Vec.fill(nWays)(tag), Vec.tabulate(nWays)(repl_way === _))
tag_array.write(s2_idx, Vec(nWays, tag), Vec.tabulate(nWays)(repl_way === _))
}
val vb_array = Reg(init=Bits(0, nSets*nWays))