Configs.scala (182b7ece8ba898233f30d6cd83bbed50825943de) | Configs.scala (720dd6218ef4045360a23b552db1137cbb6e6e59) |
---|---|
1/*************************************************************************************** 2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences 3* Copyright (c) 2020-2021 Peng Cheng Laboratory 4* 5* XiangShan is licensed under Mulan PSL v2. 6* You can use this software according to the terms and conditions of the Mulan PSL v2. 7* You may obtain a copy of Mulan PSL v2 at: 8* http://license.coscl.org.cn/MulanPSL2 --- 394 unchanged lines hidden (view full) --- 403 new WithCHI 404 ++ new Config((site, here, up) => { 405 case SoCParamsKey => up(SoCParamsKey).copy(L3CacheParamsOpt = None) // There will be no L3 406 }) 407 ++ new WithNKBL2(2 * 512, inclusive = true, banks = 4, tp = false) 408 ++ new WithNKBL1D(64, ways = 8) 409 ++ new DefaultConfig(n) 410) | 1/*************************************************************************************** 2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences 3* Copyright (c) 2020-2021 Peng Cheng Laboratory 4* 5* XiangShan is licensed under Mulan PSL v2. 6* You can use this software according to the terms and conditions of the Mulan PSL v2. 7* You may obtain a copy of Mulan PSL v2 at: 8* http://license.coscl.org.cn/MulanPSL2 --- 394 unchanged lines hidden (view full) --- 403 new WithCHI 404 ++ new Config((site, here, up) => { 405 case SoCParamsKey => up(SoCParamsKey).copy(L3CacheParamsOpt = None) // There will be no L3 406 }) 407 ++ new WithNKBL2(2 * 512, inclusive = true, banks = 4, tp = false) 408 ++ new WithNKBL1D(64, ways = 8) 409 ++ new DefaultConfig(n) 410) |
411 412class XSNoCTopConfig(n: Int = 1) extends Config( 413 (new KunminghuV2Config(n)).alter((site, here, up) => { 414 case SoCParamsKey => up(SoCParamsKey).copy(UseXSNoCTop = true) 415 }) 416) |
|