diff options
Diffstat (limited to 'testsuite/synth/dispin01/rec05.vhdl')
-rw-r--r-- | testsuite/synth/dispin01/rec05.vhdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/synth/dispin01/rec05.vhdl b/testsuite/synth/dispin01/rec05.vhdl new file mode 100644 index 000000000..c9029fbb2 --- /dev/null +++ b/testsuite/synth/dispin01/rec05.vhdl @@ -0,0 +1,13 @@ +library ieee; +use ieee.std_logic_1164.all; +use work.rec05_pkg.all; + +entity rec05 is + port (inp : myrec; + o : out std_logic); +end rec05; + +architecture behav of rec05 is +begin + o <= '1' when inp.a (1) = inp.b else '0'; +end behav; |