Forum Discussion
Altera_Forum
Honored Contributor
15 years agomulticycle instruction FSM with nios and the done variable
I have been trying for weeks to figure out how the done variable works and it seems like it has no effect whatsoever on the program. Can anyone explain how it works. Here's an example i've bee...
Altera_Forum
Honored Contributor
15 years agoRunning it in hardware isn't going to tell you what the problem is. The done bit tells the processor when to complete the instruction and latch the result.
Judging by the statemachine it looks like done bit is stuck high. Again a simulation would catch this easily.