[Solved] CMPE240 Experiment4-Analysis of a Sequential Circuit

$25

File Name: CMPE240_Experiment4-Analysis_of_a_Sequential_Circuit.zip
File Size: 489.84 KB

SKU: [Solved] CMPE240 Experiment4-Analysis of a Sequential Circuit Category: Tag:
5/5 - (1 vote)

In this experiment, your knowledge to analyze a sequential circuit which is explained in section 3.4 of the course book will be tested.

0.1.2 Problems:

Let there be an input X, a 2-bit output Y1Y0 and a sequential circuit connecting these two as shown below.

  • Initially, all state register values are zero (S2 =0,S1 =0,S0 =0).
  • The reset should be synchronous to the falling edge of the clock.

Note: Components given above are inverter, and, or, nor, xor, xnor and state register, respectively.

0.1.3 Preliminary Work

Before the experiment, you should prepare the following materials:

  1. State the inputs and outputs of the state registers.

2

  1. State the inputs and outputs of the combinational block of the sequential circuit.
  2. Write each output (including next state bits) as a function of the inputs.
  3. Draw the truth table for the combinational circuit (Hint: use the functions in theprevious step).
  4. Draw the finite state machine by using the table obtained in previous step.
  5. How many unreachable states does the finite state machine contain? (No explanation, only short answer)
  6. Briefly explain the relation between the input and the output. (Hint: which patterns in the input results in different outputs)
  7. Write the behavioral level verilog code for the corresponding finite state machine.
  8. Write the verilog code for the testbench waveform in order to test different inputcombinations. (keep the initial state as State 0, i.e. S2S1S0 =000)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CMPE240 Experiment4-Analysis of a Sequential Circuit
$25