aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue418/repro2.notes
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-11-01 06:24:38 +0100
committerTristan Gingold <tgingold@free.fr>2017-11-01 06:24:38 +0100
commit96f5e9b58e5c96ee1a9540c49bb573cccadee67d (patch)
tree952b71f49c8ed8156dddfd713923a7026182cfdb /testsuite/gna/issue418/repro2.notes
parentbf78529db49856d6af45d95b39c4f67ec3366407 (diff)
downloadghdl-96f5e9b58e5c96ee1a9540c49bb573cccadee67d.tar.gz
ghdl-96f5e9b58e5c96ee1a9540c49bb573cccadee67d.tar.bz2
ghdl-96f5e9b58e5c96ee1a9540c49bb573cccadee67d.zip
Add reproducer for #418
Diffstat (limited to 'testsuite/gna/issue418/repro2.notes')
-rw-r--r--testsuite/gna/issue418/repro2.notes25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/gna/issue418/repro2.notes b/testsuite/gna/issue418/repro2.notes
new file mode 100644
index 000000000..02bf0f30e
--- /dev/null
+++ b/testsuite/gna/issue418/repro2.notes
@@ -0,0 +1,25 @@
+ type address_channel is record
+ awaddr : bit_vector;
+ awvalid : bit;
+ end record;
+
+ type t_if is record
+ write_channel : address_channel;
+ end record;
+
+ subtype ST_IF_32 is t_if (write_channel (awaddr(31 downto 0)));
+
+
+TYPE work__repro2__ARCH__behav__address_channel__SIGBASE IS RECORD
+ awaddr: __ghdl_index_type;
+ awvalid: __ghdl_signal_ptr;
+END RECORD;
+
+TYPE work__repro2__ARCH__behav__t_if__SIGBASE IS RECORD
+ write_channel: __ghdl_index_type;
+END RECORD;
+
+TYPE work__repro2__ARCH__behav__st_if_32__SIG IS RECORD
+ BASE: work__repro2__ARCH__behav__t_if__SIGBASE;
+ write_channel: work__repro2__ARCH__behav__st_if_32__write_channel__SIG;
+END RECORD;