Class

spinal.core.sim

SpinalSimConfig

Related Doc: package sim

Permalink

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpinalSimConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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())

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var _additionalIncludeDir: ArrayBuffer[String]

    Permalink
  5. var _additionalRtlPath: ArrayBuffer[String]

    Permalink
  6. var _backend: SpinalSimBackendSel

    Permalink
  7. var _bdSourcesPaths: ArrayBuffer[String]

    Permalink
  8. var _cachePath: String

    Permalink
  9. var _disableCache: Boolean

    Permalink
  10. var _ghdlFlags: GhdlFlags

    Permalink
  11. var _maxCacheEntries: Int

    Permalink
  12. var _optimisationLevel: Int

    Permalink
  13. var _runFlags: ArrayBuffer[String]

    Permalink
  14. var _simScript: String

    Permalink
  15. var _simulatorFlags: ArrayBuffer[String]

    Permalink
  16. var _spinalConfig: SpinalConfig

    Permalink
  17. var _testPath: String

    Permalink
  18. var _timePrecision: TimeNumber

    Permalink
  19. var _timeScale: TimeNumber

    Permalink
  20. var _vcsCC: Option[String]

    Permalink
  21. var _vcsEnvSetup: () ⇒ Unit

    Permalink
  22. var _vcsLd: Option[String]

    Permalink
  23. var _vcsSimSetupFile: String

    Permalink
  24. var _vcsUserFlags: VCSFlags

    Permalink
  25. var _waveDepth: Int

    Permalink
  26. var _waveFilePrefix: String

    Permalink
  27. var _waveFormat: WaveFormat

    Permalink
  28. var _withCoverage: Boolean

    Permalink
  29. var _withLogging: Boolean

    Permalink
  30. var _workspaceName: String

    Permalink
  31. var _workspacePath: String

    Permalink
  32. var _xciSourcesPaths: ArrayBuffer[String]

    Permalink
  33. var _xilinxDevice: String

    Permalink
  34. def addIncludeDir(that: String): SpinalSimConfig.this.type

    Permalink
  35. def addOptions(parser: OptionParser[Unit]): Unit

    Permalink
  36. def addRtl(that: String): SpinalSimConfig.this.type

    Permalink
  37. def addRunFlag(flag: String): SpinalSimConfig.this.type

    Permalink
  38. def addSimulatorFlag(flag: String): SpinalSimConfig.this.type

    Permalink
  39. def allOptimisation: SpinalSimConfig.this.type

    Permalink
  40. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  41. def cachePath(path: String): SpinalSimConfig.this.type

    Permalink
  42. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  43. def compile[T <: Component](report: SpinalReport[T]): SimCompiled[T]

    Permalink
  44. def compile[T <: Component](rtl: ⇒ T): SimCompiled[T]

    Permalink
  45. def compileCloned[T <: Component](rtl: ⇒ T): SimCompiled[T]

    Permalink
  46. def disableCache: SpinalSimConfig.this.type

    Permalink
  47. def doSim[T <: Component](rtl: ⇒ T, name: String, seed: Int)(body: (T) ⇒ Unit): Unit

    Permalink
  48. def doSim[T <: Component](rtl: ⇒ T, name: String)(body: (T) ⇒ Unit): Unit

    Permalink
  49. def doSim[T <: Component](rtl: ⇒ T)(body: (T) ⇒ Unit): Unit

    Permalink
  50. def doSim[T <: Component](report: SpinalReport[T], name: String, seed: Int)(body: (T) ⇒ Unit): Unit

    Permalink
  51. def doSim[T <: Component](report: SpinalReport[T], name: String)(body: (T) ⇒ Unit): Unit

    Permalink
  52. def doSim[T <: Component](report: SpinalReport[T])(body: (T) ⇒ Unit): Unit

    Permalink
  53. def doSimUntilVoid[T <: Component](rtl: ⇒ T, name: String, seed: Int)(body: (T) ⇒ Unit): Unit

    Permalink
  54. def doSimUntilVoid[T <: Component](rtl: ⇒ T, name: String)(body: (T) ⇒ Unit): Unit

    Permalink
  55. def doSimUntilVoid[T <: Component](rtl: ⇒ T)(body: (T) ⇒ Unit): Unit

    Permalink
  56. def doSimUntilVoid[T <: Component](report: SpinalReport[T], name: String, seed: Int)(body: (T) ⇒ Unit): Unit

    Permalink
  57. def doSimUntilVoid[T <: Component](report: SpinalReport[T], name: String)(body: (T) ⇒ Unit): Unit

    Permalink
  58. def doSimUntilVoid[T <: Component](report: SpinalReport[T])(body: (T) ⇒ Unit): Unit

    Permalink
  59. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. def fewOptimisation: SpinalSimConfig.this.type

    Permalink
  61. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  62. def getTestPath(test: String): String

    Permalink
  63. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  64. def maxCacheEntries(count: Int): SpinalSimConfig.this.type

    Permalink
  65. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  66. def noOptimisation: SpinalSimConfig.this.type

    Permalink
  67. def normalOptimisation: SpinalSimConfig.this.type

    Permalink
  68. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  69. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  70. def setTestPath(path: String): SpinalSimConfig.this.type

    Permalink
  71. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  72. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. def waveFilePrefix(prefix: String): SpinalSimConfig.this.type

    Permalink
  76. def withConfig(config: SpinalConfig): SpinalSimConfig.this.type

    Permalink
  77. def withCoverage: SpinalSimConfig.this.type

    Permalink
  78. def withFSDBWave: SpinalSimConfig.this.type

    Permalink
  79. def withFsdbWave: SpinalSimConfig.this.type

    Permalink
  80. def withFstWave: SpinalSimConfig.this.type

    Permalink
  81. def withGHDL(ghdlFlags: GhdlFlags = GhdlFlags()): SpinalSimConfig

    Permalink
  82. def withGhdl(): SpinalSimConfig.this.type

    Permalink
  83. def withIVerilog: SpinalSimConfig.this.type

    Permalink
  84. def withLogging: SpinalSimConfig.this.type

    Permalink
  85. def withSimScript(script: String): SpinalSimConfig.this.type

    Permalink
  86. def withTestFolder: SpinalSimConfig.this.type

    Permalink
  87. def withTimePrecision(timePrecision: TimeNumber): SpinalSimConfig.this.type

    Permalink
  88. def withTimeScale(timeScale: TimeNumber): SpinalSimConfig.this.type

    Permalink
  89. def withTimeSpec(timeScale: TimeNumber, timePrecision: TimeNumber): SpinalSimConfig.this.type

    Permalink
  90. def withVCS(vcsFlags: VCSFlags = VCSFlags()): SpinalSimConfig.this.type

    Permalink
  91. def withVCS: SpinalSimConfig.this.type

    Permalink
  92. def withVCSCc(cc: String): SpinalSimConfig.this.type

    Permalink
  93. def withVCSLd(ld: String): SpinalSimConfig.this.type

    Permalink
  94. def withVCSSimSetup(setupFile: String, beforeAnalysis: () ⇒ Unit): SpinalSimConfig.this.type

    Permalink
  95. def withVPDWave: SpinalSimConfig.this.type

    Permalink
  96. def withVcdWave: SpinalSimConfig.this.type

    Permalink
  97. def withVcs: SpinalSimConfig.this.type

    Permalink
  98. def withVerilator: SpinalSimConfig.this.type

    Permalink
  99. def withVpdWave: SpinalSimConfig.this.type

    Permalink
  100. def withWave(depth: Int): SpinalSimConfig.this.type

    Permalink
  101. def withWave: SpinalSimConfig.this.type

    Permalink
  102. def withWaveDepth(depth: Int): SpinalSimConfig.this.type

    Permalink
  103. def withXSim: SpinalSimConfig.this.type

    Permalink
  104. def withXSimSourcesPaths(xciSourcesPaths: ArrayBuffer[String], bdSourcesPaths: ArrayBuffer[String]): SpinalSimConfig.this.type

    Permalink
  105. def withXilinxDevice(xilinxDevice: String): SpinalSimConfig.this.type

    Permalink
  106. def workspaceName(name: String): SpinalSimConfig.this.type

    Permalink
  107. def workspacePath(path: String): SpinalSimConfig.this.type

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped