This commit is contained in:
Tommischiri
2026-10-24 17:18:17 +02:00
parent 86e83215ea
commit 5d92d66a7b
148 changed files with 48187 additions and 1 deletions
@@ -0,0 +1,19 @@
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;