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.adb5
1 files changed, 5 insertions, 0 deletions
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;