Connectable

chisel3.connectable.Connectable
See theConnectable companion object
final class Connectable[+T <: Data]

A data for whom members if left dangling or unassigned with not trigger an error A waived member will still be connected to if present in both producer and consumer

Value parameters

base

The component being connected to

squeezed

members of base who will not trigger an error if would end up being truncated

waived

members of base who will not trigger an error if left dangling or unassigned

Attributes

Companion
object
Source
Connectable.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Grouped members

connection

final def :#=[S <: Data](lProducer: => S)(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonHashEq

$colonHashEq

Value parameters

producer

the right-hand-side of the connection, all members will be driving, none will be driven-to

Attributes

Source
Connectable.scala
final def :#=[S <: Data](producer: Connectable[S])(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonHashEq

$colonHashEq

Value parameters

producer

the right-hand-side of the connection, all members will be driving, none will be driven-to

Attributes

Source
Connectable.scala
final def :#=(producer: DontCare.type)(implicit sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonHashEq

$colonHashEq

Value parameters

producer

the right-hand-side of the connection, all members will be driving, none will be driven-to

Attributes

Source
Connectable.scala
final def :<=[S <: Data](lProducer: => S)(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonLessEq

$colonLessEq

Value parameters

producer

the right-hand-side of the connection; will always drive leaf connections, and never get driven by leaf connections ("aligned connection")

Attributes

Source
Connectable.scala
final def :<=[S <: Data](producer: Connectable[S])(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonLessEq

$colonLessEq

Value parameters

producer

the right-hand-side of the connection; will always drive leaf connections, and never get driven by leaf connections ("aligned connection")

Attributes

Source
Connectable.scala
final def :<=(producer: DontCare.type)(implicit sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonLessEq

$colonLessEq

Value parameters

producer

the right-hand-side of the connection; will always drive leaf connections, and never get driven by leaf connections ("aligned connection")

Attributes

Source
Connectable.scala
final def :<>=[S <: Data](lProducer: => S)(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonLessGreaterEq

$colonLessGreaterEq

Value parameters

producer

the right-hand-side of the connection

Attributes

Source
Connectable.scala
final def :<>=[S <: Data](producer: Connectable[S])(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonLessGreaterEq

$colonLessGreaterEq

Value parameters

producer

the right-hand-side of the connection

Attributes

Source
Connectable.scala
final def :<>=(producer: DontCare.type)(implicit sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonLessGreaterEq

$colonLessGreaterEq

Value parameters

producer

the right-hand-side of the connection

Attributes

Source
Connectable.scala
final def :>=[S <: Data](lProducer: => S)(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonGreaterEq

$colonGreaterEq

Value parameters

producer

the right-hand-side of the connection; will always be driven by leaf connections, and never drive leaf connections ("flipped connection")

Attributes

Source
Connectable.scala
final def :>=[S <: Data](producer: Connectable[S])(implicit evidence: T =:= S, sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonGreaterEq

$colonGreaterEq

Value parameters

producer

the right-hand-side of the connection; will always be driven by leaf connections, and never drive leaf connections ("flipped connection")

Attributes

Source
Connectable.scala
final def :>=(producer: DontCare.type)(implicit sourceInfo: SourceInfo): Unit
Implicitly added by ConnectableOpExtension

$colonGreaterEq

$colonGreaterEq

Value parameters

producer

the right-hand-side of the connection; will always be driven by leaf connections, and never drive leaf connections ("flipped connection")

Attributes

Source
Connectable.scala

Value members

Concrete methods

def as[S <: Data](implicit ev: T <:< S): Connectable[S]

Static cast to a super type

Static cast to a super type

Attributes

Source
Connectable.scala

Adds base to excludes

Adds base to excludes

Attributes

Source
Connectable.scala
def exclude(members: T => Data*): Connectable[T]

Select members of base to exclude

Select members of base to exclude

Value parameters

members

functions given the base return a member to exclude

Attributes

Source
Connectable.scala
def excludeAs[S <: Data](members: T => Data*)(implicit ev: T <:< S): Connectable[S]

Select members of base to exclude and static cast to a new type

Select members of base to exclude and static cast to a new type

Value parameters

members

functions given the base return a member to exclude

Attributes

Source
Connectable.scala
def excludeEach[S <: Data](pf: PartialFunction[Data, Seq[Data]])(implicit ev: T <:< S): Connectable[S]

Programmatically select members of base to exclude and static cast to a new type

Programmatically select members of base to exclude and static cast to a new type

Value parameters

members

partial function applied to all recursive members of base, if match, can return a member to exclude

Attributes

Source
Connectable.scala

Exclude probes

Exclude probes

Attributes

Source
Connectable.scala

True if no members are waived or squeezed or excluded

True if no members are waived or squeezed or excluded

Attributes

Source
Connectable.scala

Adds base to squeezes

Adds base to squeezes

Attributes

Source
Connectable.scala
def squeeze(members: T => Data*): Connectable[T]

Select members of base to squeeze

Select members of base to squeeze

Value parameters

members

functions given the base return a member to squeeze

Attributes

Source
Connectable.scala

Squeeze all members of base

Squeeze all members of base

Attributes

Source
Connectable.scala
def squeezeAllAs[S <: Data](implicit ev: T <:< S): Connectable[S]

Squeeze all members of base and upcast to super type

Squeeze all members of base and upcast to super type

Attributes

Source
Connectable.scala
def squeezeEach[S <: Data](pf: PartialFunction[Data, Seq[Data]]): Connectable[T]

Programmatically select members of base to squeeze

Programmatically select members of base to squeeze

Value parameters

members

partial function applied to all recursive members of base, if match, can return a member to squeeze

Attributes

Source
Connectable.scala

Connect to/from all fields regardless of Scala type, squeeze if necessary, and don't error if mismatched members

Connect to/from all fields regardless of Scala type, squeeze if necessary, and don't error if mismatched members

Attributes

Source
Connectable.scala
def waive(members: T => Data*): Connectable[T]

Select members of base to waive

Select members of base to waive

Value parameters

members

functions given the base return a member to waive

Attributes

Source
Connectable.scala

Waive all members of base

Waive all members of base

Attributes

Source
Connectable.scala
def waiveAllAs[S <: Data](implicit ev: T <:< S): Connectable[S]

Waive all members of base and static cast to a new type

Waive all members of base and static cast to a new type

Attributes

Source
Connectable.scala
def waiveAs[S <: Data](members: T => Data*)(implicit ev: T <:< S): Connectable[S]

Select members of base to waive and static cast to a new type

Select members of base to waive and static cast to a new type

Value parameters

members

functions given the base return a member to waive

Attributes

Source
Connectable.scala
def waiveEach[S <: Data](pf: PartialFunction[Data, Seq[Data]])(implicit ev: T <:< S): Connectable[S]

Programmatically select members of base to waive and static cast to a new type

Programmatically select members of base to waive and static cast to a new type

Value parameters

members

partial function applied to all recursive members of base, if match, can return a member to waive

Attributes

Source
Connectable.scala

Concrete fields

val base: T

Attributes

Source
Connectable.scala