Priority encoder based on bit-twiddling: A&(-A) isolates least significant set bit of A. Allows you to make fast round-robin arbiters in FPGAs by taking advantage of the dedicated carry chain.
Also the compress and extract algorithms from Hacker's Delight.
Comments (491) 209 threads
Show all comments
Showing thread 146 of 209
Also the compress and extract algorithms from Hacker's Delight.