Hello,

I am working on implementing a specific cache replacement policy. This
policy basically relies on building/collecting the history of both memory
references (load/store addresses). Also, it operates using the associating
hashed PC of the load/store instructions themselves. So, code-wise, it
requires direct access to these factors.

Now, in gem5, the cache replacement policies (by default) inherit
ReplaceableEntry class, which has the set and the way information for the
new replacement. However, assuming my case where I have a block in the
design that expects the stream of the aforementioned data (i.e., memory
address and PC), I could not find a way through which my replacement policy
may have access to this information.

How can I solve this?

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