From 6be88e751d21f5009735473ef1501b5337212d09 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 30 Nov 2019 13:25:01 +0100 Subject: netlists-dump: add option --disp-noid --- src/ghdldrv/ghdlsynth.adb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ghdldrv') diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index 1523ab51c..856fb2cc8 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -55,6 +55,7 @@ package body Ghdlsynth is -- Command --synth type Command_Synth is new Command_Lib with record Disp_Inline : Boolean := True; + Disp_Id : Boolean := True; Oformat : Out_Format := Format_Vhdl; end record; function Decode_Command (Cmd : Command_Synth; Name : String) @@ -90,6 +91,9 @@ package body Ghdlsynth is if Option = "--disp-noinline" then Cmd.Disp_Inline := False; Res := Option_Ok; + elsif Option = "--disp-noid" then + Cmd.Disp_Id := False; + Res := Option_Ok; elsif Option = "--out=raw" then Cmd.Oformat := Format_Raw; Res := Option_Ok; @@ -309,6 +313,7 @@ package body Ghdlsynth is null; when Format_Raw => Netlists.Dump.Flag_Disp_Inline := Cmd.Disp_Inline; + Netlists.Dump.Flag_Disp_Id := Cmd.Disp_Id; Netlists.Dump.Disp_Module (Res); when Format_Dump => Netlists.Dump.Flag_Disp_Inline := Cmd.Disp_Inline; -- cgit v1.2.3