package sim

Simulation package

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. sim
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class SimBaseTypePimper extends AnyRef

    Add implicit function to BaseType for simulation

  2. implicit class SimBitVectorPimper extends AnyRef

    Add implicit function to BitVector

  3. implicit class SimBitsPimper extends AnyRef

    Add implicit function to Bits

  4. implicit class SimBoolPimper extends AnyRef

    Add implicit function to Bool

  5. implicit class SimClockDomainPimper extends AnyRef

    Add implicit function to ClockDomain

  6. class SimCompiled[T <: Component] extends AnyRef

    Run simulation

  7. case class SimConfigLegacy[T <: Component](_rtlGen: Option[() ⇒ T] = None, _spinalConfig: SpinalConfig = SpinalConfig(), _spinalReport: Option[SpinalReport[T]] = None) extends Product with Serializable

    Legacy simulation configuration

  8. implicit class SimDataPimper[T <: Data] extends AnyRef

    Add implicit function to Data

  9. implicit class SimEnumPimper[T <: SpinalEnum] extends AnyRef

    Add implicit function to Enum

  10. implicit class SimSIntPimper extends AnyRef

    Add implicit function to SInt

  11. implicit class SimUIntPimper extends AnyRef

    Add implicit function to UInt

  12. 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](), _waveFormat: WaveFormat = WaveFormat.NONE) extends Product with Serializable

    SpinalSim configuration

  13. case class SpinalVerilatorBackendConfig[T <: Component](rtl: SpinalReport[T], waveFormat: WaveFormat = WaveFormat.NONE, workspacePath: String = "./", workspaceName: String = null, vcdPath: String = null, vcdPrefix: String = null, waveDepth: Int = 0, optimisationLevel: Int = 2, simulatorFlags: ArrayBuffer[String] = ArrayBuffer[String]()) extends Product with Serializable

    Backend configuration for verilator

  14. class SwapTagPhase extends PhaseNetlist

    Swap all oldTag with newTag

Value Members

  1. def SimConfig: SpinalSimConfig
  2. def delayed(delay: Long)(body: ⇒ Unit): Unit
  3. def disableSimWave(): Unit
  4. def enableSimWave(): Unit
  5. def fork(body: ⇒ Unit): SimThread

    Fork

  6. def forkJoin(bodys: () ⇒ Unit*): Unit
  7. def forkSensitive(trigger: ⇒ Any)(block: ⇒ Unit): Unit
  8. def forkSensitive(triggers: Data*)(block: ⇒ Unit): Unit
  9. def forkSensitive(block: ⇒ Unit): Unit
  10. def forkSensitiveWhile(block: ⇒ Boolean): Unit
  11. def setBigInt(bt: BaseType, value: BigInt): Unit

    Set a BigInt value to a BaseType

  12. def setLong(bt: BaseType, value: Long): Unit

    Set a long value to a BaseType

  13. def simDeltaCycle(): Long
  14. def simFailure(message: String = ""): Unit
  15. def simSuccess(): Unit

    Success/Failure simulation

  16. def simTime(): Long

    Return the current simulation time

  17. def sleep(cycles: Long): Unit

    Sleep / WaitUntil

  18. def waitUntil(cond: ⇒ Boolean): Unit
  19. object DoClock

    Generate a clock

  20. object DoReset

    Execute a reset sequence

  21. object ForkClock

    Fork the DoClock

  22. object SimPublic extends SpinalTag

    Tag SimPublic

  23. object SimSpeedPrinter

    Print the simulation speed

  24. object SimStatics
  25. object SimTimeout

    Create a Timeout for the simulation

  26. object SimWorkspace

    Simulation Workspace

  27. object SpinalVerilatorBackend

    Backend verilator

  28. object SpinalVerilatorSim

Deprecated Value Members

  1. def SimConfig[T <: Component](rtl: SpinalReport[T]): SimConfigLegacy[T]
    Annotations
    @deprecated
    Deprecated

    (Since version ???) Use SimConfig.???.compile(new Dut) instead

  2. def SimConfig[T <: Component](rtl: ⇒ T): SimConfigLegacy[T]
    Annotations
    @deprecated
    Deprecated

    (Since version ???) Use SimConfig.???.compile(new Dut) instead

Inherited from AnyRef

Inherited from Any

Ungrouped