R
Robert Willy
Guest
Hi,
First of all, thanks to Gabor and Nagendra for your replies.
Here I have a new question about to normalize a fixed point fraction number.
For example, in a division I'd like to normalize 0010_0000B to 1000_0000B
first. That is it will left shift 2 bits. I don't know how to write it
in Verilog to get the normalized number (1000_0000b) and 2 bits right
shift. After reciprocal, I can let the quotient left shift 2 bits.
What is your idea on the question?
Thanks,
First of all, thanks to Gabor and Nagendra for your replies.
Here I have a new question about to normalize a fixed point fraction number.
For example, in a division I'd like to normalize 0010_0000B to 1000_0000B
first. That is it will left shift 2 bits. I don't know how to write it
in Verilog to get the normalized number (1000_0000b) and 2 bits right
shift. After reciprocal, I can let the quotient left shift 2 bits.
What is your idea on the question?
Thanks,