Implement state machine using Microblaze

Status
Not open for further replies.

Petal

Newbie level 3
Joined
Dec 7, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
Hi,I would like to know if there is a way to implement a state machine in microblaze processor to control two other peripherals. Is there any tutorial that will help me out with this issue.
 

I think you can not write state machine synchronous to clk in a processor. Seems something odd.
Actually simple if-else program will work for you. it is as good as state machine. because, instruction execution took place according to core clock.
 
Reactions: Petal

    Petal

    Points: 2
    Helpful Answer Positive Rating
Thank you...i also wanted to know if there is any tutorial which could help with regard to the implementation of such systems in XPS.
 

State machines are totally possible in microcontrollers. Just beware they react a little differently than hardware state machines.
 

Brownout
what do you mean by "Just beware they react a little differently than hardware state machines."
How exactly?
 

Brownout
what do you mean by "Just beware they react a little differently than hardware state machines."
How exactly?

Well, for one thing, a hardware state macine will react instantly to the controlling stimuli, while a software state machine might exhibit a little latency, as it goes through it's program loop. That generally isn't a problem, and can be ingnore for most applications.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…