From c098e8c2e2ed1f5defc5811a76109eeed34c4d74 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 21 May 2021 18:30:07 +0100 Subject: Add simulation support --- src/Verismith/Tool/Icarus.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -> -- cgit