View Single Post
  #4 (permalink)  
Old 06-25-2003, 07:03 PM
Pieter Hulshoff
Posts: n/a
Default Re: event in state machine

Mario Trams wrote:
> Troels Smit wrote:
>> When in a state, why is it not ok to listen for an event of another
>> signal ??

> Let me reverse your question: Assume you have a regular synchronous
> state machine and you instantaneously want to change the state when
> an event on some signal occured.
> How would you create some piece of hardware using D-FlipFlops and
> some logic gates that do the job?

I think this is a better question indeed. Please describe what you wish
to create, and I'll see if I can give you some code that'll do it. What
Mario is describing is pretty easy to build in VHDL, so if you can give a
proper description of what you want, I'll see what I can do for you.

Kind regards,

Pieter Hulshoff

Reply With Quote