Question: Write an HDL module for the FSM from Exercise 3.29.? Data from problem 3.29 Your company, Detect-o-rama, would like to design an FSM that takes
Write an HDL module for the FSM from Exercise 3.29.?
Data from problem 3.29
Your company, Detect-o-rama, would like to design an FSM that takes two inputs, A and B, and generates one output, Z. The output in cycle n, Zn, is either the Boolean AND or OR of the corresponding input An and the previous input An-1, depending on the other input, Bn: Zn= An An?1 if Bn= 0 Zn= An + An?1 if Bn= 1(a) Sketch the waveform for Z given the inputs shown in Figure 3.71.?
(b) Is this FSM a Moore or a Mealy machine??
(c) Design the FSM. Show your state transition diagram, encoded state transition table, next state and output equations, and schematic.?

CLK A B Figure 3.71 FSM input waveforms
Step by Step Solution
3.23 Rating (161 Votes )
There are 3 Steps involved in it
Option 1 SystemVerilog ... View full answer
Get step-by-step solutions from verified subject matter experts
