Skip to content

Commit

Permalink
mem: enlarge snoop filter (#193)
Browse files Browse the repository at this point in the history
max capacity exceed reported when modeling large caches

Change-Id: I745e99af5ee1e0bb766c9c6374412871966804ad
  • Loading branch information
eastonman authored Oct 22, 2024
1 parent 6c99cd6 commit 9a6a222
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/common/CacheConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def config_cache(options, system):

# system.tol2bus_list.append(L2XBar(clk_domain = system.cpu_clk_domain, width=256))
system.l2_caches[i].cpu_side = system.tol2bus_list[i].mem_side_ports
system.tol2bus_list[i].snoop_filter.max_capacity = "16MB"

if options.ideal_cache:
assert not options.l3cache, \
Expand Down Expand Up @@ -168,6 +169,7 @@ def config_cache(options, system):
system.l3 = L3Cache(clk_domain=system.cpu_clk_domain,
**_get_cache_opts('l3', options))
system.tol3bus = L2XBar(clk_domain=system.cpu_clk_domain, width=256)
system.tol3bus.snoop_filter.max_capacity = "32MB"
system.l3.cpu_side = system.tol3bus.mem_side_ports
system.l3.mem_side = system.membus.cpu_side_ports

Expand Down

0 comments on commit 9a6a222

Please sign in to comment.