electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

little help on designing Mealy machine


Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> little help on designing Mealy machine
Author Message
david90



Joined: 05 May 2004
Posts: 384
Helped: 1


Post10 May 2005 6:11   

little help on designing Mealy machine


I'm given a state diagram and i'm suppose to only use JK FFs (no gates) and an EPROM to implement the state diagram. How do I do this?
Back to top
Google
AdSense
Google Adsense




Post10 May 2005 6:11   

Ads




Back to top
Jack// ani



Joined: 02 Dec 2004
Posts: 488
Helped: 25


Post10 May 2005 9:14   

little help on designing Mealy machine


You have to convert the state diagram into a tabular format.
Back to top
VVV



Joined: 26 Nov 2004
Posts: 1584
Helped: 290


Post11 May 2005 0:24   

Re: little help on designing Mealy machine


1. Establish the number of flip-flops, based on the number of states: #states <= 2^n, where n is the number of flip-flops.
2. Assign codes to the states in the diagram (combinations of Q outputs). Make sure you assign adjacent codes to adjacent states, or to states following tests of asynchronous signals.
3. Determine the required functions for each state, for each J and K input, based on the JK ff equation and the code of the next state.
4. The flip-flops Q outputs will be connected to addresses on the EPROM. Other addresses will go to the signals that need to be tested by you state-machine. The outputs of the EPROM are fed to the JK inputs of the flip-flops.

So now you see how it goes. In a certain state, the EPROM outputs the required J-K signals for the circuit to go to the next state when clocked. From that you know the contents of the EPROM.

VVV
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> little help on designing Mealy machine
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Mealy and moore machine (3)
mealy and moore state machine (1)
no of stages for mealy and moore machine (3)
Mealy FSM Serial Adder using StateCad <= Help Needed (3)
Little Programmer help me... (2)
I NEED LITTLE HELP ! (6)
Little help here.. :) (1)
need a little help (1)
PCB designing HELP - simple tips in designing PCB's (4)
need little help plz (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS