From b2bd8f350317e2990b1482ed0fe600e48dde2404 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 16 Nov 2019 13:38:31 +0100 Subject: testsuite/synth: add tests for static numeric std. --- testsuite/synth/oper01/tb_snum04.vhdl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testsuite/synth/oper01/tb_snum04.vhdl (limited to 'testsuite/synth/oper01/tb_snum04.vhdl') diff --git a/testsuite/synth/oper01/tb_snum04.vhdl b/testsuite/synth/oper01/tb_snum04.vhdl new file mode 100644 index 000000000..97bb89754 --- /dev/null +++ b/testsuite/synth/oper01/tb_snum04.vhdl @@ -0,0 +1,20 @@ +entity tb_snum04 is +end tb_snum04; + +library ieee; +use ieee.std_logic_1164.all; + +architecture behav of tb_snum04 is + signal r : boolean; +begin + cmp04_1: entity work.snum04 + port map (r); + + process + begin + wait for 1 ns; + assert r severity failure; + + wait; + end process; +end behav; -- cgit v1.2.3