Modifies the circuit by replicating the hierarchy under the annotated objects (mods and insts) and by rewriting the original circuit to refer to the new modules that will be inlined later.
Modifies the circuit by replicating the hierarchy under the annotated objects (mods and insts) and by rewriting the original circuit to refer to the new modules that will be inlined later.
modified circuit and ModuleNames to inline
Perform the transform, encode renaming with RenameMap, and can delete annotations Called by runTransform.
Perform the transform, encode renaming with RenameMap, and can delete annotations Called by runTransform.
Input Firrtl AST
A transformed Firrtl AST
The firrtl.CircuitForm that this transform requires to operate on
The firrtl.CircuitForm that this transform requires to operate on
A convenience function useful for debugging and error messages
A convenience function useful for debugging and error messages
The firrtl.CircuitForm that this transform outputs
The firrtl.CircuitForm that this transform outputs
Perform the transform and update annotations.
Perform the transform and update annotations.
Input Firrtl AST
A transformed Firrtl AST
A mathematical transform on some type
A mathematical transform on some type
an output object of the same type
(Since version ) see corresponding Javadoc for more information.
Convenience method to get annotations relevant to this Transform
Convenience method to get annotations relevant to this Transform
The CircuitState form which to extract annotations
A collection of annotations
(Since version 1.1) Just collect the actual Annotation types the transform wants
Takes flatten annotations for module instances and modules and inline the entire hierarchy of modules down from the annotations. This transformation instantiates and is based on the InlineInstances transformation.
Instances of extmodules are not (and cannot be) inlined
,Flattening a module means inlining all its fully-defined child instances