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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PresetRegAnnotation
  2. Serializable
  3. Serializable
  4. DontTouchAllTargets
  5. HasDontTouches
  6. RegisterEmissionOption
  7. EmissionOption
  8. SingleTargetAnnotation
  9. Annotation
  10. Product
  11. Equals
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PresetRegAnnotation(target: ReferenceTarget)

    target

    ReferenceTarget to a Reg

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. 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
    PresetRegAnnotationRegisterEmissionOption
  7. def dontTouches: Iterable[ReferenceTarget]
    Definition Classes
    DontTouchAllTargetsHasDontTouches
  8. def duplicate(n: ReferenceTarget): PresetRegAnnotation

    Create another instance of this Annotation

    Create another instance of this Annotation

    Definition Classes
    PresetRegAnnotationSingleTargetAnnotation
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getTargets: Seq[Target]

    Returns all Target members in this annotation

    Returns all Target members in this annotation

    Definition Classes
    SingleTargetAnnotationAnnotation
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def serialize: String

    Optional pretty print

    Optional pretty print

    Definition Classes
    Annotation
    Note

    rarely used

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val target: ReferenceTarget
  19. 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
    SingleTargetAnnotationAnnotation
  20. 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
    PresetRegAnnotationRegisterEmissionOption
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from DontTouchAllTargets

Inherited from HasDontTouches

Inherited from RegisterEmissionOption

Inherited from EmissionOption

Inherited from Annotation

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped