11-13-2012 04:00 PM
hi
during making a simultion for this program that is based on state machine
i note for some input like 0.9 and the center loop 200 that the result of addtion operation is some time negative and thier is no negative number in program!!!!!!
why this happen
program+machine chart below
best regards::
Solved! Go to Solution.
11-13-2012 04:06 PM
You've got a I8 feeding your furtherst right feedback node. So, that feedback node is forced to an I8, even though you are using I32's veerywhere else. So, when you are corecring your I32 to an I8, you're getting rollover and the value becomes negative. Change the init value for that feedback node ot an I32.