How to detect bit 1 in a series of bit from left to right? (in normalization matissa)

Status
Not open for further replies.

Nhan95

Newbie level 4
Joined
Nov 13, 2016
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
51
I design a floating point multiplication. After multiplying the mantissa of multiplicand and multiplier is the normalize step. I need to detect the first bit 1 from left to right of a 48-bit series.
For example:
01 01010110000000000000000 0000000000000000000000
from left to right, i detect bit 1 and get 23 bit behind to achive the mantissa of result is:
01010110000000000000000
How do I do that by combination logic circuit ? thanks so much
 

Write a behavioral description and make the synthesis tool do the work for you.

The combinational shift will end up in a huge mux array anyway.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…