c

spinal.core.sim

SpinalSimConfig

case class SpinalSimConfig(_workspacePath: String = System.getenv().getOrDefault("SPINALSIM_WORKSPACE","./simWorkspace"), _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") extends Product with Serializable

SpinalSim configuration

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpinalSimConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SpinalSimConfig(_workspacePath: String = System.getenv().getOrDefault("SPINALSIM_WORKSPACE","./simWorkspace"), _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")

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _additionalIncludeDir: ArrayBuffer[String]
  5. var _additionalRtlPath: ArrayBuffer[String]
  6. var _backend: SpinalSimBackendSel
  7. var _bdSourcesPaths: ArrayBuffer[String]
  8. var _cachePath: String
  9. var _disableCache: Boolean
  10. var _maxCacheEntries: Int
  11. var _optimisationLevel: Int
  12. var _runFlags: ArrayBuffer[String]
  13. var _simScript: String
  14. var _simulatorFlags: ArrayBuffer[String]
  15. var _spinalConfig: SpinalConfig
  16. var _testPath: String
  17. var _timePrecision: TimeNumber
  18. var _timeScale: TimeNumber
  19. var _vcsCC: Option[String]
  20. var _vcsEnvSetup: () => Unit
  21. var _vcsLd: Option[String]
  22. var _vcsSimSetupFile: String
  23. var _vcsUserFlags: VCSFlags
  24. var _waveDepth: Int
  25. var _waveFormat: WaveFormat
  26. var _withCoverage: Boolean
  27. var _withLogging: Boolean
  28. var _workspaceName: String
  29. var _workspacePath: String
  30. var _xciSourcesPaths: ArrayBuffer[String]
  31. var _xilinxDevice: String
  32. def addIncludeDir(that: String): SpinalSimConfig.this.type
  33. def addRtl(that: String): SpinalSimConfig.this.type
  34. def addRunFlag(flag: String): SpinalSimConfig.this.type
  35. def addSimulatorFlag(flag: String): SpinalSimConfig.this.type
  36. def allOptimisation: SpinalSimConfig.this.type
  37. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  38. def cachePath(path: String): SpinalSimConfig.this.type
  39. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  40. def compile[T <: Component](report: SpinalReport[T]): SimCompiled[T]
  41. def compile[T <: Component](rtl: => T): SimCompiled[T]
  42. def compileCloned[T <: Component](rtl: => T): SimCompiled[T]
  43. def disableCache: SpinalSimConfig.this.type
  44. def doSim[T <: Component](rtl: => T, name: String, seed: Int)(body: (T) => Unit): Unit
  45. def doSim[T <: Component](rtl: => T, name: String)(body: (T) => Unit): Unit
  46. def doSim[T <: Component](rtl: => T)(body: (T) => Unit): Unit
  47. def doSim[T <: Component](report: SpinalReport[T], name: String, seed: Int)(body: (T) => Unit): Unit
  48. def doSim[T <: Component](report: SpinalReport[T], name: String)(body: (T) => Unit): Unit
  49. def doSim[T <: Component](report: SpinalReport[T])(body: (T) => Unit): Unit
  50. def doSimUntilVoid[T <: Component](rtl: => T, name: String, seed: Int)(body: (T) => Unit): Unit
  51. def doSimUntilVoid[T <: Component](rtl: => T, name: String)(body: (T) => Unit): Unit
  52. def doSimUntilVoid[T <: Component](rtl: => T)(body: (T) => Unit): Unit
  53. def doSimUntilVoid[T <: Component](report: SpinalReport[T], name: String, seed: Int)(body: (T) => Unit): Unit
  54. def doSimUntilVoid[T <: Component](report: SpinalReport[T], name: String)(body: (T) => Unit): Unit
  55. def doSimUntilVoid[T <: Component](report: SpinalReport[T])(body: (T) => Unit): Unit
  56. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  57. def fewOptimisation: SpinalSimConfig.this.type
  58. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  59. def getTestPath(test: String): String
  60. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  61. def maxCacheEntries(count: Int): SpinalSimConfig.this.type
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. def noOptimisation: SpinalSimConfig.this.type
  64. def normalOptimisation: SpinalSimConfig.this.type
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  67. def productElementNames: Iterator[String]
    Definition Classes
    Product
  68. def setTestPath(path: String): SpinalSimConfig.this.type
  69. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  73. def withConfig(config: SpinalConfig): SpinalSimConfig.this.type
  74. def withCoverage: SpinalSimConfig.this.type
  75. def withFSDBWave: SpinalSimConfig.this.type
  76. def withFsdbWave: SpinalSimConfig.this.type
  77. def withFstWave: SpinalSimConfig.this.type
  78. def withGhdl: SpinalSimConfig.this.type
  79. def withIVerilog: SpinalSimConfig.this.type
  80. def withLogging: SpinalSimConfig.this.type
  81. def withSimScript(script: String): SpinalSimConfig.this.type
  82. def withTestFolder: SpinalSimConfig.this.type
  83. def withTimePrecision(timePrecision: TimeNumber): SpinalSimConfig.this.type
  84. def withTimeScale(timeScale: TimeNumber): SpinalSimConfig.this.type
  85. def withVCS(vcsFlags: VCSFlags = VCSFlags()): SpinalSimConfig.this.type
  86. def withVCS: SpinalSimConfig.this.type
  87. def withVCSCc(cc: String): SpinalSimConfig.this.type
  88. def withVCSLd(ld: String): SpinalSimConfig.this.type
  89. def withVCSSimSetup(setupFile: String, beforeAnalysis: () => Unit): SpinalSimConfig.this.type
  90. def withVPDWave: SpinalSimConfig.this.type
  91. def withVcdWave: SpinalSimConfig.this.type
  92. def withVcs: SpinalSimConfig.this.type
  93. def withVerilator: SpinalSimConfig.this.type
  94. def withVpdWave: SpinalSimConfig.this.type
  95. def withWave(depth: Int): SpinalSimConfig.this.type
  96. def withWave: SpinalSimConfig.this.type
  97. def withWaveDepth(depth: Int): SpinalSimConfig.this.type
  98. def withXSim: SpinalSimConfig.this.type
  99. def withXSimSourcesPaths(xciSourcesPaths: ArrayBuffer[String], bdSourcesPaths: ArrayBuffer[String]): SpinalSimConfig.this.type
  100. def withXilinxDevice(xilinxDevice: String): SpinalSimConfig.this.type
  101. def workspaceName(name: String): SpinalSimConfig.this.type
  102. def workspacePath(path: String): SpinalSimConfig.this.type

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped