Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIts a simple problem, and not a problem with the code.
Your A and B inputs (numerator/denominator) are 0, so it tries to calculate 0/0 which is undefined. As soon as B changes to non-zero, the output is valid. If you initilise B to something non-zero, there is no problem.