diff options
author | Tristan Gingold | 2015-09-26 05:55:02 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-09-26 05:55:02 +0200 |
commit | d46e4f35422e107db1edfbcc97e3624fc3965b7f (patch) | |
tree | 8cb7e2e548689b2b02782f09155294b5a4763859 /testsuite/gna/ticket94/tb2.vhd | |
parent | abd02c225a47ad960bb7d4044d9ad0b50e2d83d6 (diff) | |
download | ghdl-d46e4f35422e107db1edfbcc97e3624fc3965b7f.tar.gz ghdl-d46e4f35422e107db1edfbcc97e3624fc3965b7f.tar.bz2 ghdl-d46e4f35422e107db1edfbcc97e3624fc3965b7f.zip |
ticket94 reproducer
Diffstat (limited to 'testsuite/gna/ticket94/tb2.vhd')
-rw-r--r-- | testsuite/gna/ticket94/tb2.vhd | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/ticket94/tb2.vhd b/testsuite/gna/ticket94/tb2.vhd new file mode 100644 index 0000000..0c52aa1 --- /dev/null +++ b/testsuite/gna/ticket94/tb2.vhd @@ -0,0 +1,29 @@ + +library ieee; +use ieee.std_logic_1164.all; +library alib; +use alib.acomp; + +entity tb2 is +end; + +architecture arch of tb2 is + + signal a, b : std_logic := '0'; + +begin + ainst: alib.apkg.acomp + port map (a, b); + + process is + begin + a <= '0'; + wait for 1 ns; + assert b = '0' report "component is missing" severity failure; + a <= '1'; + wait for 1 ns; + assert b = '1' report "component is missing" severity failure; + wait; + end process; + +end architecture; |