Forum Discussion
Altera_Forum
Honored Contributor
13 years agojudgement on whether or not there is an overflow
I have 3 numbers x, y, z to be added together, each with the format of s1.14. Then the sum will be in the format of s3.14. How to make judgement on whether or not there is an overflow? If it is judg...
Altera_Forum
Honored Contributor
13 years agothe rule is :
For an N bit number N + N = N+1 bits required. So N + N + N requires N+2 bits. Which is what you have, hence it will never overflow.