How to attach a reset connection on a 4 bit adder? Like reset input on R-S Flip Flop
What would be the function of a RESET connection?How to attach a reset connection on a 4 bit adder? Like reset input on R-S Flip Flop
My question is Can I attach a reset or clear wire to clear all inputed data of 4 bit adderWhat would be the function of a RESET connection?
If the purpose is to reset the output to zero, then connect RESET to the RESET pins of your flip-flops (assuming that you are using flip-flops to store the result of the adder).
If your adder is purely combinational logic then there is no RESET input.
If the input bits are held in a register or flip-flops then reset the register.My question is Can I attach a reset or clear wire to clear all inputed data of 4 bit adder
Exactly, but plz explain how to attach enable connectionIf the input bits are held in a register or flip-flops then reset the register.
If this is purely combinational circuit, then instead of RESET, use an input ENABLE and gate all inputs (using AND gate) with ENABLE.
But this is not like 'reset'. I just can enable or disable circuit but if I enable adder from disable state, its output would be same as previous. I was talking about to add a reset gate to reset or clear all inputs to off state.Take one 2-input AND-gate.
Connect ENABLE to one input.
Connect one bit of the adder input to the second AND-gate input.
Connect the output of the AND-gate to the added circuit.
Do this for all adder inputs.
(Sorry, I don't have the time to draw a schematic.)
This is also not a reset connection. It is just for enable or disable circuitYou have shown the AND gates on the output side of the adder.
Put the AND gates (eight in total) on the input side of the adder, i.e. X and Y inputs.
As I said before, you need to latch the inputs using data flip-flops or registers. Besides a RESET signal, you will also need a CLOCK signal.This is also not a reset connection. It is just for enable or disable circuit
A pure binary adder alone, does not store any value in it but just outputs the sum of x+y, and therefore can't be "reset". Like MrChips said, If you use a register on its outputs/inputs, you will be able to reset that register from its RESET line and that will "reset" the adder.This is also not a reset connection. It is just for enable or disable circuit