Full Subtractor VHDL Code Using Data Flow Modeling
Full Subtractor VHDL Code Using Data Flow Modeling
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
-------------------------------------------entity full_subtractor is
Port ( a, b, c: in STD_LOGIC;
diff ,borrow: out STD_LOGIC);
end full_subtractor;
---------------------------------------------
Entity declaration.
a, b, c :- input port bits (bits to be
added)
diff, borrow: - output port bits.
RTL VIEW:-
INFOOP2R.WIX.COM/OP2R
Concurrent statements.
These are the circuit
expressions which are formed
by k-map or Boolean function.