diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-10 18:29:07 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-10 18:29:07 +0200 |
commit | bb55e3201f211ed7176993cbf1622ad4592f95e0 (patch) | |
tree | 2f2f2e75d58f6ebd7b5ad8bd021dc7bc59918791 /src/synth/synth-insts.adb | |
parent | 5d43f82f6afe21cc874309e280e31a4f51439502 (diff) | |
download | ghdl-bb55e3201f211ed7176993cbf1622ad4592f95e0.tar.gz ghdl-bb55e3201f211ed7176993cbf1622ad4592f95e0.tar.bz2 ghdl-bb55e3201f211ed7176993cbf1622ad4592f95e0.zip |
synth: rewrite cleanup pass.
Diffstat (limited to 'src/synth/synth-insts.adb')
-rw-r--r-- | src/synth/synth-insts.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb index f2d67b4d7..c636cc497 100644 --- a/src/synth/synth-insts.adb +++ b/src/synth/synth-insts.adb @@ -27,7 +27,7 @@ with Std_Names; with Netlists; use Netlists; with Netlists.Builders; -with Netlists.Utils; +with Netlists.Cleanup; with Vhdl.Utils; use Vhdl.Utils; with Vhdl.Errors; @@ -916,7 +916,7 @@ package body Synth.Insts is -- a correctness point: there might be some unsynthesizable gates, like -- the one created for 'rising_egde (clk) and not rst'. if not Flags.Flag_Debug_Nocleanup then - Netlists.Utils.Remove_Unused_Instances + Netlists.Cleanup.Remove_Unconnected_Instances (Get_Instance_Module (Syn_Inst)); end if; end Synth_Instance; |