How to avoid fixed point overflow
Submitted by keerthi.bhandar... on Thu, 02/14/2013 - 17:32
Hello All,
when ever i use to simulate blocks i often get fixed point overflow why i am getting that & how to avoid that ? help me to solve this , as i have attached simulation file of this.
Answers
-
Submitted by Anders89 on Fri, 02/15/2013 - 09:36.
Sadly, I can't read your attached jpg. Nor did I find a vsm file attached. A big challenge with fixed-point is avoiding overflow. Each fixed-point block has a scaling that is determined by 2 numbers, a word size and radix point. The radix point give the number of bits to the left of the binary radix point. If you get overflow, you will need to increase the number of bits to the left of the radix point. See a full discussion here: http://en.wikipedia.org/wiki/Fixed-point_arithmetic
0