Solved

Cache Simulation Program - Foundation Code

Posted on 1997-09-28
1
302 Views
Last Modified: 2008-03-06
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
0
Comment
Question by:jnowlin
1 Comment
 
LVL 2

Accepted Solution

by:
kellyjj earned 120 total points
ID: 1255260
I would do a search for a site called "the source site".  They have pleanty of source code and other links to good sites.  Hope this helps.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now