1
0

tilelink2: Unit Test passes!

This commit is contained in:
Wesley W. Terpstra 2016-09-12 18:39:50 -07:00
parent 9874bc553a
commit 273d3a73f2
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class UnitTestSuite(implicit p: Parameters) extends Module {
state := Mux(test_idx === UInt(tests.size - 1), s_done, s_start)
}
val timer = Module(new Timer(1000, tests.size))
val timer = Module(new Timer(50000, tests.size))
timer.io.start.valid := Bool(false)
timer.io.stop.valid := Bool(false)

View File

@ -81,7 +81,7 @@ class TLFuzzer(nOperations: Int, inFlight: Int = 32) extends LazyModule
// Progress through operations
val num_reqs = Reg(init = UInt(nOperations-1, log2Up(nOperations)))
val num_resps = Reg(init = UInt(nOperations-1, log2Up(nOperations)))
io.finished := num_resps =/= UInt(0)
io.finished := num_resps === UInt(0)
// Progress within each operation
val a = out.a.bits