17 use ieee.std_logic_1164.
all;
65 -- components declaration 82 serial_adder_state_transition:
process(
reset,
clk)
is 86 elsif (rising_edge(clk)) then 92 serial_adder_next_state_logic:
process (
carry_out)
is 104 end serial_add_behav;
in a_sstd_logic
Serial input 1.
out sstd_logic
Output sum.
(cout_0,cout_1) state_type
Definition of states of serial_adder state machine. See detailed description for more details...
in resetstd_logic
Sequential circuit reset signal.
Entitiy declaration for fulladder.
in clkstd_logic
clk signal
in bstd_logic
Input bit 2.
in b_sstd_logic
Serial input 2.
in cinstd_logic
Input carry.
out sum_sstd_logic
Serial output sum.
in astd_logic
Input bit 1.
Entitiy declaration for serial_adder.
out coutstd_logic
Output carry.