diff options
Diffstat (limited to 'testsuite/gna/issue917/dut.vhdl')
-rw-r--r-- | testsuite/gna/issue917/dut.vhdl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/gna/issue917/dut.vhdl b/testsuite/gna/issue917/dut.vhdl new file mode 100644 index 000000000..56d09cdca --- /dev/null +++ b/testsuite/gna/issue917/dut.vhdl @@ -0,0 +1,26 @@ +library ieee; +use ieee.std_logic_1164.all; +entity avmm_csr is + Generic (width : positive); + Port ( + reg_i : in std_ulogic_vector(width-1 downto 0) + ); +end avmm_csr; +architecture rtl of avmm_csr is +begin +end rtl; + +library ieee; +use ieee.std_logic_1164.all; +entity dut is +end entity dut; +architecture rtl of dut is + signal s : std_ulogic_vector(1 downto 0); +begin + inst : entity work.avmm_csr + generic map (width => 4) + port map ( + reg_i => "11"&s + ); +end architecture rtl; + |