summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/Cache.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-01-07 07:38:53 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2012-01-07 07:38:53 -0600
commit10c2e8ae9ae3f8f41f88fce7de4c2946d23a98fc (patch)
tree0a135bfaa2a3c4d965286e63a21b83e4d38b0d00 /src/mem/ruby/system/Cache.py
parentce941fd2ae2908dd0261132f35ab90e82c07b6b7 (diff)
downloadgem5-10c2e8ae9ae3f8f41f88fce7de4c2946d23a98fc.tar.xz
Ruby Cache: Add param for marking caches as instruction only
Diffstat (limited to 'src/mem/ruby/system/Cache.py')
-rw-r--r--src/mem/ruby/system/Cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/system/Cache.py b/src/mem/ruby/system/Cache.py
index ab3ec4b29..79ab9b070 100644
--- a/src/mem/ruby/system/Cache.py
+++ b/src/mem/ruby/system/Cache.py
@@ -39,3 +39,4 @@ class RubyCache(SimObject):
assoc = Param.Int("");
replacement_policy = Param.String("PSEUDO_LRU", "");
start_index_bit = Param.Int(6, "index start, default 6 for 64-byte line");
+ is_icache = Param.Bool(False, "is instruction only cache");