Question

In: Computer Science

5. a) Draw a state diagram for a sequential circuit that outputs a 1 if and...

5. a) Draw a state diagram for a sequential circuit that outputs a 1 if and only if its single

      input has completed the sequence 1111.

b) Then build the circuit using D flip-flops and any necessary gates. NO Overlap is

      Allowed.

6. Repeat question 5 but this time OVERLAP IS ALLOWED:

Solutions

Expert Solution

5 (a) State Diagram:

state table:

Present State

Next state

(X = 0)

Next State

(x = 1)

a a/0 b/0
b a/0 c/0
c a/0 d/0
d a/0 a/1

Let

a : y0= 0 y1= 0
b : y0= 0 y1= 1
c : y0= 1 y1= 0
d : y0= 1 y1= 1

Truth Table:

y0 y1 X Y0 Y1 Z
a 0 0 0 0 0 0
a 0 0 1 0 1 0
b 0 1 0 0 0 0
b 0 1 1 1 0 0
c 1 0 0 0 0 0
c 1 0 1 1 1 0
d 1 1 0 0 0 0
d 1 1 1 0 0 1

K-MAP:

Layout:

X' X
y'0y1 0 1
y'0y1 2 3
y0y1 6 7
y0y'1 4 5

K-map Groups:

For Y0

(3) y'0y1X
(5) y0y'1X

Boolean expression: Y0 = y'0y1X +  y0y'1X = X(y'0y1 +  y0y'1) = X (y0 XOR y1)

Groups For Y1:

(1,5) y'1X

Boolean expression: Y1 =  y'1X

Groups for Z:

(7) y0y1X

Boolean expression: Y1 =  y0y1X

(b) Circuit using D Flip flop:

(6)

(a) State Diagram:

State Table:

Present State

Next state

(X = 0)

Next State

(x = 1)

a a/0 b/0
b a/0 c/0
c a/0 d/0
d a/0 d/1

Truth Table:

y0 y1 X Y0 Y1 Z
a 0 0 0 0 0 0
a 0 0 1 0 1 0
b 0 1 0 0 0 0
b 0 1 1 1 0 0
c 1 0 0 0 0 0
c 1 0 1 1 1 0
d 1 1 0 0 0 0
d 1 1 1 1 1 1

K-MAP:

K-map Groups:

For Y0

(3,7) y1X
(5,7) y0X

Boolean expression: Y0 = y1X +  y0X = X(y0 + y1)

Kmap groups for Y1:

(1,5) y'1X
(5,7) y0X

Boolean expression: Y1 = y1X +  y0X = X(y0 + y'1)

Kmap groups for Z:

(7) y0 y1X

Boolean expression: Z = y0 y1X

(b) Circuit Diagram:


Related Solutions

Design a 5-bit binary counter using JK flip flops. Draw the flip-flop circuit diagram, the state...
Design a 5-bit binary counter using JK flip flops. Draw the flip-flop circuit diagram, the state graph, the timing diagram, the truth table (with clk pulse) and the state table (with present and next states).
Draw a circuit diagram of the differential amplifier with two Rcs.
Draw a circuit diagram of the differential amplifier with two Rcs.
Draw the diagram for an array multiplier circuit for 5x5 multiplications.
Draw the diagram for an array multiplier circuit for 5x5 multiplications.
Draw a PLC ladder logic diagram to simulate the operation of a sequential taillight system. The...
Draw a PLC ladder logic diagram to simulate the operation of a sequential taillight system. The light system consists of three separate lights on each side of the car. Each set of lights will be activated separately, by either the left or right turn signal switch. There is to be a 1-s delay between the activation of each light, and a 1-s period when all the lights are off. Ensure that when both switches are on, the system will not...
a) Draw and label your own circuit diagram using standard schematic symbols for a circuit with...
a) Draw and label your own circuit diagram using standard schematic symbols for a circuit with a 12 V battery, a 15 ohm resistor, a 400 mH inductor, and a switch, all in series. b) Write a diffferential equation (in the form of a loop equation) describing the behavior of this circuit after the switch is closed. c) The switch is first closed at time t = 0. Write down an equation for current in the circuit as a function...
Identify FM Broadcasting System in wireless communication and design circuit. Draw the appropriate circuit diagram or...
Identify FM Broadcasting System in wireless communication and design circuit. Draw the appropriate circuit diagram or functioning diagram. Develop circuit diagram in MATLAB for FM Broadcasting System and run the simulation.
1. Draw a simple circuit diagram of half wave specific with sinusoidal input signal define on...
1. Draw a simple circuit diagram of half wave specific with sinusoidal input signal define on V_in (t) = A*cos(wt^2*pi*f) with peak voltage of 10 V and frequency of 60 Hz. 2. Design the output voltage in terms of fourier transform. 3. Use matlab to plot the frequency spectrum of the rectified signal for magnitude and phase use load resistance as 1 kilo-ohm and cutoff frequency as 10 Hz. 4. Design a second order butterworth filter of a specific cosine...
Draw a block diagram of an elevator controller. Clearly identify inputs and outputs of each block....
Draw a block diagram of an elevator controller. Clearly identify inputs and outputs of each block. Assume the elevator has 4 floors. Draw a state diagram for the elevator controller and briefly explain what the input, state variables, and ouput represent.
Draw ATM Scenario and Library Scenario by component diagram and state machine diagram
Draw ATM Scenario and Library Scenario by component diagram and state machine diagram
Design a sequential digital circuit with one output that produces “…100110…” bit pattern continuously.( show state...
Design a sequential digital circuit with one output that produces “…100110…” bit pattern continuously.( show state table, state diagram, show circuit diagram and waveform of the circuit) [Digital Systems 2]
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT