case class ClockDomain(clock: Bool, reset: Bool = null, dummyArg: DummyTrait = null, softReset: Bool = null, clockEnable: Bool = null, config: ClockDomainConfig = GlobalData.get.commonClockConfig, frequency: ClockFrequency = UnknownFrequency(), clockEnableDivisionRate: DivisionRate = ClockDomain.UnknownDivisionRate()) extends Product with Serializable
clock and reset signals can be combined to create a clock domain. Clock domains could be applied to some area of the design and then all synchronous elements instantiated into this area will then implicitly use this clock domain. Clock domain application work like a stack, which mean, if you are in a given clock domain, you can still apply another clock domain locally
- See also
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClockDomain
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ClockDomain(clock: Bool, reset: Bool = null, dummyArg: DummyTrait = null, softReset: Bool = null, clockEnable: Bool = null, config: ClockDomainConfig = GlobalData.get.commonClockConfig, frequency: ClockFrequency = UnknownFrequency(), clockEnableDivisionRate: DivisionRate = ClockDomain.UnknownDivisionRate())
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
- def apply[T](block: ⇒ T): T
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clock: Bool
- val clockEnable: Bool
- val clockEnableDivisionRate: DivisionRate
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val config: ClockDomainConfig
- val dummyArg: DummyTrait
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val frequency: ClockFrequency
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasClockEnableSignal: Boolean
- def hasResetSignal: Boolean
- def hasSoftResetSignal: Boolean
- val instanceCounter: Int
- def isClockEnableActive: Bool
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isResetActive: Bool
- def isSoftResetActive: Bool
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newClockDomainSlowedBy(factor: BigInt): ClockDomain
Slow down the current clock to factor time
- def newSlowedClockDomain(freq: HertzNumber): ClockDomain
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def on[T](block: ⇒ T): T
- def pop(): Unit
- def push(): Unit
- def readClockEnableWire: Bool
- def readClockWire: Bool
- def readResetWire: Bool
- def readSoftResetWire: Bool
- val reset: Bool
- def samplingRate: IClockDomainFrequency
- def setSyncWith(that: ClockDomain): ClockDomain.this.type
- def setSynchronousWith(that: ClockDomain): ClockDomain.this.type
- val softReset: Bool
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ClockDomain → 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 withAsyncReset(): ClockDomain
- def withBootReset(): ClockDomain
- def withRevertedClockEdge(): ClockDomain
- def withSyncReset(): ClockDomain
Deprecated Value Members
-
def
clone(config: ClockDomainConfig = config, clock: Bool = clock, reset: Bool = reset, dummyArg: DummyTrait = null, softReset: Bool = softReset, clockEnable: Bool = clockEnable): ClockDomain
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Use copy instead of clone
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
setSyncronousWith(that: ClockDomain): ClockDomain
- Annotations
- @deprecated
- Deprecated
(Since version SpinalHDL 1.2.3) misspelled method will be removed