Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a. True In general a computer with one level of cache is expected to operall two

ID: 3699427 • Letter: A

Question

a. True In general a computer with one level of cache is expected to operall two levels of cache. a. True Tasiu 8. b. False 9 control unit is used in x86 processors. c. DMA d. DRAM a. Microprogrammed b. Hard wired 10. What is the main function of control unit? It causes the processor to step through a series of c. It generates the control signals. It decodes the opcode. a. b. d. All of the above 11. What is the Boolean equation for control signal LA according to this diagram? LDA S UB A 5 LA a. LA (T5+LDA) (SUB+T4)(ADD+T4) d. LA = ( T3+LDA) (SUB-T4)(ADD-T4) 12. The cache hit rate to execute a given code is 98%, what is the miss rate? 2% 12% a. c. 98% d. Not enough information b.

Explanation / Answer

Ans:

9. Control units are two types: 1) Hard Wired control unit

2) Microprogrammed control unit

HardWired CU : They are implemented using combinational logic circuits using finite number of Gates. They are used only to produce specific results. They are faster than Microprogrammed CU.

MicroProgrammed CU: In this CU the logic is specified by a micro program which consists of sequence of instructions in a microprogramming language. Ex: Intel x86 series, Motorola 68xxx series etc.

Answer is option A.

10) Functions of Control Unit:

A control unit is a digital circuit that control the sequence of instruction executed through control signals which decodes the opcode(operation code) ,also communicates with Arithmetic Logic unit(ALU) and main memory. It is major component of the CPU.

Hence, option D

11) AND Gate: inputs a,b

output = a*b

OR Gate: inputs a,b

output = a+b

3 AND Gates are given as input to one OR Gate which gives LA.

AND Gate1: i/p's are T5,LDA

o/p =T5*LDA

AND Gate2: i/p's are T4,SUB  

o/p =T4*SUB

AND Gate3: i/p's are T4,ADD  

o/p =T4*ADD

LA = GATE1 OR GATE2 OR GATE3

LA =T5*LDA + T4*SUB +T4*ADD

option C

12) Miss rate = 1 - hit rate

= 1-0.98

= 0.02 = 2%

option A

Please like my answer if you are satisfied with it! Thanks.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote