Circuit name, if it exists
If legal, convert this Target into a CompleteTarget
Whether the target is directly instantiated in its root module
Module name, if it exists
Target tokens
Converts this Target into a CompleteTarget
Returns a new GenericTarget with new values
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
Refers to something in a FIRRTL firrtl.ir.Circuit. Used for Annotation targets.
Can be in various states of completion/resolved: