Hi
it seems that the way we configure and define a prefetcher has been
chnaged in the latest revision 9476. So far, my cmp.py looked like:

system.l2 = L2Cache()
system.l2.prefetcher = Prefetcher()

and Caches.py looked like

class Prefetcher(BasePrefetcher):
    type = 'StridePrefetcher'
    degree = 5
    cross_pages = True
    latency = 1
    size = 512
    serial_squash = True

class L2Cache(BaseCache):
    size= '512kB'
    hit_latency = 12
    response_latency = 12
    assoc = 16
    block_size = 64
    mshrs = 20
    tgts_per_mshr = 15


And there was no problem with that. Now, I get this error:

...
  File "/home/mahmood/gem5/configs/common/Caches_l2pf.py", line 31, in <module>
    class Prefetcher(BasePrefetcher):
  File "/home/mahmood/gem5/src/python/m5/SimObject.py", line 137, in __new__
    assert name not in allClasses, "SimObject %s already present" % name
AssertionError: SimObject Prefetcher already present


Can someone explain?
-- 
Regards,
Mahmood
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to