This Unit is the directing element in any Computer System, having the responsibility for stored program execution per se. It performs this role by repeatedly following a basic instruction execution cycle for each program instruction in turn, first it fetches the instruction from Main Store into a special CU register called the current instruction register (IR), secondly it decodes (separates) the instruction into parts indicating what is to be done (the operation part) and what informaiton is involved (the operand part(s)), and finally it executes (obeys) the instruction by sending appropriate control signals to the ALU/IOUs and Store so as to achieve the desired instruction result. Hence this is called the fetch-decode-execute cycle.
The control unit is identified as having two main components which are
1) instruction decoder and machine cycle encording
2) timing and control
But the essence of a Control Unit is the timing and control module. This module includes a clock and accepts as inputs the current instruction and some external control signals. Its output consists of control signals to the other components of the CPU plus control signal to the external system bus.
The timing of CPU operation is synchronized by the clock and controlled by the control unit with control signals. Each instruction cycle is divided into from one to five machine cycles; each machine cycle is in turn divided into from three to five states. Each state lasts one clock cycle. During a state, the CPU performs one or a set of simultaneous micro - operations as determined by the control signals.
The number of machine cycle is fixed for a given instruction but varies from one instruction to another. Machine cycles are defined to be equivalent to bus accesses. Thus, the number of machine cycles for an instruction depends on the number of times the CPU must communicate with external devices.