aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlsynth.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-05-31 07:37:34 +0200
committerTristan Gingold <tgingold@free.fr>2020-05-31 07:37:34 +0200
commit3d8cc349b675ddfcd41008ba8f7b17a49da9e184 (patch)
tree6c836a67b2083ff3a473b23057250c4821a3ade5 /src/ghdldrv/ghdlsynth.adb
parentfc1c5b5efd24da74de6bae210b74637599e6f94f (diff)
downloadghdl-3d8cc349b675ddfcd41008ba8f7b17a49da9e184.tar.gz
ghdl-3d8cc349b675ddfcd41008ba8f7b17a49da9e184.tar.bz2
ghdl-3d8cc349b675ddfcd41008ba8f7b17a49da9e184.zip
synth: refine -dm debug option. Add -dm2
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