Cache: Provide a function to mark caches as ready from python.
Review Request #53 - Created July 9, 2010 and updated
Information | |
---|---|
Timothy Jones | |
gem5 | |
Reviewers | |
Default | |
Cache: Provide a function to mark caches as ready from python.
Posted (July 10, 2010, 1:57 a.m.)
I'm curious about the overall need for this... is there really a situation where it matters? If there's some path that's not appropriately setting/checking/ignoring the whenReady field I'd rather fix that than add this feature.
-
src/mem/cache/BaseCache.py (Diff revision 1) -
I have a patch in my queue (thanks to Nate's suggestion) that adds some code to SimObject.__getattr__ to automatically check self._ccObject for attributes that aren't already defined on self. Once I commit that, this function (and others like it in your other patches) won't be necessary. I'll try and get that pushed so you can take advantage of it.