Packages

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

ClockDomain Documentation

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClockDomain
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  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. def apply[T](block: => T): T
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val clock: Bool
  7. val clockEnable: Bool
  8. val clockEnableDivisionRate: DivisionRate
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. val config: ClockDomainConfig
  11. val dummyArg: DummyTrait
  12. def duringReset(body: => Unit): Unit
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val frequency: ClockFrequency
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hasClockEnableSignal: Boolean
  17. def hasResetSignal: Boolean
  18. def hasSoftResetSignal: Boolean
  19. val instanceCounter: Int
  20. def isClockEnableActive: Bool
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isResetActive: Bool
  23. def isSoftResetActive: Bool
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def newClockDomainSlowedBy(factor: BigInt): ClockDomain

    Slow down the current clock to factor time

  26. def newSlowedClockDomain(freq: HertzNumber): ClockDomain
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def on[T](block: => T): T
  30. def pop(): Unit
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. def push(): Unit
  33. def readClockEnableWire: Bool
  34. def readClockWire: Bool
  35. def readResetWire: Bool
  36. def readSoftResetWire: Bool
  37. val reset: Bool
  38. def samplingRate: IClockDomainFrequency
  39. def setSyncWith(that: ClockDomain): ClockDomain.this.type
  40. def setSynchronousWith(that: ClockDomain): ClockDomain.this.type
  41. val softReset: Bool
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    ClockDomain → AnyRef → Any
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. def withAsyncReset(): ClockDomain
  48. def withBootReset(): ClockDomain
  49. def withRevertedClockEdge(): ClockDomain
  50. def withSyncReset(): ClockDomain
  51. def withoutReset(): ClockDomain

Deprecated Value Members

  1. 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

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  3. def setSyncronousWith(that: ClockDomain): ClockDomain
    Annotations
    @deprecated
    Deprecated

    (Since version SpinalHDL 1.2.3) misspelled method will be removed

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped