Skip to content

Commit

Permalink
perf(XSTop): improve concurrency of CHI-AXI bridge (#4008)
Browse files Browse the repository at this point in the history
The previous design set OpenNCB concurrency to the default value of 15.
This commit adjusts the configuration to align with the parallelism of
L2 MSHR requests and MMIO requests, enhancing overall performance.
  • Loading branch information
sumailyyc authored Dec 10, 2024
1 parent 991a33f commit af53200
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/top/Top.scala
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class XSTop()(implicit p: Parameters) extends BaseXSSoc() with HasSoCParameter
val chi_llcBridge_opt = Option.when(enableCHI)(
LazyModule(new OpenNCB()(p.alter((site, here, up) => {
case NCBParametersKey => new NCBParameters(
outstandingDepth = 64,
axiMasterOrder = EnumAXIMasterOrder.WriteAddress,
readCompDMT = false,
writeCancelable = false,
Expand All @@ -115,6 +116,7 @@ class XSTop()(implicit p: Parameters) extends BaseXSSoc() with HasSoCParameter
val chi_mmioBridge_opt = Seq.fill(NumCores)(Option.when(enableCHI)(
LazyModule(new OpenNCB()(p.alter((site, here, up) => {
case NCBParametersKey => new NCBParameters(
outstandingDepth = 32,
axiMasterOrder = EnumAXIMasterOrder.None,
readCompDMT = false,
writeCancelable = false,
Expand Down

0 comments on commit af53200

Please sign in to comment.