Generaly when designing mealy or moore ckts when to pick which?

  • Thread starter Thread starter trickae
  • Start date Start date
  • Tags Tags
    Designing
Click For Summary
SUMMARY

This discussion focuses on the decision-making process for choosing between Mealy and Moore state machine implementations in digital circuit design. The Mealy model outputs depend on both the present state and current inputs, while the Moore model outputs depend solely on the present state. The consensus is that the Moore structure is generally preferred due to its stability, with the Mealy structure being advantageous when input changes need to be reflected more quickly, specifically one clock cycle earlier. The discussion also includes practical examples of excitation tables for D, T, and J/K flip-flops.

PREREQUISITES
  • Understanding of state diagrams and excitation tables
  • Familiarity with D, T, and J/K flip-flops
  • Knowledge of digital circuit design principles
  • Basic concepts of Mealy and Moore state machines
NEXT STEPS
  • Study the differences between Mealy and Moore state machines in depth
  • Learn how to construct and analyze excitation tables for various flip-flops
  • Explore practical applications of Mealy and Moore machines in digital systems
  • Investigate timing analysis techniques for synchronous circuits
USEFUL FOR

Digital circuit designers, electrical engineering students, and professionals involved in designing state machines and sequential logic circuits will benefit from this discussion.

trickae
Messages
82
Reaction score
0

Homework Statement



Not really a HW question but say we follow the steps in converting a state diagram down to its excitation table - how do we determine whether the best ckt implementation would be best implemented with either a mealy or a moore system

Homework Equations



mealy :
state equation : Q = f(present state, current inputs)
output equation: Z = h(present state, current inputs)

Moore :
state eqaution : Q = f(present state, current inputs)
output equation: Z = h(present state)

The Attempt at a Solution



1) granted we 're given a function for a truth table
f(A,B,C,D...,etc) = logic function

2) we convert it into a state / excitation table depending on the kind of flip flops we want to use

Code:
D flip flop: 

q  Q | D
0..0    0  
0  1    1
1  0    0
1  1    1

not Q = C' . d + Q.D
or Q = D

T flip flops

q  Q | T
0  0    0
0  1    1
1  0    1
1  1    0

Q = Tq' + T'q

J/K flip flops

q Q | J  K 
0 0    0 x
0 1    1 x
1 0    x 1
1 1    x 0

let x = don't care values

Q = Jq' + K'q
 
Last edited:
Physics news on Phys.org
I generally use the Moore structure, and I think it is the more commonly used. I think you would only use the Mealy structure if you needed to propagate input changes through the structure a clock earlier than you get with the Moore.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
20
Views
4K
Replies
5
Views
4K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K