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](), _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) 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](), _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)

    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 _maxCacheEntries: Int

    Permalink
  11. var _optimisationLevel: Int

    Permalink
  12. var _simScript: String

    Permalink
  13. var _simulatorFlags: ArrayBuffer[String]

    Permalink
  14. var _spinalConfig: SpinalConfig

    Permalink
  15. var _vcsCC: Option[String]

    Permalink
  16. var _vcsEnvSetup: () ⇒ Unit

    Permalink
  17. var _vcsLd: Option[String]

    Permalink
  18. var _vcsSimSetupFile: String

    Permalink
  19. var _vcsUserFlags: VCSFlags

    Permalink
  20. var _waveDepth: Int

    Permalink
  21. var _waveFormat: WaveFormat

    Permalink
  22. var _withCoverage: Boolean

    Permalink
  23. var _withLogging: Boolean

    Permalink
  24. var _workspaceName: String

    Permalink
  25. var _workspacePath: String

    Permalink
  26. var _xciSourcesPaths: ArrayBuffer[String]

    Permalink
  27. var _xilinxDevice: String

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

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

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

    Permalink
  31. def allOptimisation: SpinalSimConfig.this.type

    Permalink
  32. final def asInstanceOf[T0]: T0

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

    Permalink
  34. def clone(): AnyRef

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

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

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

    Permalink
  38. def disableCache: SpinalSimConfig.this.type

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  54. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
  58. def normalOptimisation: SpinalSimConfig.this.type

    Permalink
  59. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  60. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  61. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def withConfig(config: SpinalConfig): SpinalSimConfig.this.type

    Permalink
  66. def withCoverage: SpinalSimConfig.this.type

    Permalink
  67. def withFSDBWave: SpinalSimConfig.this.type

    Permalink
  68. def withFsdbWave: SpinalSimConfig.this.type

    Permalink
  69. def withFstWave: SpinalSimConfig.this.type

    Permalink
  70. def withGhdl: SpinalSimConfig.this.type

    Permalink
  71. def withIVerilog: SpinalSimConfig.this.type

    Permalink
  72. def withLogging: SpinalSimConfig.this.type

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

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

    Permalink
  75. def withVCS: SpinalSimConfig.this.type

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

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

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

    Permalink
  79. def withVPDWave: SpinalSimConfig.this.type

    Permalink
  80. def withVcdWave: SpinalSimConfig.this.type

    Permalink
  81. def withVcs: SpinalSimConfig.this.type

    Permalink
  82. def withVerilator: SpinalSimConfig.this.type

    Permalink
  83. def withVpdWave: SpinalSimConfig.this.type

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

    Permalink
  85. def withWave: SpinalSimConfig.this.type

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

    Permalink
  87. def withXSim: SpinalSimConfig.this.type

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

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

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

    Permalink
  91. 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