A few plugins config are now var

This commit is contained in:
Dolu1990 2023-03-22 11:06:56 +01:00
parent 4972a27ae9
commit 5b47564024
4 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ case class CsrPluginConfig(
csrOhDecoder : Boolean = true,
deterministicInteruptionEntry : Boolean = false, //Only used for simulatation purposes
wfiOutput : Boolean = false,
withPrivilegedDebug : Boolean = false, //For the official RISC-V debug spec implementation
var withPrivilegedDebug : Boolean = false, //For the official RISC-V debug spec implementation
var debugTriggers : Int = 2
){
assert(!ucycleAccess.canWrite)

View File

@ -48,7 +48,7 @@ case class TightlyCoupledDataPort(p : TightlyCoupledDataPortParameter, var bus :
class DBusCachedPlugin(val config : DataCacheConfig,
memoryTranslatorPortConfig : Any = null,
dBusCmdMasterPipe : Boolean = false,
var dBusCmdMasterPipe : Boolean = false,
dBusCmdSlavePipe : Boolean = false,
dBusRspSlavePipe : Boolean = false,
relaxedMemoryTranslationRegister : Boolean = false,

View File

@ -11,7 +11,7 @@ import scala.collection.mutable.ArrayBuffer
//TODO val killLastStage = jump.pcLoad.valid || decode.arbitration.isRemoved
// DBUSSimple check memory halt execute optimization
abstract class IBusFetcherImpl(val resetVector : BigInt,
abstract class IBusFetcherImpl(var resetVector : BigInt,
val keepPcPlus4 : Boolean,
val decodePcGen : Boolean,
val compressedGen : Boolean,

View File

@ -23,7 +23,7 @@ class FpuAcessPort(val p : FpuParameter) extends Bundle{
}
class FpuPlugin(externalFpu : Boolean = false,
simHalt : Boolean = false,
var simHalt : Boolean = false,
val p : FpuParameter) extends Plugin[VexRiscv] with VexRiscvRegressionArg {
object FPU_ENABLE extends Stageable(Bool())