diff options
Diffstat (limited to 'testsuite/synth/lib01/and3.vhdl')
-rw-r--r-- | testsuite/synth/lib01/and3.vhdl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/synth/lib01/and3.vhdl b/testsuite/synth/lib01/and3.vhdl new file mode 100644 index 000000000..baf808e27 --- /dev/null +++ b/testsuite/synth/lib01/and3.vhdl @@ -0,0 +1,17 @@ +library ieee; +use ieee.std_logic_1164.all; +library mylib; + +entity and3 is + port (i0, i1, i2 : std_logic; + o : out std_logic); +end and3; + +architecture behav of and3 is + signal t1 : std_logic; +begin + a1: entity mylib.and2 + port map (i0, i1, t1); + a2: entity mylib.and2 + port map (t1, i2, o); +end behav; |