Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
of CSE, KUET
Introduction
Control over a system is mandatory
Control is require for any vehicle, from bicycles to aircrafts Control signals are essential in any digital system (DS)
Binary information of a DS can be either data or control information Data-> Discrete elements of information that are manipulated by microoperations Control information-> The signals for specifying the sequence of microoperations.
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.
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.
10
2. Equipment configuration
n-1 bit
11
Subtract smaller one from the larger one and resulting sign is the sign of the larger one.
12
13
14
15
16
17
Contents
Problem Statement Flowchart , State Diagram & Sequence of Microoperations Microprogram Controller Design Conclusions
18
Subtract smaller one from the larger one and resulting sign is the sign of the larger one.
19
20
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.
A microinstruction =
21
Require Capabilities
external
sequencing
22
Block Diagram
Recognize qa or qs.
23
The Microprogram
S=1
E=1
24
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.
25
26
27
Requirements:
Have a large control memory
Include all possible control variables Initiate many operations
28
29
Microprogram
30
31
Sign-magnitude Multiplication
Statement of the problem
32
Sign-magnitude Multiplication
Statement of the problem
33
Sign-magnitude Multiplication
Equipment Configuration
34
Sign-magnitude Multiplication
Derivation of Algorithm
35
Sign-magnitude Multiplication
Control Specifications
Derivation of Algorithm
36
Sign-magnitude Multiplication
Data-Processor Specification
Derivation of Algorithm
37
Sign-magnitude Multiplication
Control Specifications
Q(t)
0 0 1
Q(t+1)
0 1 0
J
0 1 X
K
X X 1
38
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.
39
If an input does not influence the next state, it marked it with dont care X.
40
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.