State Machine File input and output ports. - State 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. Replies: Re: State Machine File input and output ports. Thank you for acknowledging the solution provided. I'm pleased to know that your question has been addressed. Now, I will transition this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out. Thank you and have a great day! Best Regards, Richard Tan Replies: Re: State Machine File input and output ports. Thank you, it did work for me. Replies: Re: State Machine File input and output ports. Yes, you can do it. You may check this video on how-to. https://www.youtube.com/watch?v=08YHxtSI3Bk Regards, Richard Tan Replies: Re: State Machine File input and output ports. No offense intended. If you are proficient in HDL, then that's great, then you're half-way there. Now all that remains is for you to realize that your decision to use that tool instead of writing simple HDL is in fact proving to be an obstacle in your development process rather than streamlining it. But if we disagree on that point, that's ok, you're free to choose your own design methods. Replies: Re: State Machine File input and output ports. The reason for wanting to use State Machine File in Quartus is to automate the process of HDL code generation for multiple state machines. When implementing IPs, there can be many state machines that need to be drawn and coded in HDL. By using the State Editor to automate, the process of implementing and verifying multiple state machines can be significantly streamlined, saving a considerable amount of time. So please refrain from assuming about the proficiency of my HDL knowledge. Replies: Re: State Machine File input and output ports. Not a direct answer to your question, but a piece of general advice on the subject: Become proficient in the HDL of your choice, and code your state machines yourself in HDL. It isn't difficult if you have the foundational knowledge and basic coding skills. Aim to minimize your dependence on those kinds of graphical design tools that are vendor-proprietary / non-portable, that limit your understanding of what's really being implemented, and that are also often clunky and limited in their capabilities, as you've already discovered. - 2024-01-24

external_document