Assignment Task
Task
Project : Cache Memory
This project simulates a read-only L1 cache.
A-Plus Writing Help For University Students
Get expert assistance in any academic field. All courses and programs covered.
Get Help Now!
Cache specifications
• Read only – like an instruction cache. (It’s bad to allow users to write to the instructions)
• This cache has 8 sets with 1 line each, and 32 bytes of data per line.
• Please find the struct defining this cache at the top of cache.c
Getting Started
• Watch the lecture videos about cache memories.
• Read Section 6.1-6.4 of the CSAPP book.
Project Specification
- Complete the function in cache.c that reads a single character from the cache. If the data in the cache is not valid then the cache goes to the next level down and reads the data into the cache (a function to put the data on the system bus is provided).
- Write additional tests in main. Only one very simple test is provided to demonstrate how to use the cache.
- You may find it useful to write a function to print the entire contents of the cache for debugging.
- A struct describing the cache is included for you at the top of the file. Do not modify these structs.
- Global counters track cache hits and misses. Increment these in your code to collect performance data.
- We will be testing your function with a separte main function and text file. We will be testing with the struct and the Read_Data_From_Ram function provided.
- Caches are built into hardware and not changed after manufactured. You may hardcode any data pertaining cache sizes.
Hints
- bit shift, bitwise ‘and’, integer division and modulus operators can be really useful for extracting the tag, set, and byte data.
This IT Computer Science Assignment has been solved by our IT Computer Science Expert at TV Assignment Help. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing Style. Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered.
You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turn tin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
Welcome to our Online Essay Writing Agency. Securing higher grades costing your pocket? Order your assignment online at the lowest price now! Our online essay writers are able to provide high-quality assignment help within your deadline. With our homework writing company, you can order essays, term papers, research papers, capstone projects, movie review, presentation, annotated bibliography, reaction paper, research proposal, discussion, or another assignment without having to worry about its originality – we offer 100% original content written completely from scratch
We write papers within your selected deadline. Just share the instructions
