diff options
Diffstat (limited to 'testsuite/gna/issue473/repro2.vhdl')
| -rw-r--r-- | testsuite/gna/issue473/repro2.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/issue473/repro2.vhdl b/testsuite/gna/issue473/repro2.vhdl new file mode 100644 index 000000000..6ab9c4bbd --- /dev/null +++ b/testsuite/gna/issue473/repro2.vhdl @@ -0,0 +1,20 @@ +entity repro is +end entity repro; + +architecture TB of repro is + +begin + + DM: process + type t_ram is array(natural range <>) of bit_vector; + type p_ram is access t_ram; + variable myram : p_ram; + begin + myram := new t_ram(0 to 31)(15 downto 0); + for i in myram'range loop + myram(i) := (others => '0'); + end loop; + wait; + end process DM; + +end architecture TB; |
