Solved

Cache Simulation Program - Foundation Code

Posted on 1997-09-28
1
305 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Where is my core dump file in Ubuntu? 12 440
How do I install gcc 4.8.4 on a Linux Ubuntu 14.04 machine? 5 1,560
Console based application in Linux 1 84
Finding a good hash function 4 120
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

914 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

22 Experts available now in Live!

Get 1:1 Help Now