diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-07-27 05:10:09 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-07-27 05:10:09 +0200 |
commit | 4d2ef5b79a3b4e0a6eb7ce8a3c6aeca7d468797c (patch) | |
tree | 687fcf5eb327a215a278052e5821d8eb45da7787 | |
parent | fb11d0a46b5b1b747e2014f2bce6d30ba93bf760 (diff) | |
download | ghdl-4d2ef5b79a3b4e0a6eb7ce8a3c6aeca7d468797c.tar.gz ghdl-4d2ef5b79a3b4e0a6eb7ce8a3c6aeca7d468797c.tar.bz2 ghdl-4d2ef5b79a3b4e0a6eb7ce8a3c6aeca7d468797c.zip |
synthesis.adb: cleanup after expand. For #2142
-rw-r--r-- | src/synth/synthesis.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synthesis.adb b/src/synth/synthesis.adb index 911b2d5f6..e83cdb4ea 100644 --- a/src/synth/synthesis.adb +++ b/src/synth/synthesis.adb @@ -100,6 +100,8 @@ package body Synthesis is if not Synth.Flags.Flag_Debug_Noexpand then Netlists.Expands.Expand_Gates (Ctxt, M); + -- Remove unused dyn_expand inputs. + Netlists.Cleanup.Mark_And_Sweep (M); end if; end Instance_Passes; |