aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-insts.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-insts.adb')
-rw-r--r--src/synth/synth-insts.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index 9e15e04cc..4c9f72fd0 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -1412,6 +1412,8 @@ package body Synth.Insts is
if not Synth.Flags.Flag_Debug_Nomemory then
Netlists.Memories.Extract_Memories2 (Get_Build (Syn_Inst), Inst.M);
+ -- Remove remaining clock edge gates.
+ Netlists.Cleanup.Mark_And_Sweep (Inst.M);
end if;
if not Synth.Flags.Flag_Debug_Noexpand then