11-28-2017 03:08 AM - edited 11-28-2017 04:11 AM
11-28-2017 04:06 AM
You are a newbie so here are some rules you might want to follow on the forum (which should help you to get a better help):
To conclude: Do not expect the forum to do everything for you. The forum is here to assist you, not do all the work for you.
Give more information and you will get more help
11-28-2017 04:25 AM
As, you are a newbie. Please make sure that you follow the suggestions of @florentw so that you can get quick support from the forum.
Regarding this post, the issue is with the syntax of the code where you have used else if rather than elsif which was showing errors at (S1/S2/S3/S4). Here, I have attached the modified VHDL file for your reference.
Thanks & Regards,
11-28-2017 04:26 AM
Thanks for the constructive feedback.
The code was written using ISE design suite 14.6 and I copied it into word to attach to this forum.
When I perform 'behavioral check syntax' I get ERROR:HDLCompiler:806. I have attached a screenshot of the error message and I have highlighted the first line with the error.
Many thanks in advance.
11-28-2017 05:00 AM - edited 11-28-2017 05:01 AM
You are having a syntax error and it is shown by ISE.
when s1 => ;
Syntax errors are simple enough to be searched out and resolved by the code-writer.
Just use the code given above from sameera - fsm_for.vhd 2 KB
Consider giving "Kudos" if you like my answer. Please mark my post "Accept as solution" if my answer has solved your problem
Asking for solutions to problems via PM will be ignored.