get unit tests working again

This commit is contained in:
Howard Mao committed 2016-08-10 11:23:07 -07:00
1 parent 0ee1ce4366
commit 571d579b86
3 files changed
+16 -8

No files matched your search

@@ -38,6 +38,8 @@ class UnitTestSuite(implicit p: Parameters) extends Module {
}
val timer = Module(new Timer(1000, tests.size))
timer.io.start.valid := Bool(false)
timer.io.stop.valid := Bool(false)
tests.zipWithIndex.foreach { case (mod, i) =>
mod.io.start := (state === s_start) && test_idx === UInt(i)