accumulator with logic gates

Thread Starter

limbonic

Joined Jul 4, 2011
17
If someone wants to built an accumulator with logic gates such us the below:





I know how to make the full adder and the dff for the register but my problem is that in the first time input B will have an unknown value (right??). So how in the first time if we put for example A=0010 then we'll have sum_out= 0010 without a value in the B??
 
Last edited:

Papabravo

Joined Feb 24, 2006
21,158
The register will have a RESET input which is active until just before the first operation. The RESET input forces the register to have the value zero. 10-4?
 
Top