From 24ef4e6deaa73328ea9632bc0f5422dc2409ab28 Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Thu, 21 Jul 2016 12:05:11 -0700 Subject: [PATCH] make sure to use AND not OR for combining finished signals --- groundtest/src/main/scala/common/Util.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groundtest/src/main/scala/common/Util.scala b/groundtest/src/main/scala/common/Util.scala index 47933e9a..399f126e 100644 --- a/groundtest/src/main/scala/common/Util.scala +++ b/groundtest/src/main/scala/common/Util.scala @@ -192,7 +192,7 @@ object ValidMux { object DebugCombiner { def apply(debugs: Seq[GroundTestStatus]): GroundTestStatus = { val out = Wire(new GroundTestStatus) - out.finished := debugs.map(_.finished).reduce(_ || _) + out.finished := debugs.map(_.finished).reduce(_ && _) out.timeout := ValidMux(debugs.map(_.timeout)) out.error := ValidMux(debugs.map(_.error)) out