ArgParser.scala (414f1bf40efa355d251b0dc2e7f2060a7eaf03b7) | ArgParser.scala (5bd65c56355db1d4f5b92a3815df78273c01b892) |
---|---|
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: --- 170 unchanged lines hidden (view full) --- 179 val openLLCParam = socParam.OpenLLCParamsOpt.map(_.copy( 180 sets = openLLCSets.get 181 )) 182 socParam.copy( 183 L3CacheParamsOpt = newL3Param, 184 OpenLLCParamsOpt = openLLCParam 185 ) 186 }), 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: --- 170 unchanged lines hidden (view full) --- 179 val openLLCParam = socParam.OpenLLCParamsOpt.map(_.copy( 180 sets = openLLCSets.get 181 )) 182 socParam.copy( 183 L3CacheParamsOpt = newL3Param, 184 OpenLLCParamsOpt = openLLCParam 185 ) 186 }), tail) |
187 case "--yaml-config" :: yamlFile :: tail => 188 nextOption(YamlParser.parseYaml(config, yamlFile), tail) |
|
187 case option :: tail => 188 // unknown option, maybe a firrtl option, skip 189 firrtlOpts :+= option 190 nextOption(config, tail) 191 } 192 } 193 val newArgs = DifftestModule.parseArgs(args) 194 val config = nextOption(default, newArgs.toList).alter((site, here, up) => { --- 14 unchanged lines hidden --- | 189 case option :: tail => 190 // unknown option, maybe a firrtl option, skip 191 firrtlOpts :+= option 192 nextOption(config, tail) 193 } 194 } 195 val newArgs = DifftestModule.parseArgs(args) 196 val config = nextOption(default, newArgs.toList).alter((site, here, up) => { --- 14 unchanged lines hidden --- |