Link to home
Start Free TrialLog in
Avatar of jnowlin
jnowlin

asked on

Cache Simulation Program - Foundation Code

Hello,

I have an assignment at college, the basis of which is to
"design and implememt a software simulated cache memory
subsystem." I choose to do this in C. A cache of 512 bytes
of data plus overhead is needed. A two-way set-associative
write-through scheme using a least-used replacement algorithm is also to be implemented. Using HEX for all addresses and values, 3 types of requests from the screen
are to be supported: Read, Write, and Display Cache. Detection and summation of cache 'hits' and 'misses' is required.


I have a fair grasp of C but the computer architecture part
of this *IS* new.

Can anyone please point me towards a URL or other C source code area which will help me code the neccessary caching part of this exercise?

Jim Nowlin

jnowlin@ma.ultranet.com
ASKER CERTIFIED SOLUTION
Avatar of kellyjj
kellyjj

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial