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()
  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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getTargets: Seq[Target]

    Returns all Target members in this annotation

    Returns all Target members in this annotation

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

    Optional pretty print

    Optional pretty print

    Definition Classes
    Annotation
    Note

    rarely used

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

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