package transforms
- Alphabetic
- Public
- All
Type Members
-
class
CleanupNamedTargets extends Transform with DependencyAPIMigration
Replaces all ReferenceTargets pointing at instances with InstanceTargets.
Replaces all ReferenceTargets pointing at instances with InstanceTargets.
- Note
This exists because of Named where a ComponentName is the only way to refer to an instance, but this is resolved incorrectly to a ReferenceTarget.
-
case class
DupedResult(newModules: Set[IsModule], originalModule: ModuleTarget) extends MultiTargetAnnotation with Product with Serializable
Holds the mapping from original module to the new, duplicated modules The original module target is unaffected by renaming
Holds the mapping from original module to the new, duplicated modules The original module target is unaffected by renaming
- newModules
Instance target of what the original module now points to
- originalModule
Original module
-
class
EliminateTargetPaths extends Transform with DependencyAPIMigration
For a set of non-local targets, modify the instance/module hierarchy of the circuit such that the paths in each non-local target can be removed
For a set of non-local targets, modify the instance/module hierarchy of the circuit such that the paths in each non-local target can be removed
In other words, if targeting a specific instance of a module, duplicate that module with a unique name and instantiate the new module instead.
Consumes ResolvePaths
E.g. for non-local target A/b:B/c:C/d, rename the following A/b:B/c:C/d -> C_/d A/b:B/c:C -> B_/c:C_ A/b:B -> A/b:B_ B/x -> (B/x, B_/x) // where x is any reference in B C/x -> (C/x, C_/x) // where x is any reference in C
- case class NoSuchTargetException(message: String) extends FirrtlInternalException with Product with Serializable
-
case class
ResolvePaths(targets: Seq[CompleteTarget]) extends Annotation with Product with Serializable
Group of targets that should become local targets
Value Members
- object EliminateTargetPaths
This is the documentation for Firrtl.