Forum Discussion
Altera_Forum
Honored Contributor
12 years agoMulticycle custom instruction repeated calls, hangs, signals
Hello, I have some problems with a multicycle custom instruction. I'm using a Terasic DE1 board with Quartus II 13.01 64 bit on Ubuntu 12.04. I've started with the NIOS II system for "count...
Altera_Forum
Honored Contributor
12 years agoI think you should be setting DONE to '0' not 'U'.
Under simulation 'U' is probably different from both '0' and '1', on real silicon it will either be '0' or '1'. So quite likely the value doesn't change - and you need it to be 0. If it has a fixed value of '1' then the instruction would terminate immediately - which is one thing you are seeing.