case class SpinalSimConfig(_workspacePath: String = ..., _workspaceName: String = null, _waveDepth: Int = 0, _spinalConfig: SpinalConfig = SpinalConfig(), _optimisationLevel: Int = 0, _simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), _runFlags: ArrayBuffer[String] = ArrayBuffer[String](), _additionalRtlPath: ArrayBuffer[String] = ArrayBuffer[String](), _additionalIncludeDir: ArrayBuffer[String] = ArrayBuffer[String](), _waveFormat: WaveFormat = WaveFormat.NONE, _backend: SpinalSimBackendSel = SpinalSimBackendSel.VERILATOR, _withCoverage: Boolean = false, _maxCacheEntries: Int = 100, _cachePath: String = null, _disableCache: Boolean = false, _withLogging: Boolean = false, _vcsCC: Option[String] = None, _vcsLd: Option[String] = None, _vcsUserFlags: VCSFlags = VCSFlags(), _vcsSimSetupFile: String = null, _vcsEnvSetup: () ⇒ Unit = null, _xciSourcesPaths: ArrayBuffer[String] = ArrayBuffer[String](), _bdSourcesPaths: ArrayBuffer[String] = ArrayBuffer[String](), _xilinxDevice: String = "xc7vx485tffg1157-1", _simScript: String = null, _timePrecision: TimeNumber = null, _timeScale: TimeNumber = null, _testPath: String = "$WORKSPACE/$COMPILED/$TEST", _waveFilePrefix: String = null, _ghdlFlags: GhdlFlags = GhdlFlags()) extends Product with Serializable
SpinalSim configuration
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SpinalSimConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SpinalSimConfig(_workspacePath: String = ..., _workspaceName: String = null, _waveDepth: Int = 0, _spinalConfig: SpinalConfig = SpinalConfig(), _optimisationLevel: Int = 0, _simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), _runFlags: ArrayBuffer[String] = ArrayBuffer[String](), _additionalRtlPath: ArrayBuffer[String] = ArrayBuffer[String](), _additionalIncludeDir: ArrayBuffer[String] = ArrayBuffer[String](), _waveFormat: WaveFormat = WaveFormat.NONE, _backend: SpinalSimBackendSel = SpinalSimBackendSel.VERILATOR, _withCoverage: Boolean = false, _maxCacheEntries: Int = 100, _cachePath: String = null, _disableCache: Boolean = false, _withLogging: Boolean = false, _vcsCC: Option[String] = None, _vcsLd: Option[String] = None, _vcsUserFlags: VCSFlags = VCSFlags(), _vcsSimSetupFile: String = null, _vcsEnvSetup: () ⇒ Unit = null, _xciSourcesPaths: ArrayBuffer[String] = ArrayBuffer[String](), _bdSourcesPaths: ArrayBuffer[String] = ArrayBuffer[String](), _xilinxDevice: String = "xc7vx485tffg1157-1", _simScript: String = null, _timePrecision: TimeNumber = null, _timeScale: TimeNumber = null, _testPath: String = "$WORKSPACE/$COMPILED/$TEST", _waveFilePrefix: String = null, _ghdlFlags: GhdlFlags = GhdlFlags())
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var _additionalIncludeDir: ArrayBuffer[String]
- var _additionalRtlPath: ArrayBuffer[String]
- var _backend: SpinalSimBackendSel
- var _bdSourcesPaths: ArrayBuffer[String]
- var _cachePath: String
- var _disableCache: Boolean
- var _ghdlFlags: GhdlFlags
- var _maxCacheEntries: Int
- var _optimisationLevel: Int
- var _runFlags: ArrayBuffer[String]
- var _simScript: String
- var _simulatorFlags: ArrayBuffer[String]
- var _spinalConfig: SpinalConfig
- var _testPath: String
- var _timePrecision: TimeNumber
- var _timeScale: TimeNumber
- var _vcsCC: Option[String]
- var _vcsEnvSetup: () ⇒ Unit
- var _vcsLd: Option[String]
- var _vcsSimSetupFile: String
- var _vcsUserFlags: VCSFlags
- var _waveDepth: Int
- var _waveFilePrefix: String
- var _waveFormat: WaveFormat
- var _withCoverage: Boolean
- var _withLogging: Boolean
- var _workspaceName: String
- var _workspacePath: String
- var _xciSourcesPaths: ArrayBuffer[String]
- var _xilinxDevice: String
- def addIncludeDir(that: String): SpinalSimConfig.this.type
- def addOptions(parser: OptionParser[Unit]): Unit
- def addRtl(that: String): SpinalSimConfig.this.type
- def addRunFlag(flag: String): SpinalSimConfig.this.type
- def addSimulatorFlag(flag: String): SpinalSimConfig.this.type
- def allOptimisation: SpinalSimConfig.this.type
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cachePath(path: String): SpinalSimConfig.this.type
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def compile[T <: Component](report: SpinalReport[T]): SimCompiled[T]
- def compile[T <: Component](rtl: ⇒ T): SimCompiled[T]
- def compileCloned[T <: Component](rtl: ⇒ T): SimCompiled[T]
- def disableCache: SpinalSimConfig.this.type
- def doSim[T <: Component](rtl: ⇒ T, name: String, seed: Int)(body: (T) ⇒ Unit): Unit
- def doSim[T <: Component](rtl: ⇒ T, name: String)(body: (T) ⇒ Unit): Unit
- def doSim[T <: Component](rtl: ⇒ T)(body: (T) ⇒ Unit): Unit
- def doSim[T <: Component](report: SpinalReport[T], name: String, seed: Int)(body: (T) ⇒ Unit): Unit
- def doSim[T <: Component](report: SpinalReport[T], name: String)(body: (T) ⇒ Unit): Unit
- def doSim[T <: Component](report: SpinalReport[T])(body: (T) ⇒ Unit): Unit
- def doSimUntilVoid[T <: Component](rtl: ⇒ T, name: String, seed: Int)(body: (T) ⇒ Unit): Unit
- def doSimUntilVoid[T <: Component](rtl: ⇒ T, name: String)(body: (T) ⇒ Unit): Unit
- def doSimUntilVoid[T <: Component](rtl: ⇒ T)(body: (T) ⇒ Unit): Unit
- def doSimUntilVoid[T <: Component](report: SpinalReport[T], name: String, seed: Int)(body: (T) ⇒ Unit): Unit
- def doSimUntilVoid[T <: Component](report: SpinalReport[T], name: String)(body: (T) ⇒ Unit): Unit
- def doSimUntilVoid[T <: Component](report: SpinalReport[T])(body: (T) ⇒ Unit): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fewOptimisation: SpinalSimConfig.this.type
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getTestPath(test: String): String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maxCacheEntries(count: Int): SpinalSimConfig.this.type
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noOptimisation: SpinalSimConfig.this.type
- def normalOptimisation: SpinalSimConfig.this.type
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def setTestPath(path: String): SpinalSimConfig.this.type
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def waveFilePrefix(prefix: String): SpinalSimConfig.this.type
- def withConfig(config: SpinalConfig): SpinalSimConfig.this.type
- def withCoverage: SpinalSimConfig.this.type
- def withFSDBWave: SpinalSimConfig.this.type
- def withFsdbWave: SpinalSimConfig.this.type
- def withFstWave: SpinalSimConfig.this.type
- def withGHDL(ghdlFlags: GhdlFlags = GhdlFlags()): SpinalSimConfig
- def withGhdl(): SpinalSimConfig.this.type
- def withIVerilog: SpinalSimConfig.this.type
- def withLogging: SpinalSimConfig.this.type
- def withSimScript(script: String): SpinalSimConfig.this.type
- def withTestFolder: SpinalSimConfig.this.type
- def withTimePrecision(timePrecision: TimeNumber): SpinalSimConfig.this.type
- def withTimeScale(timeScale: TimeNumber): SpinalSimConfig.this.type
- def withTimeSpec(timeScale: TimeNumber, timePrecision: TimeNumber): SpinalSimConfig.this.type
- def withVCS(vcsFlags: VCSFlags = VCSFlags()): SpinalSimConfig.this.type
- def withVCS: SpinalSimConfig.this.type
- def withVCSCc(cc: String): SpinalSimConfig.this.type
- def withVCSLd(ld: String): SpinalSimConfig.this.type
- def withVCSSimSetup(setupFile: String, beforeAnalysis: () ⇒ Unit): SpinalSimConfig.this.type
- def withVPDWave: SpinalSimConfig.this.type
- def withVcdWave: SpinalSimConfig.this.type
- def withVcs: SpinalSimConfig.this.type
- def withVerilator: SpinalSimConfig.this.type
- def withVpdWave: SpinalSimConfig.this.type
- def withWave(depth: Int): SpinalSimConfig.this.type
- def withWave: SpinalSimConfig.this.type
- def withWaveDepth(depth: Int): SpinalSimConfig.this.type
- def withXSim: SpinalSimConfig.this.type
- def withXSimSourcesPaths(xciSourcesPaths: ArrayBuffer[String], bdSourcesPaths: ArrayBuffer[String]): SpinalSimConfig.this.type
- def withXilinxDevice(xilinxDevice: String): SpinalSimConfig.this.type
- def workspaceName(name: String): SpinalSimConfig.this.type
- def workspacePath(path: String): SpinalSimConfig.this.type
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated