일부 소프트웨어 작성
$10-30 USD
Paid on delivery
help to complete simple cache simulator in the C programming language
please help to finish "cache_sim.c"
in "cache_sim.c"
please complete
void cache_access(char inst_type, uint addr){
//help this part
}
other section is already done.
"[url removed, login to view]" is test input that contains a sequence of memory accesses to be simulated.
Input data format: <access_type> <32-bit address in hexadecimal format>
for example, s 0x12345678 (store instruction at the address 0x12345678)
cache simulation based on the cache parameters (i.e., the number of sets, associativity, block size) specified by the command line parameters.
cache simulator employs the least-recently-used (LRU) replacement policy and the write-allocate on write miss policy.
after getting completed "cache_sim.c",
I want to check
1. miss rate for each cache capacity (1KB, 2KB, 4KB, 8KB, 16KB, 32KB) (with Associativity: 1, Cache line size: 32 bytes)
2. miss rate for each cache associativity(Associativity: 1, 2, 4, 8, 16) (with Cache line size: 32 bytes, Cache capacity: 8KB)
3. miss rate for each cache line size (8, 16, 32, 64, 128 bytes) ( with Associativity: 1, Cache capacity: 8KB
Project ID: #10693142
About the project
Awarded to:
I will be able to complete it in time as I have had experience in Cache Simulation and C. Since I am new and trying to make a name for myself here - I won't disappoint.