Thread: Building a cache simulator

  1. #1
    Registered User
    Join Date
    Oct 2011

    Unhappy Building a cache simulator

    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:

    I'm not exactly sure where to start with this. Can anyone help?
    Last edited by vip3r; 10-18-2011 at 04:00 AM.

  2. #2
    Registered User
    Join Date
    Oct 2011
    I'm not sure why that comes up as "..c" it should be ".c"

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    That's just the forum shortening the link name.

    Hope is the first step on the road to disappointment.

  4. #4
    Registered User
    Join Date
    Sep 2006
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. D-Cache/I Cache Simulator
    By husslela2 in forum C Programming
    Replies: 7
    Last Post: 04-27-2010, 08:41 AM
  2. Cache Simulator
    By husslela2 in forum C Programming
    Replies: 1
    Last Post: 04-12-2010, 08:56 PM
  3. Difference between ARP Cache and DNS cache?
    By namasteall2000 in forum Networking/Device Communication
    Replies: 9
    Last Post: 06-26-2009, 08:49 AM
  4. Simulator
    By MasterAchilles in forum C Programming
    Replies: 10
    Last Post: 11-30-2008, 10:31 PM
  5. need help with cache simulator!
    By dtogers123 in forum C Programming
    Replies: 3
    Last Post: 04-30-2008, 06:18 PM