ArgParser.scala (4b2c87ba1d7965f6f2b0a396be707a6e2f6fb345) ArgParser.scala (d084f29ca7e6f535cf061024fdb8dcc7e922691d)
1/***************************************************************************************
2* Copyright (c) 2024 Beijing Institute of Open Source Chip (BOSC)
3* Copyright (c) 2020-2024 Institute of Computing Technology, Chinese Academy of Sciences
4* Copyright (c) 2020-2021 Peng Cheng Laboratory
5*
6* XiangShan is licensed under Mulan PSL v2.
7* You can use this software according to the terms and conditions of the Mulan PSL v2.
8* You may obtain a copy of Mulan PSL v2 at:

--- 175 unchanged lines hidden (view full) ---

184 val openLLCParam = socParam.OpenLLCParamsOpt.map(_.copy(
185 sets = openLLCSets.get
186 ))
187 socParam.copy(
188 L3CacheParamsOpt = newL3Param,
189 OpenLLCParamsOpt = openLLCParam
190 )
191 }), tail)
1/***************************************************************************************
2* Copyright (c) 2024 Beijing Institute of Open Source Chip (BOSC)
3* Copyright (c) 2020-2024 Institute of Computing Technology, Chinese Academy of Sciences
4* Copyright (c) 2020-2021 Peng Cheng Laboratory
5*
6* XiangShan is licensed under Mulan PSL v2.
7* You can use this software according to the terms and conditions of the Mulan PSL v2.
8* You may obtain a copy of Mulan PSL v2 at:

--- 175 unchanged lines hidden (view full) ---

184 val openLLCParam = socParam.OpenLLCParamsOpt.map(_.copy(
185 sets = openLLCSets.get
186 ))
187 socParam.copy(
188 L3CacheParamsOpt = newL3Param,
189 OpenLLCParamsOpt = openLLCParam
190 )
191 }), tail)
192 case "--enable-dfx" :: tail =>
192 case "--dfx" :: value :: tail =>
193 nextOption(config.alter((site, here, up) => {
193 nextOption(config.alter((site, here, up) => {
194 case XSTileKey => up(XSTileKey).map(_.copy(hasMbist = true))
194 case XSTileKey => up(XSTileKey).map(_.copy(hasMbist = value.toBoolean))
195 }), tail)
196 case "--seperate-dm-bus" :: tail =>
197 nextOption(config.alter((site, here, up) => {
198 case SoCParamsKey => up(SoCParamsKey).copy(SeperateDMBus = true)
199 }), tail)
200 case "--yaml-config" :: yamlFile :: tail =>
201 nextOption(YamlParser.parseYaml(config, yamlFile), tail)
202 case option :: tail =>

--- 22 unchanged lines hidden ---
195 }), tail)
196 case "--seperate-dm-bus" :: tail =>
197 nextOption(config.alter((site, here, up) => {
198 case SoCParamsKey => up(SoCParamsKey).copy(SeperateDMBus = true)
199 }), tail)
200 case "--yaml-config" :: yamlFile :: tail =>
201 nextOption(YamlParser.parseYaml(config, yamlFile), tail)
202 case option :: tail =>

--- 22 unchanged lines hidden ---