number 1 counter

Discussion in 'The Projects Forum' started by abuarab88, Feb 20, 2009.

  1. abuarab88

    Thread Starter Member

    Nov 6, 2008
    i need to do alogic circuit that do the following
    when i input anumber it count hoe many ones are there
    for example:

    0101 conts 010 means 2
    and i want you to provide me with gates need and number of the component and if possible adraw of the circuit needed
  2. RiJoRI

    Well-Known Member

    Aug 15, 2007
    What you are looking for is called a "parity checker." Google it, and see

    I would guess that English is not your native language. In English, "I want" comes across as a demand, and will greatly reduce the number of responses you get. "I would like" is a better form.