Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16917 Discussions

State Machine File input and output ports.

Spurthy
Novice
1,574 Views

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.

Labels (1)
0 Kudos
1 Solution
RichardTanSY_Intel
1,423 Views

Yes, you can do it. You may check this video on how-to.

https://www.youtube.com/watch?v=08YHxtSI3Bk


Regards,

Richard Tan


View solution in original post

6 Replies
roeekalinsky
Valued Contributor I
1,540 Views

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.

Spurthy
Novice
1,516 Views

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.

0 Kudos
roeekalinsky
Valued Contributor I
1,508 Views

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.

0 Kudos
RichardTanSY_Intel
1,424 Views

Yes, you can do it. You may check this video on how-to.

https://www.youtube.com/watch?v=08YHxtSI3Bk


Regards,

Richard Tan


Spurthy
Novice
1,396 Views
0 Kudos
RichardTanSY_Intel
1,393 Views

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


Reply