+ All Categories
Home > Software > Control unit design

Control unit design

Date post: 14-Jun-2015
Category:
Upload: satyamevjayte-haxor
View: 277 times
Download: 4 times
Share this document with a friend
Description:
Software Unit Design,Computer organization & Architecture
Popular Tags:
27
Transcript
Page 1: Control unit design
Page 2: Control unit design
Page 3: Control unit design

Fig. Control unit organization

Page 4: Control unit design

In the hardwired organization control unit is designed as a combinational circuit. The control unit is applied by gates, flip-flops, decoder and other digital circuits.

Hardwired control units can be optimised for fast operations. Block diagram of control unit is displayed in Figure below. Major inputs to circuit are instruction register, clock, and flags.

Control unit uses the opcode of instruction stored in IR register to perform various actions for various instructions.

Page 5: Control unit design

The Control unit logic has unique logic input for every opcode. It simplifies the control logic. This control line selection can be executed by a decoder.

A decoder will have n binary inputs and 2n binary outputs. Every one of these 2n different input patterns will trigger a single unique output line. 

Clock part of the control unit issues a repetitive sequence of pulses of single state duration for each micro-operation(s).

Page 6: Control unit design

The required control signals are determined by

1) content of control step counter or time generation

2) content of instruction register 3)Content of condition code flags

Page 7: Control unit design
Page 8: Control unit design
Page 9: Control unit design

Fig. A control unit and its input-output lines

Page 10: Control unit design

The four groups of control signals distinguished in fig. have following functions

Cin’ – to indicate occurrences of unusual conditions such as errors.

Cin’’ , Cout’’– these signals received from other control units eg. Supervisory controller. Both are primarily used to synchronize the control unit with the operation of other units.

Page 11: Control unit design
Page 12: Control unit design

State table methodDelay element methodSequence counter method

Page 13: Control unit design

The Behavior of control unit is designed in the form of state table as shown in fig..

Page 14: Control unit design
Page 15: Control unit design
Page 16: Control unit design
Page 17: Control unit design

The different parts of a flowchart are handled as follows:

1) Between two successive steps simply a D Flip-Flop is inserted.

Page 18: Control unit design
Page 19: Control unit design

A simple delay element for synchronous control circuits

Page 20: Control unit design
Page 21: Control unit design
Page 22: Control unit design
Page 23: Control unit design
Page 24: Control unit design
Page 25: Control unit design
Page 26: Control unit design
Page 27: Control unit design

Recommended