aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/dispout01/rec01.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/dispout01/rec01.vhdl')
-rw-r--r--testsuite/synth/dispout01/rec01.vhdl14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/synth/dispout01/rec01.vhdl b/testsuite/synth/dispout01/rec01.vhdl
new file mode 100644
index 000000000..eee090ec2
--- /dev/null
+++ b/testsuite/synth/dispout01/rec01.vhdl
@@ -0,0 +1,14 @@
+library ieee;
+use ieee.std_logic_1164.all;
+use work.rec01_pkg.all;
+
+entity rec01 is
+ port (inp : std_logic;
+ o : out myrec);
+end rec01;
+
+architecture behav of rec01 is
+begin
+ o.a <= inp;
+ o.b <= not inp;
+end behav;