From 3d8cc349b675ddfcd41008ba8f7b17a49da9e184 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 31 May 2020 07:37:34 +0200 Subject: synth: refine -dm debug option. Add -dm2 --- src/ghdldrv/ghdlsynth.adb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ghdldrv/ghdlsynth.adb') 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 -- cgit v1.2.3