class AddSerializationAnnotations extends Phase
Adds stage.CircuitSerializationAnnotations based on ChiselOutputFileAnnotation
- Alphabetic
- By Inheritance
- AddSerializationAnnotations
- Phase
- DependencyAPI
- TransformLike
- LazyLogging
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AddSerializationAnnotations()
Value Members
- def getLogger: Logger
- Definition Classes
- LazyLogging
- def invalidates(a: Phase): Boolean
A function that, given *another* transform (parameter
a
) will return true if this transform invalidates/undos the effects of the *other* transform (parametera
).A function that, given *another* transform (parameter
a
) will return true if this transform invalidates/undos the effects of the *other* transform (parametera
).- a
transform
- Definition Classes
- AddSerializationAnnotations → DependencyAPI
- lazy val name: String
The name of this Phase.
The name of this Phase. This will be used to generate debug/error messages or when deleting annotations. This will default to the
simpleName
of the class.- returns
this phase's name
- Definition Classes
- Phase → TransformLike
- Note
Override this with your own implementation for different naming behavior.
- def optionalPrerequisiteOf: Seq[Nothing]
A sequence of transforms to add this transform as an
optionalPrerequisite
.A sequence of transforms to add this transform as an
optionalPrerequisite
. The use ofoptionalPrerequisiteOf
enables the transform declaring them to always run before some other transforms. However, declaringoptionalPrerequisiteOf
will not result in the sequence of transforms executing.This is useful for providing an ordering constraint to guarantee that other transforms (e.g., emitters) will not be scheduled before you.
- Definition Classes
- AddSerializationAnnotations → DependencyAPI
- Note
This method **will not** result in the listed transforms running. If you want to add multiple transforms at once, you should use a
DependencyManager
with multiple targets.
- def optionalPrerequisites: Seq[Nothing]
All transforms that, if a prerequisite of *another* transform, will run before this transform.
All transforms that, if a prerequisite of *another* transform, will run before this transform.
- Definition Classes
- AddSerializationAnnotations → DependencyAPI
- Note
The use of a Seq here is to preserve input order. Internally, this will be converted to a private, ordered Set.
- def prerequisites: Seq[Dependency[Phase { ... /* 2 definitions in type refinement */ }]]
All transform that must run before this transform
All transform that must run before this transform
- Definition Classes
- AddSerializationAnnotations → DependencyAPI
- Note
The use of a Seq here is to preserve input order. Internally, this will be converted to a private, ordered Set.
- def transform(annotations: AnnotationSeq): AnnotationSeq
A mathematical transform on some type
A mathematical transform on some type
- returns
an output object of the same type
- Definition Classes
- AddSerializationAnnotations → TransformLike
This is the documentation for Chisel.
Package structure
The chisel3 package presents the public API of Chisel. It contains the concrete core types
UInt
,SInt
,Bool
,Clock
, andReg
, the abstract typesBits
,Aggregate
, andData
, and the aggregate typesBundle
andVec
.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
util
package.The
testers
package defines the basic interface for chisel testers.