diff options
Diffstat (limited to 'testsuite/synth/const01/tb_const01.vhdl')
-rw-r--r-- | testsuite/synth/const01/tb_const01.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/synth/const01/tb_const01.vhdl b/testsuite/synth/const01/tb_const01.vhdl new file mode 100644 index 000000000..b5fad5833 --- /dev/null +++ b/testsuite/synth/const01/tb_const01.vhdl @@ -0,0 +1,20 @@ +entity tb_const01 is +end tb_const01; + +library ieee; +use ieee.std_logic_1164.all; + +architecture behav of tb_const01 is + signal res : std_logic_vector(31 downto 0); +begin + dut: entity work.const01 + port map (res); + + process + begin + wait for 1 ns; + assert res = x"01020304" severity failure; + + wait; + end process; +end behav; |