diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-03-19 08:56:05 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-03-19 08:56:05 +0100 |
commit | 7a6ab8c14858a09b87be025e267eff5192e99c08 (patch) | |
tree | 7b9f39526c599424445ea3f8bbd40fa656f7c4b7 /testsuite/synth/issue1161/tb_issue1.vhdl | |
parent | 1f576163e1fb20887557f1a20b444a558a3c0239 (diff) | |
download | ghdl-7a6ab8c14858a09b87be025e267eff5192e99c08.tar.gz ghdl-7a6ab8c14858a09b87be025e267eff5192e99c08.tar.bz2 ghdl-7a6ab8c14858a09b87be025e267eff5192e99c08.zip |
testsuite/synth: add a test for #1161
Diffstat (limited to 'testsuite/synth/issue1161/tb_issue1.vhdl')
-rw-r--r-- | testsuite/synth/issue1161/tb_issue1.vhdl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/synth/issue1161/tb_issue1.vhdl b/testsuite/synth/issue1161/tb_issue1.vhdl new file mode 100644 index 000000000..c8f601fcc --- /dev/null +++ b/testsuite/synth/issue1161/tb_issue1.vhdl @@ -0,0 +1,19 @@ +entity tb_issue1 is +end tb_issue1; + +library ieee; +use ieee.std_logic_1164.all; + +architecture behav of tb_issue1 is + signal a : std_logic_vector (3 downto 0); +begin + dut: entity work.issue1 + port map (a); + + process + begin + wait for 1 ns; + assert a = "0111" severity failure; + wait; + end process; +end behav; |