diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-11-14 12:04:38 +0100 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-11-14 21:02:08 +0000 |
commit | d8bc7899a97b85600e2e7ba12f2aec3d42fefc66 (patch) | |
tree | 1056a0061212c7dc712cdfb01289b4c1760c92b5 /src/mem/cache/tags/Tags.py | |
parent | c6e0d8f54f1ce90933f95a7a3a875fed53b8ee3e (diff) | |
download | gem5-d8bc7899a97b85600e2e7ba12f2aec3d42fefc66.tar.xz |
mem-cache: Remove Cache dependency from Tags
Tags do not need to be aware of caches.
Change-Id: Ib6a082b74dcd9b2f10852651634b59512732fb2a
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/14296
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/tags/Tags.py')
-rw-r--r-- | src/mem/cache/tags/Tags.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/cache/tags/Tags.py b/src/mem/cache/tags/Tags.py index b34779eef..f2658f4f8 100644 --- a/src/mem/cache/tags/Tags.py +++ b/src/mem/cache/tags/Tags.py @@ -44,6 +44,10 @@ class BaseTags(ClockedObject): type = 'BaseTags' abstract = True cxx_header = "mem/cache/tags/base.hh" + + # Get system to which it belongs + system = Param.System(Parent.any, "System we belong to") + # Get the size from the parent (cache) size = Param.MemorySize(Parent.size, "capacity in bytes") |