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.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index 055d9b015..69af4a015 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -29,6 +29,7 @@ with Netlists; use Netlists;
with Netlists.Builders;
with Netlists.Cleanup;
with Netlists.Memories;
+with Netlists.Expands;
with Vhdl.Utils; use Vhdl.Utils;
with Vhdl.Errors;
@@ -925,6 +926,10 @@ package body Synth.Insts is
if not Synth.Flags.Flag_Debug_Nomemory then
Netlists.Memories.Extract_Memories (Get_Build (Syn_Inst), Inst.M);
end if;
+
+ if not Synth.Flags.Flag_Debug_Noexpand then
+ Netlists.Expands.Expand_Gates (Get_Build (Syn_Inst), Inst.M);
+ end if;
end Synth_Instance;
procedure Synth_All_Instances