Professional Documents
Culture Documents
Lab8 Cso
Lab8 Cso
OUTPUT:
Enter the size of cache in words: 16
Enter the size of each block in words: 4
Enter the size of memory in words: 64
Choose the mapping technique:
1. Direct Mapping
2. Associative Mapping
3. N-way Set Associative Mapping
1
Index bits: 2
Offset bits: 2
Tag bits: 2
Enter the size of cache in words: 16
Enter the size of each block in words: 4
Enter the size of memory in words: 64
Choose the mapping technique:
1. Direct Mapping
2. Associative Mapping
3. N-way Set Associative Mapping
2
Index bits: 0
Offset bits: 2
Tag bits: 4
Enter the size of cache in words: 16
Enter the size of each block in words: 4
Enter the size of memory in words: 64
Choose the mapping technique:
1. Direct Mapping
2. Associative Mapping
3. N-way Set Associative Mapping
3
Enter the value of N for N-way Set Associative Mapping: 2
Index bits: 1
Offset bits: 2
Tag bits: 3