edited by
17,827 views
56 votes
56 votes

Consider a CPU where all the instructions require $7$ clock cycles to complete execution. There are $140$ instructions in the instruction set. It is found that $125$ control signals are needed to be generated by the control unit. While designing the horizontal microprogrammed control unit, single address field format is used for branch control logic. What is the minimum size of the control word and control address register?

  1. $125, 7$
  2. $125, 10$
  3. $135, 9$
  4. $135, 10$
edited by

9 Answers

2 votes
2 votes

Given, 1 instruction takes 7 clock cycles to complete execution.

we know, that each micro-operation takes 1 clock cycle to execute, so, indirectly the question is trying to imply that one instruction has 7 micro-operations.

Now, given, there are 140 instructions in an instruction set, so, the total number of micro-operations is 140*7 = 980 micro-operations.

we know, that each micro-operation is equivalent to a control word in the control memory, so there is a total of 980 control words in the control memory.

So, address size of the control memory = log(980) base2 = 10 bits

according to the format of Control word, number of bits in Control word = number of bits of control signal + number of bits of address size = 126(given data) + 10 = 135 bits 

therefore, answer is Option D

1 votes
1 votes
Ans  is  B.

since it  uses horizontal microprogrammed  that  requires i bit /control sognal  .  so  for  125  control signal we need 125  bit.

and   total no  of  microoperation intructions  are  140 * 7  =  980   that  requires   10  bit.
1 votes
1 votes

 In horizontal microprogrammed approach 1 bit is taken for each control signal therefore 125 control signals are there and each instruction require 7 cycle so 140 * 7 = 980 cycles are needed for  the instructions.Hence, log2980 = 10 bits for Control Address register and 125 + 10 = 135 bits for control word.

1 votes
1 votes
Ans is B
A control word is a word whose individual bits represent the individual control signals. Since there are 125 control signals so minimum size of control word is 125.
There are 140 instructions and each instruction completes in 7 clock cycles, so there are 140*7=980 mictroinstructions that are stored in the control memory. So the control address register requires 10 bits.((2^9=512)<980<=(2^10=1024))
Answer:

Related questions

21 votes
21 votes
4 answers
1
42 votes
42 votes
4 answers
3