aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1250/tb_theunit.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1250/tb_theunit.vhdl')
-rw-r--r--testsuite/synth/issue1250/tb_theunit.vhdl20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/synth/issue1250/tb_theunit.vhdl b/testsuite/synth/issue1250/tb_theunit.vhdl
new file mode 100644
index 000000000..d3defd621
--- /dev/null
+++ b/testsuite/synth/issue1250/tb_theunit.vhdl
@@ -0,0 +1,20 @@
+entity tb_theunit is
+end tb_theunit;
+
+library ieee;
+use ieee.std_logic_1164.all;
+
+architecture behav of tb_theunit is
+ signal d : std_logic;
+begin
+ dut: entity work.theunit
+ port map (d);
+
+ process
+ begin
+ wait for 1 ns;
+ assert d = '1' severity failure;
+
+ wait;
+ end process;
+end behav;