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
The circuit of this target
Circuit name, if it exists
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
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
Member's path target
Same target without a path
Resets this target to have a new path
Member's parent target
The CircuitTarget of this target's circuit
Converts this Target into a CompleteTarget
If legal, convert this Target into a CompleteTarget
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
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
Converts this Target into a CompleteTarget, or if it can't, return original Target
A member of a FIRRTL Circuit (e.g. cannot point to a CircuitTarget) Concrete Subclasses are: ModuleTarget, InstanceTarget, and ReferenceTarget