View Single Post
  #3 (permalink)  
Old 12-25-2003, 07:59 PM
Hal Murray
Posts: n/a
Default Re: How to get first bit '0' position in certain register?

>This function is called "find first one" and is fairly common. You could
>use a for loop or if-else construct in Verilog. Try Googling on "find
>first one" - you may find something you can use.

Another term to search on is priority encoder.

The mail server is located in California. So are all my
other mailboxes. Please do not send unsolicited bulk e-mail or unsolicited
commercial e-mail to my address or any of my other addresses.
These are my opinions, not necessarily my employer's. I hate spam.

Reply With Quote