/ Published in: VHDL
Fulladder 1bit --Cin, Cout: Carry in, out
Expand |
Embed | Plain Text
entity full_adder is port(A, B, Cin : in bit; salida, Cout : out bit); end; architecture beh of full_adder is begin process (A, B, Cin) begin salida <= A xor B xor Cin ; Cout <= (A and B) or (A and Cin) or (B and Cin); end process; end;
You need to login to post a comment.
