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
The circuit of this target
Circuit name, if it exists
Root module, e.g. top-level module of this target
Module name, if it exists
Local tokens of what this member points (not a path)
Returns the instance hierarchy path, if one exists
Same target without a path
Resets this target to have a new path
Resets this target to have a new path
Removes n levels of instance hierarchy
Removes n levels of instance hierarchy
Example: n=1, transforms (Top, A)/b:B/c:C -> (Top, B)/c:C
Member's parent target
The CircuitTarget of this target's circuit
Converts this Target into a CompleteTarget
The ModuleTarget of the module that directly contains this component
If legal, convert this Target into a CompleteTarget
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
Member's top-level module target
List of local Instance Targets refering to each instance/ofModule in this member's path
Member's path target
Pretty serialization, ideal for error messages.
Pretty serialization, ideal for error messages. Cannot be deserialized.
Human-readable serialization
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
A component of a FIRRTL Module (e.g. cannot point to a CircuitTarget or ModuleTarget)