Half Adder VHDL Code Using Dataflow Modeling
Half Adder VHDL Code Using Dataflow Modeling
COM/OP2R
entity half_adder is Port ( a, b: in STD_LOGIC; sum ,carry: out STD_LOGIC); end half_adder; --------------------------------------------architecture Behavioral of HA_STR is begin ---------------------------------------------sum<= a xor b; carry<= a and b; ---------------------------------------------and Behavioral;
Entity declaration. a, b: - input port bits (bits to be added) Sum, carry: - output port bits
Concurrent statement of half adder circuit. These are the circuit expressions which are formed by k-map or Boolean function.
RTL VIEW:-
INFOOP2R.WIX.COM/OP2R