Skip to content

Commit

Permalink
cpu-o3: ideal: predictWitdh=64, numBr=6
Browse files Browse the repository at this point in the history
Change-Id: I799e25ff0b96983f72350400e381589a3752a8cc
  • Loading branch information
jensen-yan authored and tastynoob committed Dec 18, 2024
1 parent b70da7e commit 74c799d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configs/example/xiangshan.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ def setKmhV3IdealParams(args, system):
# ideal decoupled frontend
if args.bp_type is None or args.bp_type == 'DecoupledBPUWithFTB':
# cpu.branchPred.enableTwoTaken = True
cpu.branchPred.numBr = 4
cpu.branchPred.numBr = 6
cpu.branchPred.predictWidth = 64
cpu.branchPred.tage.enableSC = False # TODO(bug): When numBr changes, enabling SC will trigger an assert
cpu.branchPred.ftq_size = 256
cpu.branchPred.fsq_size = 256
Expand Down

0 comments on commit 74c799d

Please sign in to comment.