Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(DCache ECC): enable tag/data ECC by default #3925

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/scala/top/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ class MinimalConfig(n: Int = 1) extends Config(
nProbeEntries = 4,
nReleaseEntries = 8,
nMaxPrefetchEntry = 2,
enableTagEcc = true,
enableDataEcc = true,
)),
// ============ BPU ===============
EnableLoop = false,
Expand Down Expand Up @@ -265,6 +267,8 @@ class WithNKBL1D(n: Int, ways: Int = 8) extends Config((site, here, up) => {
nProbeEntries = 8,
nReleaseEntries = 18,
nMaxPrefetchEntry = 6,
enableTagEcc = true,
enableDataEcc = true
))
))
})
Expand Down
2 changes: 2 additions & 0 deletions src/main/scala/xiangshan/Parameters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ case class XSCoreParameters
nProbeEntries = 8,
nReleaseEntries = 18,
nMaxPrefetchEntry = 6,
enableTagEcc = true,
enableDataEcc = true
)),
L2CacheParamsOpt: Option[L2Param] = Some(L2Param(
name = "l2",
Expand Down
Loading