Adds another level of instance hierarchy Example: Given root=A and instance=b, transforms (Top, B)/c:C -> (Top, A)/b:B/c:C
Adds another level of instance hierarchy Example: Given root=A and instance=b, transforms (Top, B)/c:C -> (Top, A)/b:B/c:C
Creates a path, assuming all Instance and OfModules in this IsMember is used as a path
Circuit containing the module
Circuit containing the module
Circuit name, if it exists
The CircuitTarget of this target's circuit
Converts this Target into a CompleteTarget
If legal, convert this Target into a CompleteTarget
Creates a new Target, appending an instance and ofmodule
Whether the target is directly instantiated in its root module
Whether the target is directly instantiated in its root module
Tokens of just this member's path
Returns a new GenericTarget with new values
Name of the module
Name of the module
Module name, if it exists
Member's top-level module target
Local tokens of what this member points (not a path)
Returns the instance hierarchy path, if one exists
List of local Instance Targets refering to each instance/ofModule in this member's path
Member's path target
Same target without a path
Pretty serialization, ideal for error messages.
Pretty serialization, ideal for error messages. Cannot be deserialized.
Human-readable serialization
Creates a new Target, appending a ref
Resets this target to have a new path
Resets this target to have a new path
Member's parent target
Converts this Target into a GenericTarget
Converts this Target into either a CircuitName, ModuleName, or ComponentName
Target tokens
Converts this Target into a CompleteTarget, or if it can't, return original Target
Target pointing to a FIRRTL firrtl.ir.DefModule
Circuit containing the module
Name of the module