aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/insert01/insert01.vhdl
blob: 4179006d8b99b66c288beb21f5f935090ea2edf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
library ieee;
use ieee.std_logic_1164.all;

entity insert01 is
  port (a : std_logic_vector (3 downto 0);
        b : std_logic;
        o0, o1, o2, o3 : out std_logic_vector (3 downto 0));
end insert01;

architecture behav of insert01 is
begin
  process(a, b)
  begin
    o0 <= a;
    o0 (0) <= b;

    o1 <= a;
    o1 (1) <= b;
    
    o2 <= a;
    o2 (2) <= b;
    
    o3 <= a;
    o3 (3) <= b;
  end process;
end behav;