Docsity

Class Exercise - Sequential Circuit Design | ENGR 2030, Assignments of Engineering

Toggle sidebar
bg1
ENGR 2030 Spring 2009
Class Exercise, Sequential Circuit Design Given: 3/27/2009
Design a digital circuit that when enabled outputs a pulse one fifth as often as the clock input. The pulse
should have a one clock cycle duration (duration of one clock period). When the circuit is not enabled, its
output should be zero and the circuit should reset.
As part of your design provide:
1. The state diagram for the circuit
2. The state table for the circuit
3. The next state (flip-flop input) and output equations for the circuit.
4. A sketch of the circuit.
This circuit is a controlled divide by 5 counter and a sample waveform of the circuit’s operation is shown in
Figure 1.
Design
The enable signal is represented by E, the states are represented by the state variables Q[2..0], and the
output by F. The state diagram is shown in Figure 2.
Pulse1 (001)
0
Start (000)
0Pulse2 (010)
0Pulse3 (011)
0
E = 1
E = 0
Pulse4 (100)
0Pulse5 (101)
1
E = 1 E = 1 E = 1 E = 1
E = 1
E = 0
E = 0 E = 0 E = 0 E = 0
Figure 2, State-Diagram of Divide by 5 Circuit
Figure 1, Sequence Circuit Waveform
pf2

Partial preview of the text

Download Class Exercise - Sequential Circuit Design | ENGR 2030 and more Assignments Engineering in PDF only on Docsity!

ENGR 2030 Spring 2009

Class Exercise, Sequential Circuit Design Given: 3/27/

Design a digital circuit that when enabled outputs a pulse one fifth as often as the clock input. The pulse

should have a one clock cycle duration (duration of one clock period). When the circuit is not enabled, its

output should be zero and the circuit should reset.

As part of your design provide:

1. The state diagram for the circuit

2. The state table for the circuit

3. The next state (flip-flop input) and output equations for the circuit.

4. A sketch of the circuit.

This circuit is a controlled divide by 5 counter and a sample waveform of the circuit’s operation is shown in

Figure 1.

Design

The enable signal is represented by E, the states are represented by the state variables Q[2..0], and the

output by F. The state diagram is shown in Figure 2.

Pulse1 (001) 0

Start (000) 0

Pulse2 (010) 0

Pulse3 (011) 0

E = 1

E = 0

Pulse4 (100) 0

Pulse5 (101) 1

E = 1 E = 1 E = 1 E = 1

E = 1

E = 0

E = 0

E = 0 E = 0

E = 0

Figure 2, State-Diagram of Divide by 5 Circuit

Figure 1, Sequence Circuit Waveform

The state table is

Q[2..0] E Q

[2..0]

XXX

XXX

XXX

Figure 3, State Table

The output F = 1 when in state Q[2..0] = 101

The next state and output equations are (not using the don’t cares)

Q ( ) Q Q Q U Q Q Q U

Q U

2 [ 2 .. 0 ]^7 ,^9210210

Q ( ) Q Q Q U Q Q Q U

Q U

1 [ 2 .. 0 ]^3 ,^5210210

Q ( ) Q Q U Q Q U

Q U

0 [ 2 .. 0 ]^1 ,^5 ,^9 ,^112021

F = Q 2 ⋅ Q 1 ⋅ Q 0

Figure 5, Circuit Simulation

Figure 4, Circuit