case class PresetRegAnnotation(target: ReferenceTarget) extends SingleTargetAnnotation[ReferenceTarget] with RegisterEmissionOption with DontTouchAllTargets with Product with Serializable
Transform the targeted asynchronously-reset Reg into a bitstream preset Reg
Thus you can use this annotation in order to initialize a register
at the beginning of simulation or through the FPGA bit-stream to its init
value.
The register must fulfil the following requirements:
- the reset signal is UInt(0)
- the init
value is a Literal
- target
ReferenceTarget to a Reg
- Source
- PresetAnnotations.scala
- Alphabetic
- By Inheritance
- PresetRegAnnotation
- Serializable
- DontTouchAllTargets
- HasDontTouches
- RegisterEmissionOption
- EmissionOption
- SingleTargetAnnotation
- Annotation
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PresetRegAnnotation(target: ReferenceTarget)
- target
ReferenceTarget to a Reg
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def disableRandomization: Boolean
when true the initial randomization is disabled for this register
when true the initial randomization is disabled for this register
- Definition Classes
- PresetRegAnnotation → RegisterEmissionOption
- def dontTouches: Iterable[ReferenceTarget]
- Definition Classes
- DontTouchAllTargets → HasDontTouches
- def duplicate(n: ReferenceTarget): PresetRegAnnotation
Create another instance of this Annotation
Create another instance of this Annotation
- Definition Classes
- PresetRegAnnotation → SingleTargetAnnotation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getTargets: Seq[Target]
Returns all Target members in this annotation
Returns all Target members in this annotation
- Definition Classes
- SingleTargetAnnotation → Annotation
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serialize: String
Optional pretty print
Optional pretty print
- Definition Classes
- Annotation
- Note
rarely used
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val target: ReferenceTarget
- Definition Classes
- PresetRegAnnotation → SingleTargetAnnotation
- def update(renames: RenameMap): Seq[Annotation]
Update the target based on how signals are renamed
Update the target based on how signals are renamed
- Definition Classes
- SingleTargetAnnotation → Annotation
- def useInitAsPreset: Boolean
when true the reset init value will be used to emit a bitstream preset
when true the reset init value will be used to emit a bitstream preset
- Definition Classes
- PresetRegAnnotation → RegisterEmissionOption
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
This is the documentation for Firrtl.