Question: 1 . A byte addressable computer has a small data cache capable of holding eight 3 2 bit words. Each cache block consists of one
A byte addressable computer has a small data cache capable of holding eight bit
words. Each cache block consists of one bit word. When a given program is
executed the processor reads data from the following sequence of hex addresses:
ADFFEAE
The pattern is repeated four times
a Show the content of the cache in the st pass, if a direct mapped cache is
used
b find the number of hits, number of miss and the hit rate after the four pass.
c A memory system contains a cache, a main memory and a virtual memory. The
access time of the cache is ns and it has an percent hit rate. The access
time of the main memory is ns and it has a percent hit rate. The
access time of the virtual memory is ms What is the average access time of
the hierarchy.
Write the control sequence for the following instruction for the single bus organization:
SUB RR Marks
A magnetic disk drive with surfaces, tracks per surface, and sectors per track.
Sector size is Bytes. The average seek time is ms the tracktotrack access time is
ms and the drive rotates at rpm Successive tracks in a cylinder can be read
without head movement. What is the average access time? Assume this file is stored in
successive sectors and tracks of successive cylinders, starting at sector track of
cylinder i Estimate the time required to transfer a GB file.
What is the maximum number of oneoperand instructions that can be supported,
assume an instruction set that uses a fixed bit instruction length. Operand specifiers
are bits in length. There are K twooperand instructions and L zerooperand instructions
Design a variablelength opcode to allow all of the following to be encoded in a bit
instruction:
instructions with two bit addresses and one bit register number
instructions with one bit address and one bit register number
instructions with no addresses or registers
aIn the following program segment, identify at least RAW readafterwrite and WAR
writeafterread dependencies and explain them in detail X
Instruction DIV R R R
Instruction MUL R R R
Instruction ADD R R R
Instruction SUB R R R
b A DMA module transferring characters to memory using cycle stealing, from a device
transmitting at bps The processor is fetching instructions at the rate of instructions
per second. By how much will the processor be slowed down due to the DMA activity?
c The same program is compiled for a CISC machine and for a pipelined The following data
is available:
ICCISC ICRISC CPICISC CPIRISC
TckCISC ns TckRISC ns
What is the relative performance of the two machines?ADFFEAE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
