Forum Discussion
Altera_Forum
Honored Contributor
10 years agoGuidelines to avoid Negative Slack with State Machines
Hi, I m working on a hardware which uses a hardware block (Lets call it x), which does communication with a host machine, does processing based on the request given by the host machine, and gi...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Try me! Almost every state machine I write, inside an Avalon_ST module, has asynchronous outputs. Can you show me how to do that with a synchronous (only) process? --- Quote End --- I believe by asynchronous you mean not assigned in a clocked process (but in a comb. section following a clocked process and so as part of comb cloud between registers). I have done designs for last 16 years including Avalon interfacing and never used but a single clocked process. In fact in the last two years I gave up state machine methodology altogether and just use a counter (which by itself is a state machine) and you can run as many states as your counter size allows with only drawback being using numbers instead of names. If a need a change to occur before next state then I can start the assignment at end of current state.