Adds an firrtl.options.OutputAnnotationFileAnnotation if one does not exist.
Add a output file for a Chisel circuit, derived from the top module in the circuit, if no ChiselOutputFileAnnotation already exists.
Phase that consumes all Aspects and calls their toAnnotationSeq methods.
Phase that consumes all Aspects and calls their toAnnotationSeq methods.
Consumes the chisel3.stage.DesignAnnotation and converts every Aspect into their annotations prior to executing FIRRTL
Sanity checks an firrtl.AnnotationSeq before running the main firrtl.options.Phases of chisel3.stage.ChiselStage.
This prepares a ChiselCircuitAnnotation for compilation with FIRRTL.
This prepares a ChiselCircuitAnnotation for compilation with FIRRTL. This does three things:
Elaborate all chisel3.stage.ChiselGeneratorAnnotations into chisel3.stage.ChiselCircuitAnnotations.
Emit a chisel3.stage.ChiselCircuitAnnotation to a file if a chisel3.stage.ChiselOutputFileAnnotation is present.
Emit a chisel3.stage.ChiselCircuitAnnotation to a file if a chisel3.stage.ChiselOutputFileAnnotation is present. A deleted firrtl.EmittedFirrtlCircuitAnnotation is added.
The use of the deleted firrtl.EmittedFirrtlCircuitAnnotation is a kludge to provide some breadcrumbs such that the emitted CHIRRTL can be provided back to the old Driver. This should be removed or a better solution developed.
,This should be switched to support correct emission of multiple circuits to multiple files. The API should likely mirror how the firrtl.stage.phases.Compiler parses annotations into "global" annotations and left-associative per-circuit annotations.
Run AspectPhase if a chisel3.aop.Aspect is present.
Run firrtl.stage.FirrtlStage if a chisel3.stage.NoRunFirrtlCompilerAnnotation is not present.
This provides components of a compatibility wrapper around Chisel's deprecated chisel3.Driver.
This provides components of a compatibility wrapper around Chisel's deprecated chisel3.Driver.
Primarily, this object includes Phases that generate firrtl.annotations.Annotations derived from the deprecated firrtl.stage.phases.DriverCompatibility.TopNameAnnotation.
Adds an firrtl.options.OutputAnnotationFileAnnotation if one does not exist. This replicates old behavior where an output annotation file was always written.