C
cafm
Guest
Hi,
I am trying to draw a state machine for a the Data Processing Logic Of
A Controller Area Network code i am writing.
This is my first actual 'project' in VHDL, and is it wise to use the
FSM approch?
also i am trying to understand how to convert the CAN specs to a FSM
say i am receiving the Identifier,a 11 bit sequence, then i can be in
the 'identifier' state with the incoming bits as one of the
inputs,being stored in a shift register. Can you guys please tell me
how i describe the transition of state after 11 incoming bits?
my idea is to load a counter with 11d and decrement it till i get 00h
and use this as an input but the problem here is that i would be using
a circuitry specific to this state and this input specific to this
state and wont have relevance in other states. can we have this kind of
vestigial inputs for other states. i am sure that will work but i dont
think thats how it should be done....can anyone guide me?
is there any good literature i can refer to,to understand how to
convert real life problem to a FSM?
thank you
K Sabarinath
--
>>>When you really want something the whole world conspires in making you get it <<<
I am trying to draw a state machine for a the Data Processing Logic Of
A Controller Area Network code i am writing.
This is my first actual 'project' in VHDL, and is it wise to use the
FSM approch?
also i am trying to understand how to convert the CAN specs to a FSM
say i am receiving the Identifier,a 11 bit sequence, then i can be in
the 'identifier' state with the incoming bits as one of the
inputs,being stored in a shift register. Can you guys please tell me
how i describe the transition of state after 11 incoming bits?
my idea is to load a counter with 11d and decrement it till i get 00h
and use this as an input but the problem here is that i would be using
a circuitry specific to this state and this input specific to this
state and wont have relevance in other states. can we have this kind of
vestigial inputs for other states. i am sure that will work but i dont
think thats how it should be done....can anyone guide me?
is there any good literature i can refer to,to understand how to
convert real life problem to a FSM?
thank you
K Sabarinath
--
>>>When you really want something the whole world conspires in making you get it <<<