package
sim
Type Members
-
-
implicit
class
SimAFixPimper extends AnyRef
-
-
-
-
-
-
implicit
class
SimBoolPimper extends AnyRef
-
-
-
-
case class
SimConfigLegacy[T <: Component](_rtlGen: Option[() ⇒ T] = None, _spinalConfig: SpinalConfig = SpinalConfig(), _spinalReport: Option[SpinalReport[T]] = None) extends Product with Serializable
-
implicit
class
SimDataPimper[T <: Data] extends AnyRef
-
-
abstract
class
SimFix[T <: XFix[_, _]] extends AnyRef
-
implicit
class
SimMemPimper[T <: Data] extends AnyRef
-
case class
SimMutex() extends Product with Serializable
-
-
-
implicit
class
SimSeqPimper[T] extends AnyRef
-
-
-
-
-
case class
SpinalGhdlBackendConfig[T <: Component](rtl: SpinalReport[T], waveFormat: WaveFormat = WaveFormat.NONE, workspacePath: String = "./", workspaceName: String = null, wavePath: String = null, wavePrefix: String = null, waveDepth: Int = 0, optimisationLevel: Int = 2, simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), usePluginsCache: Boolean = true, pluginsCachePath: String = "./simWorkspace/.pluginsCachePath", enableLogging: Boolean = false, timePrecision: TimeNumber = null) extends SpinalVpiBackendConfig[T] with Product with Serializable
-
case class
SpinalIVerilogBackendConfig[T <: Component](rtl: SpinalReport[T], waveFormat: WaveFormat = WaveFormat.NONE, workspacePath: String = "./", workspaceName: String = null, wavePath: String = null, wavePrefix: String = null, waveDepth: Int = 0, optimisationLevel: Int = 2, simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), usePluginsCache: Boolean = true, pluginsCachePath: String = "./simWorkspace/.pluginsCachePath", enableLogging: Boolean = false, timePrecision: TimeNumber = null) extends SpinalVpiBackendConfig[T] with Product with Serializable
-
-
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, _timePrecision: TimeNumber = null, _timeScale: TimeNumber = null) extends Product with Serializable
-
case class
SpinalVCSBackendConfig[T <: Component](rtl: SpinalReport[T], waveFormat: WaveFormat = WaveFormat.NONE, workspacePath: String = "./", workspaceName: String = null, wavePath: String = null, wavePrefix: String = null, waveDepth: Int = 0, optimisationLevel: Int = 2, simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), usePluginsCache: Boolean = true, pluginsCachePath: String = "./simWorkspace/.pluginsCachePath", enableLogging: Boolean = false, timePrecision: TimeNumber = null, simSetupFile: String = null, envSetup: () ⇒ Unit = null, vcsFlags: VCSFlags = null, compileFlags: List[String] = null, elaborateFlags: List[String] = null, runFlags: List[String] = null, vcsCC: Option[String] = None, vcsLd: Option[String] = None) extends SpinalVpiBackendConfig[T] with Product with Serializable
-
case class
SpinalVerilatorBackendConfig[T <: Component](rtl: SpinalReport[T], waveFormat: WaveFormat = WaveFormat.NONE, maxCacheEntries: Int = 100, cachePath: String = null, workspacePath: String = "./", workspaceName: String = null, vcdPath: String = null, vcdPrefix: String = null, waveDepth: Int = 0, optimisationLevel: Int = 2, simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), withCoverage: Boolean, timePrecision: TimeNumber = null) extends Product with Serializable
-
-
case class
SpinalXSimBackendConfig[T <: Component](rtl: SpinalReport[T], xciSourcesPaths: ArrayBuffer[String] = ArrayBuffer[String](), bdSourcesPaths: ArrayBuffer[String] = ArrayBuffer[String](), waveFormat: WaveFormat, workspacePath: String, workspaceName: String, wavePath: String, xilinxDevice: String, simScript: String, simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String](), timePrecision: TimeNumber = null) extends Product with Serializable
-
Value Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
def
delayed(delay: TimeNumber)(body: ⇒ Unit): Unit
-
def
delayed(delay: Long)(body: ⇒ Unit): Unit
-
def
disableSimWave(): Unit
-
def
enableSimWave(): Unit
-
def
fork(body: ⇒ Unit): SimThread
-
def
forkJoin(bodys: () ⇒ Unit*): Unit
-
def
forkSensitive(trigger: ⇒ Any)(block: ⇒ Unit): Unit
-
def
forkSensitive(triggers: Data)(block: ⇒ Unit): Unit
-
def
forkSensitive(block: ⇒ Unit): Unit
-
def
forkSensitive2(triggers: Data*)(block: ⇒ Unit): Unit
-
def
forkSensitiveWhile(block: ⇒ Boolean): Unit
-
def
forkSimSporadicWave(captures: Seq[(Double, Double)], enableTime: Double = 1e-7, disableTime: Double = 1e-4, timeUnit: Double = 1e12): Unit
-
def
getBigInt[T <: Data](mem: Mem[T], address: Long): BigInt
-
def
onSimEnd(body: ⇒ Unit): Unit
-
def
periodicaly(delay: Long)(body: ⇒ Unit): Unit
-
def
setBigInt(bt: BaseType, value: BigInt): Unit
-
def
setBigInt[T <: Data](mem: Mem[T], address: Long, data: BigInt): Unit
-
def
setLong(bt: BaseType, value: Long): Unit
-
def
simDeltaCycle(): Long
-
def
simFailure(message: String = ""): Nothing
-
def
simSuccess(): Nothing
-
def
simThread: SimThread
-
def
simTime(): Long
-
def
sleep(cycles: Double): Unit
-
def
sleep(cycles: Long): Unit
-
def
timeToLong(time: TimeNumber): Long
-
def
waitUntil(cond: ⇒ Boolean): Unit
Deprecated Value Members
-
-
Inherited from AnyRef
Inherited from Any
Simulation package