Relationship

chisel3.domains.ClockDomain.Relationship
object Relationship

Types of clock relationships

Attributes

Source
ClockDomain.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Rational extends Type

A rational relationship

A rational relationship

This indicates that two clocks have a deterministic phase relationship and a non-integer rational frequency ratio, e.g., 2:3. Both clocks must be derived from a common source clock, e.g., with a phase-locked-loop (PLL).

Attributes

Source
ClockDomain.scala
Supertypes
trait Type
class Object
trait Matchable
class Any
Self type
Rational.type
object Synchronous extends Type

A synchronous relationship

A synchronous relationship

This indicates that two clocks have a deterministic phase relationship and an integer frequency ratio, e.g., 1:1, 2:1, or 1:4. Both clocks must be derived from the same source via integer multiplication or division, e.g., using a clock divider.

Attributes

Source
ClockDomain.scala
Supertypes
trait Type
class Object
trait Matchable
class Any
Self type
sealed trait Type

A clock relationship

A clock relationship

Attributes

Source
ClockDomain.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Rational
object Synchronous

Value members

Concrete methods

def assertRational(A: Type, B: Type): Unit

Generate an assertion that two domains have a rational or synchronous relationship.

Generate an assertion that two domains have a rational or synchronous relationship.

This is a building block of writing safe clock domain synchronizers.

Value parameters

A

the first domain

B

the second domain

Attributes

Source
ClockDomain.scala
def assertSynchronous(A: Type, B: Type): Unit

Generate an assertion that two domains have a synchronous relationship.

Generate an assertion that two domains have a synchronous relationship.

This is a building block of writing safe clock domain synchronizers.

Value parameters

A

the first domain

B

the second domain

Attributes

Source
ClockDomain.scala