implicit class SimClockDomainPimper extends AnyRef
Add implicit function to ClockDomain
- Alphabetic
- By Inheritance
- SimClockDomainPimper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SimClockDomainPimper(cd: ClockDomain)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertClockEnable(): Unit
- def assertReset(): Unit
- def assertSoftReset(): Unit
- def clockEnableSim: Bool
- def clockEnableSimAssign(value: Boolean): Unit
- def clockSim: Bool
- def clockToggle(): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def deassertClockEnable(): Unit
- def deassertReset(): Unit
- def deassertSoftReset(): Unit
- def doStimulus(period: Long, resetCycles: Int = 16): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fallingEdge(): Unit
- def forkSimSpeedPrinter(printPeriod: Double = 1.0): Unit
- def forkStimulus(frequency: HertzNumber): Unit
- def forkStimulus(period: TimeNumber): Unit
- def forkStimulus(period: Long, sleepDuration: Int = 0, resetCycles: Int = 16): Unit
- def forkStimulus(period: Long): Unit
- def forkStimulus(): Unit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasClockEnableSignalSim: Boolean
- def hasResetSignalSim: Boolean
- def hasSoftResetSignalSim: Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isClockEnableAsserted: Boolean
- def isClockEnableDeasserted: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isResetAsserted: Boolean
- def isResetDeasserted: Boolean
- def isSamplingDisable: Boolean
- def isSamplingEnable: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
onActiveEdges(block: ⇒ Unit): Unit
During simulation, execute the callback when the clock generates its configured edge
-
def
onEdges(block: ⇒ Unit): Unit
During simulation, execute the callback when the clock generates a rising or falling edge
-
def
onFallingEdges(block: ⇒ Unit): Unit
During simulation, execute the callback when the clock generates a falling edge
-
def
onNextSampling(body: ⇒ Unit): Unit
During simulation, execute the callback only once on the next ClockDomain sample (active edge + reset off + clock enable on)
-
def
onRisingEdges(block: ⇒ Unit): Unit
During simulation, execute the callback when the clock generates a edge
-
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()
-
def
onSamplings(body: ⇒ Unit): Unit
During simulation, execute the callback each time the ClockDomain sample (active edge + reset off + clock enable on)
- def resetSim: Bool
- def resetSimAssign(value: Boolean): Unit
- def risingEdge(): Unit
- def simAssignSafe(that: Bool, value: Boolean): Unit
- def softResetSim: Bool
- def softResetSimAssign(value: Boolean): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
waitActiveEdge(count: Int = 1): Unit
Wait
countedges on the clock specified by the ClockDomainConfig.Wait
countedges on the clock specified by the ClockDomainConfig.Note that count = 0 is legal, and the function is not sensitive to reset/softReset/clockEnable.
-
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.
- def waitActiveEdgeWhere(condAnd: ⇒ Boolean): Unit
- def waitEdge(count: Int): Unit
- def waitEdge(): Unit
- def waitEdgeWhere(condAnd: ⇒ Boolean): Unit
-
def
waitFallingEdge(count: Int = 1): Unit
Wait
countfalling edges on the clock.Wait
countfalling edges on the clock.Note that count = 0 is legal, and the function is not sensitive to reset/softReset/clockEnable.
-
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.
- def waitFallingEdgeWhere(condAnd: ⇒ Boolean): Unit
- def waitInactiveEdge(count: Int = 1): Unit
- def waitInactiveEdge(): Unit
- def waitInactiveEdgeWhere(condAnd: ⇒ Boolean): Unit
-
def
waitRisingEdge(count: Int): Unit
Wait
countrising edges on the clock.Wait
countrising edges on the clock.Note that count = 0 is legal, and the function is not sensitive to reset/softReset/clockEnable.
-
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.
- def waitRisingEdgeWhere(condAnd: ⇒ Boolean): Unit
- def waitSampling(count: Int): Unit
- def waitSampling(): Unit
- def waitSamplingWhere(timeout: Int)(condAnd: ⇒ Boolean): Boolean
- def waitSamplingWhere(condAnd: ⇒ Boolean): Unit
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated