aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_values-debug.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-22 09:41:11 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-22 09:41:11 +0200
commitd010636f5bb5cf00f6f26fd6e83a21b8a1dd5c2a (patch)
tree2d4f49db512c37a2ca289b9936d08c16c9897367 /src/synth/elab-vhdl_values-debug.adb
parent946320e0984df406f0e3c50cd3db0fb49df5ec9b (diff)
downloadghdl-d010636f5bb5cf00f6f26fd6e83a21b8a1dd5c2a.tar.gz
ghdl-d010636f5bb5cf00f6f26fd6e83a21b8a1dd5c2a.tar.bz2
ghdl-d010636f5bb5cf00f6f26fd6e83a21b8a1dd5c2a.zip
synth: also use one-dimensional unbounded arrays for objtypes
Diffstat (limited to 'src/synth/elab-vhdl_values-debug.adb')
-rw-r--r--src/synth/elab-vhdl_values-debug.adb15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_values-debug.adb b/src/synth/elab-vhdl_values-debug.adb
index c149c2eb0..2faf45b7b 100644
--- a/src/synth/elab-vhdl_values-debug.adb
+++ b/src/synth/elab-vhdl_values-debug.adb
@@ -131,7 +131,20 @@ package body Elab.Vhdl_Values.Debug is
when Type_Unbounded_Vector =>
Put ("unbounded vector");
when Type_Unbounded_Array =>
- Put ("unbounded array");
+ Put ("unbounded arr (");
+ declare
+ It : Type_Acc;
+ begin
+ It := T;
+ loop
+ Put ("<>");
+ exit when It.Ulast;
+ Put (", ");
+ It := It.Uarr_El;
+ end loop;
+ Put (") of ");
+ Debug_Typ1 (It.Uarr_El);
+ end;
when Type_Protected =>
Put ("protected");
end case;