Fix bug so that we actually start at minBound.

(Map defaults to unpack(0), so for an Int, our first updateFunc will add
one to zero and it won't be much different than before.)
This commit is contained in:
jon
2021-04-10 07:54:39 +01:00
parent 6b871c0442
commit aa9e57ce10

View File

@@ -957,7 +957,7 @@ module mkSplitLSQ(SplitLSQ);
RWire#(void) wrongSpec_wakeBySB_conflict <- mkRWire;
// make wrongSpec more urgent than firstSt (resolve bsc error)
Wire#(Bool) wrongSpec_urgent_firstSt <- mkDWire(True);
Map#(Bit#(10),Bit#(6),Int#(2),2) ldKillMap <- mkMapLossy;
Map#(Bit#(10),Bit#(6),UInt#(2),2) ldKillMap <- mkMapLossy;
Reg#(Bit#(16)) rand_count <- mkReg(0);
rule inc_rand_count;
rand_count <= rand_count + 1;