Professional Documents
Culture Documents
Exp5 118EC0805 VLSI
Exp5 118EC0805 VLSI
5 118EC0805
THEORY:
• Mealy FSM: Here, outputs are dependent on input and state of the
system.
• Moore FSM: Here, outputs depend solely on the state of the system,
irrespective of the inputs.
1
Aatreyo De Exp No. 5 118EC0805
2
Aatreyo De Exp No. 5 118EC0805
Testbench Code:
3
Aatreyo De Exp No. 5 118EC0805
Schematic Diagram:
Waveforms:
4
Aatreyo De Exp No. 5 118EC0805
5
Aatreyo De Exp No. 5 118EC0805
Testbench Code:
6
Aatreyo De Exp No. 5 118EC0805
Schematic Diagram
Waveforms:
7
Aatreyo De Exp No. 5 118EC0805
DISCUSSION :
As we can see Mealy FSM requires less number of states than Moore FSM
because, in Mealy FSM, there can be more that one path between two
states with different outputs depending on the input.
Here, the transition S3 -> S0 given Dout = 0 for Din = 0, Dout = 1 for
Din = 1.
Here, Din = 1 triggers the transition S3 -> S4, which then gives Dout =
1 on further transition to other states.
CONCLUSION:
A ‘1001’ detector was synthesized & simulated with Mealy and Moore
machine both using behavioral modelling in Vivado.
A thorough discussion on their algorithm, state and bits usage was
also presented.