accumulator with logic gates

Discussion in 'General Electronics Chat' started by limbonic, Dec 9, 2012.

  1. limbonic

    Thread Starter New Member

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

    [​IMG]



    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: Dec 9, 2012
  2. Papabravo

    Expert

    Feb 24, 2006
    10,140
    1,789
    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?
     
    limbonic likes this.
  3. limbonic

    Thread Starter New Member

    Jul 4, 2011
    17
    0
    Thanks now it is clear for me :)
     
Loading...