how to implement CLZ (count leading zeros) behavioural, using only gates

Discussion in 'VHDL' started by lucahtc, Jul 8, 2010.

  1. lucahtc

    lucahtc

    Joined:
    May 18, 2010
    Messages:
    6
    i would like to implement a count leading zeros (or count leading ones) only using gates to count how many zeros there are at the beginning of a 32 bit register

    example
    000001010011..... count = 5
    lucahtc, Jul 8, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dmitry Bond.

    Hexadecimal formatting with leading zeros?!

    Dmitry Bond., Oct 13, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    7,988
    Oliver Sturm
    Oct 13, 2005
  2. Luke Zhang [MSFT]

    Re: CSV for Excel - Problem with Leading Zeros

    Luke Zhang [MSFT], Jun 26, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    2,241
    Luke Zhang [MSFT]
    Jun 26, 2003
  3. GIMME
    Replies:
    5
    Views:
    43,699
    Dale King
    Feb 13, 2004
  4. r.magdeburg

    leading zeros - wrong int

    r.magdeburg, Dec 1, 2003, in forum: C++
    Replies:
    2
    Views:
    1,725
    red floyd
    Dec 1, 2003
  5. lucahtc

    count leading zeros

    lucahtc, Jul 13, 2010, in forum: VHDL
    Replies:
    0
    Views:
    915
    lucahtc
    Jul 13, 2010
Loading...

Share This Page