diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-05-21 18:30:07 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-05-21 18:30:07 +0100 |
commit | c098e8c2e2ed1f5defc5811a76109eeed34c4d74 (patch) | |
tree | ca5ad1d5192c26bd0770baf4f8aa804e52d98c74 | |
parent | 3e1f8a25cd6fecc0fe5fd1635183296acd47b95c (diff) | |
download | verismith-c098e8c2e2ed1f5defc5811a76109eeed34c4d74.tar.gz verismith-c098e8c2e2ed1f5defc5811a76109eeed34c4d74.zip |
Add simulation support
-rw-r--r-- | src/Verismith/Tool/Icarus.hs | 2 |
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 -> |