diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-08-05 18:33:55 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-08-05 18:33:55 +0200 |
commit | 90184a346889e3d9392fba6f71829b0a8893d70c (patch) | |
tree | b943b6efe200230cd421606476c65c22e9bc9d57 /testsuite/gna/issue1131/repro1.vhdl | |
parent | 7a4c217d9a21bf241c8760750bd10408c7855f35 (diff) | |
download | ghdl-90184a346889e3d9392fba6f71829b0a8893d70c.tar.gz ghdl-90184a346889e3d9392fba6f71829b0a8893d70c.tar.bz2 ghdl-90184a346889e3d9392fba6f71829b0a8893d70c.zip |
testsuite/gna: add a test for #1131
Diffstat (limited to 'testsuite/gna/issue1131/repro1.vhdl')
-rw-r--r-- | testsuite/gna/issue1131/repro1.vhdl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/gna/issue1131/repro1.vhdl b/testsuite/gna/issue1131/repro1.vhdl new file mode 100644 index 000000000..934f800d7 --- /dev/null +++ b/testsuite/gna/issue1131/repro1.vhdl @@ -0,0 +1,18 @@ +entity repro1 is + generic ( + BUS_WIDTH : integer := 8); +end entity; + +architecture Behav of repro1 is + type BusT is record + A : bit_vector; + F : bit_vector; + end record; + + signal BusInst : BusT( + A(BUS_WIDTH-1 downto 0), + F(3 downto 0) + ); +begin + +end architecture; |