c

spinal.core.sim

SimClockDomainPimper

implicit class SimClockDomainPimper extends AnyRef

Add implicit function to ClockDomain

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

Instance Constructors

  1. new SimClockDomainPimper(cd: ClockDomain)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assertClockEnable(): Unit
  6. def assertReset(): Unit
  7. def assertSoftReset(): Unit
  8. def clockEnableSim: Bool
  9. def clockEnableSimAssign(value: Boolean): Unit
  10. def clockSim: Bool
  11. def clockToggle(): Unit
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  13. def deassertClockEnable(): Unit
  14. def deassertReset(): Unit
  15. def deassertSoftReset(): Unit
  16. def doStimulus(period: Long, resetCycles: Int = 16): Unit
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def fallingEdge(): Unit
  20. def forkSimSpeedPrinter(printPeriod: Double = 1.0): Unit
  21. def forkStimulus(frequency: HertzNumber): Unit
  22. def forkStimulus(period: TimeNumber): Unit
  23. def forkStimulus(period: Long, sleepDuration: Int = 0, resetCycles: Int = 16): Unit
  24. def forkStimulus(period: Long): Unit
  25. def forkStimulus(): Unit
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  27. def hasClockEnableSignalSim: Boolean
  28. def hasResetSignalSim: Boolean
  29. def hasSoftResetSignalSim: Boolean
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  31. def isClockEnableAsserted: Boolean
  32. def isClockEnableDeasserted: Boolean
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isResetAsserted: Boolean
  35. def isResetDeasserted: Boolean
  36. def isSamplingDisable: Boolean
  37. def isSamplingEnable: Boolean
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  41. def onActiveEdges(block: ⇒ Unit): Unit

    During simulation, execute the callback when the clock generates its configured edge

  42. def onEdges(block: ⇒ Unit): Unit

    During simulation, execute the callback when the clock generates a rising or falling edge

  43. def onFallingEdges(block: ⇒ Unit): Unit

    During simulation, execute the callback when the clock generates a falling edge

  44. def onNextSampling(body: ⇒ Unit): Unit

    During simulation, execute the callback only once on the next ClockDomain sample (active edge + reset off + clock enable on)

  45. def onRisingEdges(block: ⇒ Unit): Unit

    During simulation, execute the callback when the clock generates a edge

  46. def onSamplingWhile(body: ⇒ Boolean): Unit

    During simulation, execute the callback each time the ClockDomain sample (active edge + reset off + clock enable on) and you you can stop it (forever) by letting the callback returning false.

    During simulation, execute the callback each time the ClockDomain sample (active edge + reset off + clock enable on) and you you can stop it (forever) by letting the callback returning false.

    See also

    onSampling()

  47. def onSamplings(body: ⇒ Unit): Unit

    During simulation, execute the callback each time the ClockDomain sample (active edge + reset off + clock enable on)

  48. def resetSim: Bool
  49. def resetSimAssign(value: Boolean): Unit
  50. def risingEdge(): Unit
  51. def simAssignSafe(that: Bool, value: Boolean): Unit
  52. def softResetSim: Bool
  53. def softResetSimAssign(value: Boolean): Unit
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. def waitActiveEdge(count: Int = 1): Unit

    Wait count edges on the clock specified by the ClockDomainConfig.

    Wait count edges on the clock specified by the ClockDomainConfig.

    Note that count = 0 is legal, and the function is not sensitive to reset/softReset/clockEnable.

  60. def waitActiveEdge(): Unit

    Wait one edge on the clock specified by the ClockDomainConfig.

    Wait one edge on the clock specified by the ClockDomainConfig.

    Note that the function is not sensitive to reset/softReset/clockEnable.

  61. def waitActiveEdgeWhere(condAnd: ⇒ Boolean): Unit
  62. def waitEdge(count: Int): Unit
  63. def waitEdge(): Unit
  64. def waitEdgeWhere(condAnd: ⇒ Boolean): Unit
  65. def waitFallingEdge(count: Int = 1): Unit

    Wait count falling edges on the clock.

    Wait count falling edges on the clock.

    Note that count = 0 is legal, and the function is not sensitive to reset/softReset/clockEnable.

  66. def waitFallingEdge(): Unit

    Wait one falling edge on the clock.

    Wait one falling edge on the clock.

    Note that the function is not sensitive to reset/softReset/clockEnable.

  67. def waitFallingEdgeWhere(condAnd: ⇒ Boolean): Unit
  68. def waitInactiveEdge(count: Int = 1): Unit
  69. def waitInactiveEdge(): Unit
  70. def waitInactiveEdgeWhere(condAnd: ⇒ Boolean): Unit
  71. def waitRisingEdge(count: Int): Unit

    Wait count rising edges on the clock.

    Wait count rising edges on the clock.

    Note that count = 0 is legal, and the function is not sensitive to reset/softReset/clockEnable.

  72. def waitRisingEdge(): Unit

    Wait one rising edge on the clock.

    Wait one rising edge on the clock.

    Note that the function is not sensitive to reset/softReset/clockEnable.

  73. def waitRisingEdgeWhere(condAnd: ⇒ Boolean): Unit
  74. def waitSampling(count: Int): Unit
  75. def waitSampling(): Unit
  76. def waitSamplingWhere(timeout: Int)(condAnd: ⇒ Boolean): Boolean
  77. def waitSamplingWhere(condAnd: ⇒ Boolean): Unit

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped