aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-dump.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-22 07:38:25 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-23 18:41:49 +0200
commit00aa0cb6dc8859059b84025eb5c92da93429604a (patch)
tree3ab240a8b06019020fce9a5532d66e75b4fe077d /src/synth/netlists-dump.adb
parent77ac1a37db7ebe298f37c988ad1ebb3624dff219 (diff)
downloadghdl-00aa0cb6dc8859059b84025eb5c92da93429604a.tar.gz
ghdl-00aa0cb6dc8859059b84025eb5c92da93429604a.tar.bz2
ghdl-00aa0cb6dc8859059b84025eb5c92da93429604a.zip
netlists-dump: dump input net width.
Diffstat (limited to 'src/synth/netlists-dump.adb')
-rw-r--r--src/synth/netlists-dump.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists-dump.adb b/src/synth/netlists-dump.adb
index f7d2f5767..7a68839a6 100644
--- a/src/synth/netlists-dump.adb
+++ b/src/synth/netlists-dump.adb
@@ -504,6 +504,8 @@ package body Netlists.Dump is
Put ("{n");
Put_Trim (Net'Image (Drv));
+ Put ('w');
+ Put_Trim (Width'Image (Get_Width (Drv)));
Put ('}');
Disp_Driver (Drv);