aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlsynth.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlsynth.adb')
-rw-r--r--src/ghdldrv/ghdlsynth.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index dd2b40503..08d980581 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -164,7 +164,11 @@ package body Ghdlsynth is
elsif Option = "-dc" then
Flag_Debug_Nocleanup := True;
elsif Option = "-dm" then
- Flag_Debug_Nomemory := True;
+ Flag_Debug_Nomemory1 := True;
+ Flag_Debug_Nomemory2 := True;
+ elsif Option = "-dm2" then
+ -- Reduce muxes, but do not create memories.
+ Flag_Debug_Nomemory2 := True;
elsif Option = "-de" then
Flag_Debug_Noexpand := True;
elsif Option = "-t" then