Creating Finite State Machine Based Custom IP for Nios II
Hello,
I've created a simple if-then type decoder as custom IP for Nios before, however, all it needed to do was look at an input number, go to the right if-then statement to select the correct output, and output that output. Now, I am looking at creating a more complex custom IP module that requires a finite state machine to cycle through a set number of times before the correct output is calculated. What I'm having trouble on a personal level understanding is how to take maybe a done signal (which in the Verilog form is being used) or whatever is needed to make sure that all the states have cycled through to the intended state where the correct output can be sampled and change that into a standardized Altera Avalon IP interface specifically for use with the Nios II processor. Thanks and much appreciated!