Skip to content

Commit

Permalink
configs: Remove unused WalkCache models
Browse files Browse the repository at this point in the history
Change-Id: Iebda966e72b484ee15cbc7cd62256a950b2a90f1
Signed-off-by: Giacomo Travaglini <[email protected]>
Reviewed-by: Richard Cooper <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/54244
Reviewed-by: Andreas Sandberg <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
Tested-by: kokoro <[email protected]>
  • Loading branch information
giactra committed Dec 16, 2021
1 parent d1d90c5 commit 3fba052
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 67 deletions.
12 changes: 1 addition & 11 deletions configs/common/cores/arm/HPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1332,16 +1332,6 @@ class HPI_MMU(ArmMMU):
itb = ArmTLB(entry_type="instruction", size=256)
dtb = ArmTLB(entry_type="data", size=256)

class HPI_WalkCache(Cache):
data_latency = 4
tag_latency = 4
response_latency = 4
mshrs = 6
tgts_per_mshr = 8
size = '1kB'
assoc = 8
write_buffers = 16

class HPI_BP(TournamentBP):
localPredictorSize = 64
localCtrBits = 2
Expand Down Expand Up @@ -1442,7 +1432,7 @@ class HPI(MinorCPU):

__all__ = [
"HPI_BP",
"HPI_ITB", "HPI_DTB", "HPI_WalkCache",
"HPI_ITB", "HPI_DTB",
"HPI_ICache", "HPI_DCache", "HPI_L2",
"HPI",
]
15 changes: 0 additions & 15 deletions configs/common/cores/arm/O3_ARM_v7a.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,6 @@ class O3_ARM_v7a_DCache(Cache):
# Consider the L2 a victim cache also for clean lines
writeback_clean = True

# TLB Cache
# Use a cache as a L2 TLB
class O3_ARM_v7aWalkCache(Cache):
tag_latency = 4
data_latency = 4
response_latency = 4
mshrs = 6
tgts_per_mshr = 8
size = '1kB'
assoc = 8
write_buffers = 16
is_read_only = True
# Writeback clean lines as well
writeback_clean = True

# L2 Cache
class O3_ARM_v7aL2(Cache):
tag_latency = 12
Expand Down
15 changes: 0 additions & 15 deletions configs/common/cores/arm/ex5_LITTLE.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,6 @@ class L1D(L1Cache):
assoc = 4
write_buffers = 4

# TLB Cache
# Use a cache as a L2 TLB
class WalkCache(Cache):
tag_latency = 2
data_latency = 2
response_latency = 2
mshrs = 6
tgts_per_mshr = 8
size = '1kB'
assoc = 2
write_buffers = 16
is_read_only = True
# Writeback clean lines as well
writeback_clean = True

# L2 Cache
class L2(Cache):
tag_latency = 9
Expand Down
15 changes: 0 additions & 15 deletions configs/common/cores/arm/ex5_big.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,6 @@ class L1D(L1Cache):
assoc = 2
write_buffers = 16

# TLB Cache
# Use a cache as a L2 TLB
class WalkCache(Cache):
tag_latency = 4
data_latency = 4
response_latency = 4
mshrs = 6
tgts_per_mshr = 8
size = '1kB'
assoc = 8
write_buffers = 16
is_read_only = True
# Writeback clean lines as well
writeback_clean = True

# L2 Cache
class L2(Cache):
tag_latency = 15
Expand Down
11 changes: 0 additions & 11 deletions configs/example/arm/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,6 @@ class L1D(L1_DCache):
write_buffers = 16


class WalkCache(PageTableWalkerCache):
tag_latency = 4
data_latency = 4
response_latency = 4
mshrs = 6
tgts_per_mshr = 8
size = '1kB'
assoc = 8
write_buffers = 16


class L2(L2Cache):
tag_latency = 12
data_latency = 12
Expand Down

0 comments on commit 3fba052

Please sign in to comment.