Question: Consider a byte-addressable memory system which support the following features (all numbers are in decimal): a virtual memory system with page size being 128 bytes;
Consider a byte-addressable memory system which support the following features (all numbers are in decimal):
a virtual memory system with page size being 128 bytes;
1024 bytes of byte-addressable main memory (RAM);
128 bytes of 2-way set-associative cache, partitioned into blocks of 16 bytes each.
Suppose a program has a size of 8790 bytes. The program starts execution at logical address 537.
How many logical pages does this program occupy?
The page size has 128 bytes and 1024 of addressable space. You get 2^8
what is the minimum length (number of bits) of the logical address of this program?
How many physical pages does this system have?
How many cache blocks does this system have?
Show how to partition a logical address into page field and offset field.
| Field name: | Page | Offset |
| Number of bits: |
|
|
In which logical page is the content of logical address 537 to be found?
Show how to partition the same logical address into tag field, set field and word field.
| Field name: | Tag | Set | Word |
| Number of bits: |
|
|
|
\ In which cache set is the content of logical address 537 to be found?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
