RegEnable

chisel3.util.RegEnable
object RegEnable

Attributes

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

Members list

Value members

Inherited methods

def apply[T <: Data](next: T, init: T, enable: Bool)(using SourceInfo): T

Returns a register with the specified next, update enable gate, and reset initialization.

Returns a register with the specified next, update enable gate, and reset initialization.

Attributes

Example
val regWithEnableAndReset = RegEnable(nextVal, 0.U, ena)
Inherited from:
RegEnableIntf (hidden)
Source
RegIntf.scala
def apply[T <: Data](next: T, enable: Bool)(using SourceInfo): T

Returns a register with the specified next, update enable gate, and no reset initialization.

Returns a register with the specified next, update enable gate, and no reset initialization.

Attributes

Example
val regWithEnable = RegEnable(nextVal, ena)
Inherited from:
RegEnableIntf (hidden)
Source
RegIntf.scala