Parameters.scala (a7904e27b815bae5304bd1e72fc294dc8749bb6e) Parameters.scala (4b2c87ba1d7965f6f2b0a396be707a6e2f6fb345)
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

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

349 sets = 1024, // default 512KB L2
350 prefetch = Seq(coupledL2.prefetch.PrefetchReceiverParams(), coupledL2.prefetch.BOPParameters(),
351 coupledL2.prefetch.TPParameters()),
352 )),
353 L2NBanks: Int = 1,
354 usePTWRepeater: Boolean = false,
355 softTLB: Boolean = false, // dpi-c l1tlb debug only
356 softPTW: Boolean = false, // dpi-c l2tlb debug only
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

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

349 sets = 1024, // default 512KB L2
350 prefetch = Seq(coupledL2.prefetch.PrefetchReceiverParams(), coupledL2.prefetch.BOPParameters(),
351 coupledL2.prefetch.TPParameters()),
352 )),
353 L2NBanks: Int = 1,
354 usePTWRepeater: Boolean = false,
355 softTLB: Boolean = false, // dpi-c l1tlb debug only
356 softPTW: Boolean = false, // dpi-c l2tlb debug only
357 softPTWDelay: Int = 1
357 softPTWDelay: Int = 1,
358 hasMbist:Boolean = false
358){
359 def ISABase = "rv64i"
360 def ISAExtensions = Seq(
361 // single letter extensions, in canonical order
362 "i", "m", "a", "f", "d", "c", /* "b", */ "v", "h",
363 // multi-letter extensions, sorted alphanumerically
364 "sdtrig", "sha", "shcounterenw", "shgatpa", "shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
365 "shvstvecd", "smaia", "smcsrind", "smdbltrp", "smmpm", "smnpm", "smrnmi", "smstateen",

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

899 def CauseWidth = XLEN
900 def TvalWidth = coreParams.traceParams.IaddrWidth
901 def PrivWidth = coreParams.traceParams.PrivWidth
902 def IaddrWidth = coreParams.traceParams.IaddrWidth
903 def ItypeWidth = coreParams.traceParams.ItypeWidth
904 def IretireWidthInPipe = log2Up(RenameWidth * 2)
905 def IretireWidthCompressed = log2Up(RenameWidth * CommitWidth * 2)
906 def IlastsizeWidth = coreParams.traceParams.IlastsizeWidth
359){
360 def ISABase = "rv64i"
361 def ISAExtensions = Seq(
362 // single letter extensions, in canonical order
363 "i", "m", "a", "f", "d", "c", /* "b", */ "v", "h",
364 // multi-letter extensions, sorted alphanumerically
365 "sdtrig", "sha", "shcounterenw", "shgatpa", "shlcofideleg", "shtvala", "shvsatpa", "shvstvala",
366 "shvstvecd", "smaia", "smcsrind", "smdbltrp", "smmpm", "smnpm", "smrnmi", "smstateen",

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

900 def CauseWidth = XLEN
901 def TvalWidth = coreParams.traceParams.IaddrWidth
902 def PrivWidth = coreParams.traceParams.PrivWidth
903 def IaddrWidth = coreParams.traceParams.IaddrWidth
904 def ItypeWidth = coreParams.traceParams.ItypeWidth
905 def IretireWidthInPipe = log2Up(RenameWidth * 2)
906 def IretireWidthCompressed = log2Up(RenameWidth * CommitWidth * 2)
907 def IlastsizeWidth = coreParams.traceParams.IlastsizeWidth
908
909 def hasMbist = coreParams.hasMbist
907}
910}