Write a simple C program that the working of a cache and TLB. Given a file that describes the details of a computer, memory and cache structure, and a virtual memory address, convert the virtual address to a physical address and output the result, which could be one of the following:
1) Page fault
2) Cache hit
3) Cache miss
Please refer to the uploaded file for specific details about the input and output format, and the workings of the program. Test files will be given once the program is complete to ensure satisfactory completion of the project.
Please make sure the program is kept simple (no advanced data structures or algorithms). A novice programmer should be able to understand it.
14 фрилансеров(-а) подали заявки на эту работу; средняя заявка - $169
Hi. I have great experience modelling CPU architectures, pipelines and memory systems in c/c++. If you look at my history I have successfully done couple of simulation projects in gem5. I could help you with this.
I am a programmer who thinks like a novice programmer. I always start with brute force technique and as you say you need the program to be understood to a novice programmer. I can make that for you. Thank you