I was wondering if anyone could help me with building a cache simulator in C. It's for a University assignment.
I'm given this file:
Attachment 10993
I'm not exactly sure where to start with this. Can anyone help?
Printable View
I was wondering if anyone could help me with building a cache simulator in C. It's for a University assignment.
I'm given this file:
Attachment 10993
I'm not exactly sure where to start with this. Can anyone help?
I'm not sure why that comes up as "..c" it should be ".c"
That's just the forum shortening the link name.
Quzah.
Did you read through the file for any comments or instructions?
Generally, we help people with C language problems, but we don't start their programs for them, unless it's totally trivial.
My advice would be to get enough info from your instructor, classmates, books, or internet searches, to get SOMETHING started - show you've got the initiative, and the smarts to get the ball rolling on this.
I'd start with reviewing how a cache works, and then start figuring out the most appropriate data structures to use, and how the operations of the cache, could be displayed well.