Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Struktur mesin dilengkapi dengan memori utama 8 MB dengan ukuran blok 1 2 8 bit masing - masing, dan cache yang mempunyai 2 K barisan.

Struktur mesin dilengkapi dengan memori utama 8MB dengan ukuran blok 128 bit masing-
masing, dan cache yang mempunyai 2K barisan. Dengan menggunakan teknik pemetaan
bersekutu set 2-arah (rujuk Rajah 2), jawab soalan berikut.
A machine structure is equipped with a 8MB main memory with a block size of 128 bits each,
and a cache that consist of 2K lines. Using a 2-way set associative mapping technique (refer
to Figure 2), answer the following questions.
Address length =(s+w) bits
Number of addressable units =2s+w words or bytes
Block size = line size =2v words or bytes
Number of blocks in main memory =2s+v2w=2s
Number of lines in cache =m=2x
Size of cache =2x+u words or bytes
Size of tag =(s-r) bits
Number of lines in set =k
Number of sets =v=2d
Rajah/ Figure 2
a) Kira panjang alamatnya.
Compute the address length.
b) Berapa ukuran medan perkataan?
What is the size of word field?
(3 markah / marks)
c) Berapa ukuran medan set?
What is the size of the set field?
(5 markah / marks)
d) Berapa ukuran medan tag?
What is the size of tag field?
(2 markah / marks)
e) Tunjukkan format alamat.
Illustrate the address format.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions