Hi,

We are working on implementing a replacement policy in the gem5. This
policy actually keeps track (i.e., history) of the memory references from
the LD/ST instructions in order to train the predictor. Also, it predicts
which cache blocks to evict and what other blocks from later memory levels
to replace this block. So, basically, we need to operate on this by knowing
the memory addresses of blocks in both the memory and the cache. We took a
look at the implementation of the already existing policies and we
understand that there have to be specific functions in the policy class,
however, again, inside these functions, we need to operate on data using
memory references.

So, how can we read the memory references in this context? Is there a
variable inside a specific class or a struct that we can read?

Thanks.

--

*Best,Abdelrahman Hussein*
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to