1
0

get unit tests working again

This commit is contained in:
Howard Mao
2016-08-10 11:23:07 -07:00
parent 0ee1ce4366
commit 571d579b86
3 changed files with 16 additions and 8 deletions

View File

@ -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)