aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Verismith/Tool/Icarus.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Verismith/Tool/Icarus.hs b/src/Verismith/Tool/Icarus.hs
index da387dc..c020b61 100644
--- a/src/Verismith/Tool/Icarus.hs
+++ b/src/Verismith/Tool/Icarus.hs
@@ -188,7 +188,7 @@ tbModule' ids bss top =
fold
[ BlockAssign (Assign "clk" Nothing 0),
BlockAssign (Assign inConcat Nothing 0),
- BlockAssign (Assign inIds Nothing 0)
+ if null ids then mempty else BlockAssign (Assign inIds Nothing 0)
]
<> fold
( ( \r ->