Professional Documents
Culture Documents
Control Logic Design: Ø Ø Possible Configurations For A Control Unit Ø Control Logic Design With Specific Examples
Control Logic Design: Ø Ø Possible Configurations For A Control Unit Ø Control Logic Design With Specific Examples
of CSE, KUET 1
Introduction
Control over a system is mandatory Control is require for any vehicle, from bicycles to aircrafts
Introduction
Data processor
A general-purpose processing unit Consists of individual registers and associated digital functions
Control Logic
Generates the signals for sequencing the microoperations Sequential circuit whose internal states dictate the control functions At any given time the state of the sequential control initiates a prescribed set of microoperations.
Control logic provides a time sequence of signals for initiating the microoperations in the data-processor.
Control Organization
Control is a sequential circuit can be designed by a sequential logic procedure but impractical because of large number of states.
The goal of control logic design is the development of a circuit that implements the desired control sequence in a logical and straight forward manner. Control logic design is the extension of sequential logic method combined with the register-transfer method.
Four methods of control organization 1.One flip-flop per state method 2.Sequence register and decoder method 3.PLA control 4.Microprogram control
Use SSI and MSI and called hard-wired control
For n flip-flops in the sequence register, it will give 2n using n x 2n decoder. It sometimes called counter-decoder because it continuously sequences when does not need external inputs.
PLA Control
PLA contains all combinational circuits including the decoder and the decision logic
Sequence register is external to the PLA when it has only combinational circuits.
Microprogram Control
Control unit initiates a series of sequential steps of microoperations. The control variables at any given time can be represented by a strings of 1s and 0s called a control word. A control unit whose control variables are stored in a memory is called a microprogrammed control unit. Each word of memory is called a microinstruction.
2. Equipment configuration
n-1 bit
Subtract smaller one from the larger one and resulting sign is the sign of the larger one.
Contents
Problem Statement Flowchart , State Diagram & Sequence of Microoperations Microprogram Controller Design Conclusions
Subtract smaller one from the larger one and resulting sign is the sign of the larger one.
Microprogram Control
In a Microprogram Controller Control variables are stored in memory, usually ROM. After each operation control unit must determine its next address. Contain additional bits with bits for microoperations and a special circuit.
Require Capabilities
1.Provision to recognize external signals (qa or qs). 2.Provision for sequencing consecutive addresses. 3.Provision for choosing addresses based on status variables S and E.
Block Diagram
Recognize qa or qs.
The Microprogram
S=1
E=1
Conclusions
Sign-magnitude addition & subtraction is explained with four operations. A microprogram controller is designed for the operations. In the controller, a control instruction is a part of a microinstruction and the microinstructions are stored in a ROM.
26
Requirements:
Have a large control memory Include all possible control variables Initiate many operations
Microprogram
Sign-magnitude Multiplication
Statement of the problem
Sign-magnitude Multiplication
Statement of the problem
Sign-magnitude Multiplication
Equipment Configuration
Sign-magnitude Multiplication
Derivation of Algorithm
AQ <- shr EAQ, E <- 0 means A <- shr A, Q <- shr Q, Ak <- E, Qk <- A1, E <- 0
Sign-magnitude Multiplication
Control Specifications
Derivation of Algorithm
Sign-magnitude Multiplication
Data-Processor Specification
Derivation of Algorithm
Sign-magnitude Multiplication
Control Specifications
PLA method should be used if the state table contains many dont care entries; otherwise, it may be advantageous to use a ROM instead of a PLA.
If an input does not influence the next state, it marked it with dont care X.
PLA control may be classified as a microprogram control unit with the PLA replacing the ROM for the control memory.
State Table to Program Table Xs in the input columns and 0s in the output columns of state table are changed to dashes in program table. PLA Five inputs and Seven outputs. Seven product terms, one for each row in the state table.