Skip to content
Related Articles

Related Articles

Improve Article

Difference between Horizontal and Vertical micro-programmed Control Unit

  • Difficulty Level : Medium
  • Last Updated : 21 Aug, 2019

Prerequisite – Hardwired v/s Micro-programmed Control Unit
Basically, control unit (CU) is the engine that runs the entire functions of a computer with the help of control signals in the proper sequence. In the micro-programmed control unit approach, the control signals that are associated with the operations are stored in special memory units. It is convenient to think of sets of control signals that cause specific micro-operations to occur as being “microinstructions”. The sequences of microinstructions could be stored in an internal “control” memory.

Micro-programmed control unit can be classified into two types based on the type of Control Word stored in the Control Memory, viz., Horizontal micro-programmed control unit and Vertical micro-programmed control unit.

  • In Horizontal micro-programmed control unit, the control signals are represented in the decoded binary format, i.e., 1 bit/CS. Here ‘n’ control signals require n bit encoding. On the other hand.
  • In Vertical micro-programmed control unit, the control signals are represented in the encoded binary format. Here ‘n’ control signals require log2n bit encoding.

Comparison between Horizontal micro-programmed control unit and Vertical micro-programmed control unit:

Horizontal µ-programmed CUVertical µ-programmed CU
It supports longer control word.It supports shorter control word.
It allows higher degree of parallelism. If degree is n, then n Control Signals are enabled at a time.It allows low degree of parallelism i.e., degree of parallelism is either 0 or 1.
No additional hardware is required.Additional hardware in the form of decoders are required to generate control signals.
It is faster than Vertical micro-programmed control is slower than Horizontal micro-programmed control unit.
It is less flexible than Vertical micro-programmed control unit.It is more flexible than Horizontal micro-programmed control unit.
Horizontal micro-programmed control unit uses horizontal microinstruction, where every bit in the control field attaches to a control line.Vertical micro-programmed control unit uses vertical microinstruction, where a code is used for each action to be performedand thedecoder translates this code into individual control signals.
Horizontal micro-programmed control unit makes less use of ROM encoding than vertical micro-programmed control unit.Vertical micro-programmed control unit makes more use of ROM encoding to reduce the length of the control word.

Example: Consider a hypothetical Control Unit which supports 4 k words. The Hardware contains 64 control signals and 16 Flags. What is the size of control word used in bits and control memory in byte using:
a) Horizontal Programming
b) Vertical programming


a)For Horizontal 

64 bits for 64 signals
Control Word Size = 4 + 64 + 12 = 80 bits

Control Memory = 4 kW = ( (4* 80) / 8 ) = 40 kByte

a)For Vertical
6 bits for 64 signals i.e log264

Control Word Size = 4 + 6 + 12 = 22 bits

Control Memory = 4 kW = ( (4* 22) / 8 ) = 11 kByte

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :