Forum Discussion
Spurthy
New Contributor
2 years agoState Machine File input and output ports.
I am using Quartus Prime for generating HDL code from state diagram drawn using state machine file editor, was wondering if the inputs and outputs can be more than 1 bit, as there is no option for setting the bit size while drawing the state diagram.
Thanks in advance.
2 Replies
- ShengN_altera
Super Contributor
Hi,
You may check this video link https://www.youtube.com/watch?v=08YHxtSI3Bk&t=127s at 2.04. In State Machine Wizard, you may change the input bit size by writing for example like this <name>[4:0]
Thanks,
Best Regards,
Sheng
- ShengN_altera
Super Contributor
Hi,
Let me know if you have any further update or concern?
Thanks,
Best Regards,
Sheng