AddImplicitOutputFile
Phase that adds an OutputFileAnnotation if one does not already exist.
To determine the OutputFileAnnotation, the following precedence is used. Whichever happens first succeeds:
- Do nothing if an OutputFileAnnotation "--split-verilog" was specified
- Use the main in the first discovered FirrtlCircuitAnnotation (see note below)
- Use "a"
Attributes
- Source
- AddImplicitOutputFile.scala
- Graph
-
- Supertypes
-
trait Phasetrait DependencyAPI[Phase]trait TransformLike[AnnotationSeq]trait LazyLoggingclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
A function that, given another transform (parameter a) will return true if this transform invalidates/undos the effects of the other transform (parameter a).
A function that, given another transform (parameter a) will return true if this transform invalidates/undos the effects of the other transform (parameter a).
Value parameters
- a
-
transform
Attributes
- Definition Classes
- Source
- AddImplicitOutputFile.scala
A sequence of transforms to add this transform as an optionalPrerequisite. The use of optionalPrerequisiteOf enables the transform declaring them to always run before some other transforms. However, declaring optionalPrerequisiteOf will not result in the sequence of transforms executing.
A sequence of transforms to add this transform as an optionalPrerequisite. The use of optionalPrerequisiteOf enables the transform declaring them to always run before some other transforms. However, declaring optionalPrerequisiteOf 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.
Attributes
- Note
-
This method will not result in the listed transforms running. If you want to add multiple transforms at once, you should use a
DependencyManagerwith multiple targets. - Definition Classes
- Source
- AddImplicitOutputFile.scala
All transform that must run before this transform
All transform that must run before this transform
Attributes
- Note
-
The use of a Seq here is to preserve input order. Internally, this will be converted to a private, ordered Set.
- Definition Classes
- Source
- AddImplicitOutputFile.scala
Add an OutputFileAnnotation to an AnnotationSeq
Inherited methods
Attributes
- Inherited from:
- LazyLogging
- Source
- Logger.scala
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.
Attributes
- Note
-
The use of a Seq here is to preserve input order. Internally, this will be converted to a private, ordered Set.
- Inherited from:
- DependencyAPI
- Source
- Phase.scala
Inherited fields
Attributes
- Inherited from:
- LazyLogging
- Source
- Logger.scala
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.
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.
Attributes
- Returns
-
this phase's name
- Note
-
Override this with your own implementation for different naming behavior.
- Inherited from:
- Phase
- Source
- Phase.scala