I have been struggling with the following question for a long time.
I am very new to this topic so I'm not sure if any of the following is correct.
Here is a simple chart of how I believe the circuit works:
State diagram for SUM:
State diagram for B:
I don't know how to continue next. Could anyone please help? Thank you!
-----------------------------------------------Use two 74LS163, one 74LS74A (D flip-flop), XNOR gate(s) and AND gate(s) to build a circit that can "add" two given 4-bit binary numbers A and B.
Here is how the circuit computes SUM = A+B (for SUM <= 1111):
1. Load A into a counter.
2. Count up by number of clocks given by B to obtain SUM.
Hint: one 74LS163 will give you the SUM. The other 74LS163 will tell the first one when to stop counting.
You must place A and B into the inputs of the circuit, and initialise the circuit by setting/resetting/loading necessary register(s) using a signal INITIALISE = 0.
I am very new to this topic so I'm not sure if any of the following is correct.
Here is a simple chart of how I believe the circuit works:
State diagram for SUM:
State diagram for B:
I don't know how to continue next. Could anyone please help? Thank you!