aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth/netlists-dump.adb9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/synth/netlists-dump.adb b/src/synth/netlists-dump.adb
index 1dc64c63a..3be27f3e4 100644
--- a/src/synth/netlists-dump.adb
+++ b/src/synth/netlists-dump.adb
@@ -510,9 +510,12 @@ package body Netlists.Dump is
Drv := Get_Driver (I);
- Put_Net_Width (Drv);
-
- Disp_Driver (Drv, Indent + 1);
+ if Drv = No_Net then
+ Put ('?');
+ else
+ Put_Net_Width (Drv);
+ Disp_Driver (Drv, Indent + 1);
+ end if;
end loop;
Put (')');
end;