Forum Discussion
syn_encoding attribute vs STATE_MACHINE_PROCESSING
Hi all,
In specifying the encoding method for a state machine, which has priority, the syn_encoding attribute or Quartus' STATE_MACHINE_PROCESSING?
From my research, it seems that Quartus' option takes priority.
If So, in order to enable syn_encoding, do I need to change STATE_MACHINE_PROCESSING to User-Encoded?
Thanks,
3 Replies
- RichardT_altera
Super Contributor
Yes, you are right. Assignments or settings made with the Intel® Quartus® Prime software, the .qsf, or the Tcl interface take precedence over assignments or settings made with synthesis attributes in your HDL code.
You can use the User-Encoded setting of the State Machine Processing option, to assign your own state encoding.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.
- RichardT_altera
Super Contributor
I am happy to help.
As your question has been addressed, I now transition this thread to community support.
Thank you.
Best Regards,
Richard Tan
- Amiga
New Contributor
Hi Richard,
Thank you for your response.
I have cleared up my doubts.
Regards,
Amiga