Project requirements and approach #16
nkanderson
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@mdhardenburgh @reecewayt @d-engler Skip the overview section if you've already gotten a good grasp on this from the PDF Mark released. It's here for reference as we discuss. I think the main aspects I'm currently stuck on boil down to the following:
int SnoopResult
is passed in and then updated - should it be a pointer in the signature? Should it not be in the signature at all?Overview
Architecture
We're simulating an LLC with the following characteristics:
The L1 cache does not need to be modeled, but its actions and content will impact our cache. It has the following characteristics:
There are 3 other processors in addition to the one that our cache is associated with. These caches exist in a shared memory configuration.
Program input and output
Our simulation program receives as input a series of events with op codes:
We need to track and report the following:
In addition to the above, need to be able to output (in normal mode) the following:
Other functionality
We need to implement the equivalent of the following functions:
Questions and assumptions
General
GetSnoopResult
function seems to be that we know the contents and status of each entry in each cache. Is that correct?Trace file events
(Very) High level algorithm
I think we need to understand the events better before actually being able to flesh this out, but at a very high level, I think we'd do the following:
case
or similar and match each op code to a series of actionsBusOperation
function, which callsGetSnoopResult
MessageToCache
BusOperation
function, which callsGetSnoopResult
Beta Was this translation helpful? Give feedback.
All reactions