| Author |
Message |
johnchau123
Joined: 15 Apr 2006 Posts: 41 Helped: 3 Location: Hong Kong
|
29 Apr 2006 11:59 State machine |
|
|
|
|
Dear all,
I would like to ask how can I draw a state machine from the logic relation I have??
For exmaple, if I would like to draw a state machine for the following two relationships, what should the states be? and how to connect between different states?? Thanks.
Relationships:
C <= A AND B
E <= C OR A
|
|
| Back to top |
|
 |
sp
Joined: 01 Jan 2004 Posts: 420 Helped: 27 Location: Floating Garden
|
29 Apr 2006 12:15 State machine |
|
|
|
|
the logic equation u provide is a combinational logic... so it dont need statemachine which is required for sequential logic...
why u need the 2 equations to b state machine?
regards,
sp
|
|
| Back to top |
|
 |
johnchau123
Joined: 15 Apr 2006 Posts: 41 Helped: 3 Location: Hong Kong
|
29 Apr 2006 12:53 Re: State machine |
|
|
|
|
hi, sp
Since I have just written a program for my project, and I use combinational logic. However, in the report of this project, it requires me to give them a state machine. So, I am wondering how to draw state machines for my combinational logic codes. But if state machine cannot be drawn for combinationla logic, that doesn't matter. I will not change my codes~~
Regards,
johnchau123
|
|
| Back to top |
|
 |
Google AdSense

|
29 Apr 2006 12:53 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
gliss
Joined: 22 Apr 2005 Posts: 670 Helped: 61 Location: Boston
|
29 Apr 2006 21:54 State machine |
|
|
|
|
| You can draw a state machine from your equations, but it will only have one state.
|
|
| Back to top |
|
 |
sp
Joined: 01 Jan 2004 Posts: 420 Helped: 27 Location: Floating Garden
|
03 May 2006 2:02 State machine |
|
|
|
|
i think u make a mistake... no one will ask u to do FSM for a combinational logic...
read ur question again...
sp
|
|
| Back to top |
|
 |
saberbf
Joined: 28 Apr 2004 Posts: 32 Helped: 2
|
03 May 2006 17:10 Re: State machine |
|
|
|
|
| FSM is not used for combinational logic. but if you want two learn how to creat an FSM you can reffer to Matlab software and its help.
|
|
| Back to top |
|
 |