ruby: initialize replacement policies with their own simobjs
authorDavid Hashe <david.hashe@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000 (09:15 -0500)
committerDavid Hashe <david.hashe@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000 (09:15 -0500)
commit1850ed410fc85d7ac367dc7b378e5509d62ed900
treebf5fa000a7eb57681afea983309e47faf27fb033
parent74ca89f8b7d9b340d1d4f83511b57a2dfa2a70df
ruby: initialize replacement policies with their own simobjs

this is in preparation for other replacement policies that take additional
parameters.
14 files changed:
configs/ruby/MESI_Three_Level.py
src/mem/ruby/structures/AbstractReplacementPolicy.cc [new file with mode: 0644]
src/mem/ruby/structures/AbstractReplacementPolicy.hh
src/mem/ruby/structures/Cache.py
src/mem/ruby/structures/CacheMemory.cc
src/mem/ruby/structures/CacheMemory.hh
src/mem/ruby/structures/LRUPolicy.cc [new file with mode: 0644]
src/mem/ruby/structures/LRUPolicy.hh
src/mem/ruby/structures/LRUReplacementPolicy.py [new file with mode: 0644]
src/mem/ruby/structures/PseudoLRUPolicy.cc [new file with mode: 0644]
src/mem/ruby/structures/PseudoLRUPolicy.hh
src/mem/ruby/structures/PseudoLRUReplacementPolicy.py [new file with mode: 0644]
src/mem/ruby/structures/ReplacementPolicy.py [new file with mode: 0644]
src/mem/ruby/structures/SConscript