entity RCA8 is Port (A,B: in bit_vector(7 downto 0); cin: in bit; S: out bit_vector(7 downto 0); cout: out bit); end RCA8; architecture MyRCA8 of RCA8 is component RCA4 is Port (A,B: in bit_vector(3 downto 0); cin: in bit; S: out bit_vector(3 downto 0); cout: out bit); end component; signal c4: bit; begin RCA4_1: RCA4 port map(A(3 downto 0),B(3 downto 0), cin, S(3 downto 0), c4); RCA4_2: RCA4 port map(A(7 downto 4),B(7 downto 4), c4, S(7 downto 4), cout); end MyRCA8;