aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-13 18:57:18 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-13 18:57:18 +0100
commit76dd45bb8abac08540068c69f0cc9492cf032a1b (patch)
treeb2151b55867ef9422608a36efc98ad077ae4e425 /src
parentd75f92f6426d99d677d814cdf937c6fff23e9792 (diff)
downloadghdl-76dd45bb8abac08540068c69f0cc9492cf032a1b.tar.gz
ghdl-76dd45bb8abac08540068c69f0cc9492cf032a1b.tar.bz2
ghdl-76dd45bb8abac08540068c69f0cc9492cf032a1b.zip
netlists-dump: display net width using the wXX format
Diffstat (limited to 'src')
-rw-r--r--src/synth/netlists-dump.adb6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/synth/netlists-dump.adb b/src/synth/netlists-dump.adb
index 279b98d2e..6a421805b 100644
--- a/src/synth/netlists-dump.adb
+++ b/src/synth/netlists-dump.adb
@@ -131,6 +131,8 @@ package body Netlists.Dump is
if With_Id then
Put ("{n");
Put_Trim (Net'Image (N));
+ Put ('w');
+ Put_Width (Get_Width (N));
Put ('}');
end if;
end Dump_Net_Name;
@@ -207,8 +209,6 @@ package body Netlists.Dump is
begin
if N /= No_Net then
Dump_Net_Name (N, True);
- Put (':');
- Put_Width (Get_Width (N));
end if;
end;
New_Line;
@@ -221,8 +221,6 @@ package body Netlists.Dump is
for O of Outputs (Inst) loop
Put (' ');
Dump_Net_Name (O, True);
- Put (':');
- Put_Width (Get_Width (O));
end loop;
New_Line;
end if;