diff options
Diffstat (limited to 'testsuite/synth/aggr01/aggr01.vhdl')
-rw-r--r-- | testsuite/synth/aggr01/aggr01.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/synth/aggr01/aggr01.vhdl b/testsuite/synth/aggr01/aggr01.vhdl new file mode 100644 index 000000000..30c64c791 --- /dev/null +++ b/testsuite/synth/aggr01/aggr01.vhdl @@ -0,0 +1,15 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity aggr01 is + port (a : std_logic_vector (7 downto 0); + b : out std_logic_vector (7 downto 0)); +end aggr01; + +architecture behav of aggr01 is + constant mask : std_logic_vector (7 downto 0) := + (0 => '1', others => '0'); +begin + b <= a and mask; +end behav; + |