Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I'm pretty sure "DONE" needs to be asserted for a single clock only. The NIOS is probably hanging prior to issuing the next instruction because it's waiting for "DONE" to be de-asserted? I don't think you have to do anything special with "RESULT" when you clear the "DONE" bit (it can keep it's old contents). --- Quote End --- Thank you for your answer. Where state = 2 I assign result and DONE <= '1'. Where state = 3 you can see DONE <= 'U', but the original code was DONE <= '0': the deassertion was realized there. In this way, DONE is asserted for one clock cycle. But the result was exactly the same. The c.i. call hang.