From 10df4c2ebebeb6beda1370f59cb3ef43ead357bc Mon Sep 17 00:00:00 2001 From: Donggyu Kim Date: Tue, 26 Feb 2019 12:16:50 -0800 Subject: [PATCH] [lane-ctrl] strip needs to be initialized to prevent false firing after reset --- src/main/scala/lane-ctrl.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/lane-ctrl.scala b/src/main/scala/lane-ctrl.scala index 1f19480..7587566 100644 --- a/src/main/scala/lane-ctrl.scala +++ b/src/main/scala/lane-ctrl.scala @@ -88,6 +88,7 @@ class LaneCtrl(implicit p: Parameters) extends VXUModule()(p) { when (reset) { reg_valid := Bool(false) + reg_bits.strip := 0.U } }