Computer Architecture: Cache Memory Analysis and Implementation

Verified

Added on  2020/05/28

|2
|305
|134
Homework Assignment
AI Summary
This assignment analyzes cache memory performance by examining the impact of index bits, tag bits, and block offsets on hit/miss results in three different cache configurations (C1, C2, and C3). The analysis is based on a given memory address sequence and involves understanding how different configurations affect the cache's ability to store and retrieve data efficiently. The configurations differ in block sizes, which influences the index and offset fields. The assignment includes a table of memory addresses, binary representations, and hit/miss results for each configuration. The references include works on the architecture of cognition and transactional memory architecture and implementation.
Document Page
Computer Architecture 1
The table below depicts the index bits, tag bits, block offset bits and hit/miss results of the three
cache configurations:
Memory
address
sequence
Binary
address bits
Tag bits Index bits Hit/Miss
C1 C2 C3 C1 C2 C3 C1 C2 C3
6 000 00 110 000 001 00 0
214 110 10 110 110 101 10 0
175 101 01 111 101 011 01 1
214 110 10 110 110 101 10 0
6 000 00 110 000 001 00 0
84 010 10 100 010 101 10 0 H H
65 010 00 001 010 000 00 1 H H H
174 101 01 110 101 011 01 0
64 010 00 000 010 000 00 0
105 011 01 001 011 010 01 1
85 010 10 101 010 101 10 1 H H
215 110 10 111 110 101 10 1
In summary, the difference between C1, C2 and C2 are the block- offsets which affects the index
field and though they are all of the same capacity, the tag field remains unchanged for C2 and C3
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Computer Architecture 2
C1: Index: (8 entries); byte offset: 1:0 (1 word/block)
C2: Index: (8 entries); byte offset: 2:0 (2 word/block)
C3: Index: (2 entries); byte offset: 1:0 (1 word/block)
References
Anderson, J. R. (2013). The architecture of cognition. Psychology Press.
Jacobi, C., Slegel, T., & Greiner, D. (2012, December). Transactional memory architecture and
implementation for IBM System z. In Microarchitecture (MICRO), 2012 45th Annual
IEEE/ACM International Symposium on (pp. 25-36). IEEE.
chevron_up_icon
1 out of 2
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]