WireInit

chisel3.WireInit
object WireInit

Utility for constructing hardware wires with a default connection

Alias for WireDefault.

Attributes

Note

The Init in WireInit refers to a "default" connection. This is in contrast to RegInit where the Init refers to a value on reset.

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

Members list

Value members

Inherited methods

def apply[T <: Data](init: T)(implicit sourceInfo: SourceInfo): T

Construct a Wire with a default connection

Construct a Wire with a default connection

Value parameters

init

The hardware value that will serve as a type template and default value

Attributes

Inherited from:
WireDefaultImpl (hidden)
Source
Data.scala
def apply[T <: Data](t: T, init: T)(implicit sourceInfo: SourceInfo): T

Construct a Wire with a type template and a default connection

Construct a Wire with a type template and a default connection

Value parameters

init

The hardware value that will serve as the default value

t

The type template used to construct this Wire

Attributes

Inherited from:
WireDefaultImpl (hidden)
Source
Data.scala
def apply[T <: Data](t: T, init: DontCare.type)(implicit sourceInfo: SourceInfo): T

Construct a Wire with a type template and a chisel3.DontCare default

Construct a Wire with a type template and a chisel3.DontCare default

Value parameters

init

The default connection to this Wire, can only be DontCare

t

The type template used to construct this Wire

Attributes

Note

This is really just a specialized form of apply[T <: Data](t: T, init: T): T with DontCare as init

Inherited from:
WireDefaultImpl (hidden)
Source
Data.scala