Download as pdf or txt
Download as pdf or txt
You are on page 1of 29

Control Logic Design

Digital Logic and Computer Design by


Mano
Section: 10.1-10.3, 10.6, 10.4
Lecturer: Md. Tawkat Islam Khondaker
Control Logic
One FF per State
Sequential Register & Decoder Method
PLA Control
Equipment Configuration
A/B
registers As / Bs A/B
n bits
SIGNED
numbers 1 bit n -1 bits
Derivation of the Algorithm
When two numbers A and B are added or
subtracted, eight possible combinations can
occur:
1. (+A) + (+B) 5. (+A) – (-B)
2. (+A) + (-B) 6. (+A) – (+B)
3. (-A) + (+B) 7. (-A) – (-B)
4. (-A) + (-B) 8. (-A) – (+B)
These eight combinations can be expressed as:
(±A) ± (±B)
Derivation of the Algorithm
Flowchart of Sign-Magnitude Add/Sub
Data Processor
Control Block Diagram
Control State Diagram
Control State Diagram

In T4: E = Cout is NOT executed until a clock pulse. But after the clock pulse, it goes
to T5 state. So E SHOULD BE CHECKED at T5 state.
Control State Diagram
Flowchart can result in a different state diagram as long as it follows the hardware
constraints and the system functions according to the specification.
For example, we can check Cout at T4 state instead of checking E at T5:
If Cout = = 1: Clear E @ T5 state
If Cout = = 0: Go directly to T6 state
Sequence of Micro-operations
Design of Hard-wired Control
Hard-Wired Control (Multiplication)
(Sec: 10.6)
Statement of the Problem
If last bit of Multiplier is 1: Add Multiplicand with the partial product and Right Shift
the partial product

If last bit of Multiplier is 1: Just Right Shift the partial product.


Equipment Configuration
A/B
registers As / Bs A/B
n bits
SIGNED
numbers 1 bit k = n -1 bits
Derivation of the Algorithm
Flowchart for Binary Multiplication
Control State Diagram for Multiplication
Data-Processor Specification
Hard-wired Control
with JK FF
Hard-wired Control
with JK FF
Micro-Program Control
The Microprogram
Micro-Program
Hardware Configuration
The Microprogram

You might also like