Skip to content

Commit f2fc196

Browse files
committed
cpu-o3: set iewToFetchDelay = 2 as default
Change-Id: Id2fb11d63a7ba4cfcbb91a25b281bc8fcdbb1f4c
1 parent 24213d6 commit f2fc196

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

configs/example/idealkmhv3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def setKmhV3IdealParams(args, system):
2929
#cpu.mmu.itb.enable_l1_direct_compression = args.enable_l1_direct_compression
3030
#cpu.mmu.dtb.enable_l1_direct_compression = args.enable_l1_direct_compression
3131
cpu.fetchWidth = 32
32-
cpu.iewToFetchDelay = 2 # for resolved update, should train branch after squash
3332
cpu.commitToFetchDelay = 2
3433
cpu.fetchQueueSize = 64
3534

configs/example/kmhv3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def setKmhV3Params(args, system):
2828
cpu.mmu.itb.enable_l1_direct_compression = args.enable_l1_direct_compression
2929
cpu.mmu.dtb.enable_l1_direct_compression = args.enable_l1_direct_compression
3030
cpu.fetchWidth = 32
31-
cpu.iewToFetchDelay = 2 # for resolved update, should train branch after squash
3231
cpu.commitToFetchDelay = 2
3332
cpu.fetchQueueSize = 64
3433

src/cpu/o3/BaseO3CPU.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def support_take_over(cls):
120120

121121
decodeToFetchDelay = Param.Cycles(1, "Decode to fetch delay")
122122
renameToFetchDelay = Param.Cycles(1 ,"Rename to fetch delay")
123-
iewToFetchDelay = Param.Cycles(1, "Issue/Execute/Writeback to fetch "
124-
"delay")
123+
iewToFetchDelay = Param.Cycles(2, "Issue/Execute/Writeback to fetch "
124+
"delay") # for resolved update, should train branch after squash
125125
commitToFetchDelay = Param.Cycles(3, "Commit to fetch delay")
126126
fetchWidth = Param.Unsigned(16, "Fetch width")
127127
fetchBufferSize = Param.Unsigned(66, "Fetch buffer size in bytes")

0 commit comments

Comments
 (0)