- currently the hexadecimal to binary instruction encoding function is written only for hex instructions of length 6 or 7
- number of ways is variable which is given as input
- number of bits needed for set number and block offset are variable which is given as input
- total number of queries are also taken as input
- 25 bit address
- In instructions.txt, paste the memory trace in hexadecimal format
- Run query.exe
- Set the parameters in finalcode.v and the name of file containing memory trace in binary format in line 34 (We have as of now added the binary traces for 4 traces available here for quick demo)
- Run finalcode.v!
- write-hit
- write-miss
- read-hit
- read-miss
- 1st bit specifies read(0)/write(1)
- rest 24 bits specify memory address
- 0000000000000001110111110 (read)
- 1000000000001111110010001 (write)
Configurations for the above Bar Graph:
Cache Size Set Size No of ways 1: 32kB 64B 8 2: 32kB 64B 1 (Direct Mapped) 3: 16kB 64B 16
- Neha Gujar 21114039
- Manan Garg 21114056
- Manashree Kalode 21114057
- Nishita Singh 21114068
- Raiwat Bapat 21114078
- Sanidhya Bhatia 21114090
