SlideServe
Menu
Préférences
© SlideServe · v2026

State Machine Implementation Examples in ECE 561<br>

ban avatar
16 diapositives · 279 Views · Jul 26, 2014

Learn state machine design concepts through two practical examples and implementation steps for ECE 561 students.

State Machine Implementation Examples in ECE 561<br> - slide 1
01 / 16State Machine Implementation Examples in ECE 561<br>
1 / 17

Télécharger la présentation

State Machine Implementation Examples in ECE 561<br>
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. State Machine Implementation 10/2/2008 ECE 561 -ECE 561 - Lecture 5 ECE 561 - Lecture 5 1

  2. Lecture Overview • Another Example – a counting machine • Another Example – Tail light controller 10/2/2008 ECE 561 -ECE 561 - Lecture 5 ECE 561 - Lecture 5 2

  3. Counting Machine • “Design a clocked synchronous state machine with two inputs, X and Y, and one output Z. The output should be 1 inputs on X and Y since reset is a multiple of 4, and 0 otherwise. • There are 4 states 10/2/2008 ECE 561 -ECE 561 - Lecture 5 ECE 561 - Lecture 5 3

  4. Construct a state table • From word description construct a state table for the problem. 10/2/2008 ECE 561 -ECE 561 - Lecture 5 ECE 561 - Lecture 5 4

  5. Do a state assignment • Having state table pick a state assignment • From here we can generate the excitation equations ECE 561 -ECE 561 - Lecture 5

  6. Excitation Equations • D1 = Q2 X’ Y + Q1’ X Y + Q1 X’ Y’ + Q2 X Y’ • Z = Q1’ Q2’ • D2 = Q1’ X’ Y + Q1’ X Y’ + Q2 X’ Y’ + Q2 X Y ECE 561 -ECE 561 - Lecture 5

  7. Another Example • Design a clocked synchronous state machine with one input X and two outputs, UNLK and HINT. The UNLK output should be 1 if and only if X is 0 and the sequence of inputs received on X the preceding seven clock ticks was 0110111. The HINT output should be 1 if and only if the current value of X is the correct one to move the machine close to being in the “unlocked” state (with UNLK = 1). ECE 561 -ECE 561 - Lecture 5

  8. Create State Table • Create a state table from the word description ECE 561 -ECE 561 - Lecture 5

  9. Choose a state assignment • To get transition/excitation table ECE 561 -ECE 561 - Lecture 5

  10. Can use Karnaugh Map to get excitation equations • D1 = Q1 Q2’ X + Q1’ Q2 Q3 X’ . + Q1 Q2 Q3’ • D2 = Q2’ Q3 X + Q2 Q3’ X • D3 = Q1 Q2’ Q3’ + Q1 Q3 X’ + Q2’ X’ . . + Q3’ Q1’ X’ + Q2 Q3’ X • UNLK = Q1 Q2 Q3 X’ • HINT = Q1’ Q2’ Q3’ X’ + Q1 Q2’ X . + Q2’ Q3 X + Q2 Q3 X’ + Q2 Q3’ X ECE 561 -ECE 561 - Lecture 5

  11. For both examples • Having the excitation and output equation can do the implementation in discrete logic or perform a schematic capture for FPGA tools such as XILINX or Altera. ECE 561 -ECE 561 - Lecture 5

  12. Another example • This is a example of a “real” deisgn • The T-Bird Tail Light Problem ECE 561 -ECE 561 - Lecture 5

  13. The Transistion Table • Can again get the transition table ECE 561 -ECE 561 - Lecture 5

  14. The State Diagram • Can also draw a state diagram ECE 561 -ECE 561 - Lecture 5

  15. Final steps • Choose F/F type • Choose a state assignment • Develop the transition/excitation table for that state assignment • Generate the equations ECE 561 -ECE 561 - Lecture 5

  16. Assignment 3 • Carry through the remaining steps to get implementation and output equations and the circuit diagram for an implementation for the following state table. ECE 561 -ECE 561 - Lecture 5