عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 03-04-2010, 02:10 PM

new_light new_light غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Apr 2009
التخصص: علوم الحاسب الآلي
نوع الدراسة: ماجستير
الجنس: أنثى
المشاركات: 40
Skaau.com (10) رد: تجمع للمتقدمين على ماجستير حاسب 1431


إذا ممكن أحد يشرحلي الامثلة التالية وهي من مادة التنظيم شبتر 7 ........

1
Example: Bits in a Cache
How many total bits are required for a direct-mapped cache with 16 KB of data and 4-word blocks, assuming a 32-bit address?

16KB = 4K words = 212 words
Block size = 4 words(22), 210 blocks
Each block has 4*32=128 bits of data plus a tag(32-10-2-2 bits)

Thus:
the total cache size = 210*(128+(32-10-2-2)+1) = 210 *147 = 147 Kbits
.................................................. .............................


2

Example: Mapping an Address to a Multiword Cache Block
Consider a cache with 64 blocks and a block size of 16 bytes. What block number does byte address 1200 map to?







رجعت للكتــــــــــــــــــــــــــــاب و ما فهمت شيء
رد مع اقتباس