Skip to content

Commit

Permalink
cpu-o3: ideal: l2 latency from 16 to 10 cycles, no slice (#249)
Browse files Browse the repository at this point in the history
Change-Id: I766b593c954d91a600d7b240afa2a308ba0e88d5
  • Loading branch information
jensen-yan authored Dec 31, 2024
1 parent d46d2c5 commit eaf1c14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/example/xiangshan.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ def setKmhV3IdealParams(args, system):
for i in range(args.num_cpus):
system.l2_caches[i].size = '2MB'
system.l2_caches[i].enable_wayprediction = False
system.l2_caches[i].slice_num = 0 # 4 -> 0, no slice
system.tol2bus_list[i].forward_latency = 0 # 3->0
system.tol2bus_list[i].response_latency = 0 # 3->0

if args.l3cache:
system.l3.enable_wayprediction = False
Expand Down

0 comments on commit eaf1c14

Please sign in to comment.