Hi, I am slowly implementing my morse keyer using a Avnet LX9 board. BTW, thanks all for your sugggestions, in the end I decided for this one (Gabor, you won!).
I stuffed a lot of things in the project (A serial LCD, several PMODs, like an encoder, a BF ampli and so on), I plan to add USB Host functionality to save settings on a USB stick (HobbyTronics has some
*nice* gadgets!):To cut a long story short, I think I will run out of pins (16 in total!).
I would like to know if I could save one pin for the reset.
I actually have a active high pushbutton called user reset, and used that to reset the board when I need it. This one is not one of the 16 user I/O I have.
I don't think it will do the reset trick on power up, so I guess everything will start inizialized to zero.
My default state on each FSM is 0, so no big deal.
I use that signal as reset, and so far everything is fine. I use positive logic for reset, and the momentary switch is active high.
Now, is it enough or should I need a dedicated reset pin that runs high at startup to be sure?
In the testbench obviously I simulate the pressing of the button, but in a real case scenario, how would it behave if I would use one hot encoded FSM for example (no default 0 state then)?
TIA.
Giuseppe Marullo