diff --git a/src/main/scala/uncore/tilelink2/Fuzzer.scala b/src/main/scala/uncore/tilelink2/Fuzzer.scala index 4fab2385..bc15f61e 100644 --- a/src/main/scala/uncore/tilelink2/Fuzzer.scala +++ b/src/main/scala/uncore/tilelink2/Fuzzer.scala @@ -109,8 +109,8 @@ class TLFuzzer( val dataBits = edge.bundle.dataBits // Progress through operations - val num_reqs = Reg(init = UInt(nOperations, log2Up(nOperations))) - val num_resps = Reg(init = UInt(nOperations, log2Up(nOperations))) + val num_reqs = Reg(init = UInt(nOperations, log2Up(nOperations+1))) + val num_resps = Reg(init = UInt(nOperations, log2Up(nOperations+1))) if (nOperations>0) { io.finished := num_resps === UInt(0) } else {