未验证 提交 7b8f8f03 编写于 作者: C Chen Xi 提交者: GitHub

util: fix L2DB exists under FPGAPlatform (#2246)

* util: fix L2DB exists under FPGAPlatform

* util: fix L2DB exists under FPGAPlatform #2
上级 7fce8078
Subproject commit cbd1d461fd7d5e002c10e7cc298bb2b82f4dbf90
Subproject commit e175f13c8ab7f37aef3a6bd5ab0256b93b57405a
......@@ -96,7 +96,10 @@ class XSTile()(implicit p: Parameters) extends LazyModule
private val misc = LazyModule(new XSTileMisc())
private val l2cache = coreParams.L2CacheParamsOpt.map(l2param =>
LazyModule(new CoupledL2()(new Config((_, _, _) => {
case L2ParamKey => l2param.copy(hartIds = Seq(p(XSCoreParamsKey).HartId))
case L2ParamKey => l2param.copy(
hartIds = Seq(p(XSCoreParamsKey).HartId),
FPGAPlatform = debugOpts.FPGAPlatform
)
})))
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册