case class ModuleTarget(circuit: String, module: String) extends IsModule with Product with Serializable
Target pointing to a FIRRTL firrtl.ir.DefModule
- circuit
Circuit containing the module
- module
Name of the module
- Source
- Target.scala
- Alphabetic
- By Inheritance
- ModuleTarget
- Serializable
- Product
- Equals
- IsModule
- IsMember
- CompleteTarget
- Target
- Named
- AnyRef
- Any
- by convertNamed2Target
- by convertTarget2Named
- by convertModuleTarget2ModuleName
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ModuleTarget(circuit: String, module: String)
- circuit
Circuit containing the module
- module
Name of the module
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ModuleTarget toany2stringadd[ModuleTarget] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ModuleTarget, B)
- Implicit
- This member is added by an implicit conversion from ModuleTarget toArrowAssoc[ModuleTarget] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addHierarchy(root: String, instance: String): InstanceTarget
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
- Definition Classes
- ModuleTarget → IsModule → CompleteTarget
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asPath: Nil
- returns
Creates a path, assuming all Instance and OfModules in this IsMember is used as a path
- Definition Classes
- ModuleTarget → IsMember
- val circuit: String
- returns
The circuit of this target
- Definition Classes
- ModuleTarget → CompleteTarget
- def circuitOpt: Option[String]
- returns
Circuit name, if it exists
- Definition Classes
- ModuleTarget → Target
- def circuitTarget: CircuitTarget
- returns
The CircuitTarget of this target's circuit
- Definition Classes
- CompleteTarget
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def complete: CompleteTarget
- returns
Converts this Target into a CompleteTarget
- Definition Classes
- Target
- def encapsulatedBy(other: IsModule): Boolean
Checks whether this is inside of other
Checks whether this is inside of other
- Definition Classes
- Target
- def encapsulatingModule: String
- returns
The ModuleTarget of the module that directly contains this component
- Definition Classes
- IsMember
- def encapsulatingModuleTarget: ModuleTarget
- Definition Classes
- IsMember
- def ensuring(cond: (ModuleTarget) => Boolean, msg: => Any): ModuleTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toEnsuring[ModuleTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ModuleTarget) => Boolean): ModuleTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toEnsuring[ModuleTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ModuleTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toEnsuring[ModuleTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ModuleTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toEnsuring[ModuleTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getComplete: Option[CompleteTarget]
- returns
If legal, convert this Target into a CompleteTarget
- Definition Classes
- CompleteTarget → Target
- def instOf(instance: String, of: String): InstanceTarget
- returns
Creates a new Target, appending an instance and ofmodule
- Definition Classes
- ModuleTarget → IsModule
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLocal: Boolean
Whether the target is directly instantiated in its root module
Whether the target is directly instantiated in its root module
- Definition Classes
- ModuleTarget → Target
- def justPath: Seq[TargetToken]
- returns
Tokens of just this member's path
- Definition Classes
- ModuleTarget → IsMember
- def leafModule: String
- Definition Classes
- ModuleTarget → IsMember
- def modify(circuitOpt: Option[String] = circuitOpt, moduleOpt: Option[String] = moduleOpt, tokens: Seq[TargetToken] = tokens): GenericTarget
- returns
Returns a new GenericTarget with new values
- Definition Classes
- Target
- val module: String
- returns
Root module, e.g. top-level module of this target
- Definition Classes
- ModuleTarget → IsMember
- def moduleOpt: Option[String]
- returns
Module name, if it exists
- Definition Classes
- ModuleTarget → Target
- def moduleTarget: ModuleTarget
- returns
Member's top-level module target
- Definition Classes
- IsMember
- val name: String
- Implicit
- This member is added by an implicit conversion from ModuleTarget toModuleName performed by method convertModuleTarget2ModuleName in firrtl.annotations.Target.
- Definition Classes
- ModuleName
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notPath: Seq[TargetToken]
- returns
Local tokens of what this member points (not a path)
- Definition Classes
- ModuleTarget → IsMember
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def path: Seq[(Instance, OfModule)]
- returns
Returns the instance hierarchy path, if one exists
- Definition Classes
- ModuleTarget → IsMember → Target
- def pathAsTargets: Seq[InstanceTarget]
- returns
List of local Instance Targets refering to each instance/ofModule in this member's path
- Definition Classes
- IsMember
- def pathTarget: ModuleTarget
- returns
Member's path target
- Definition Classes
- ModuleTarget → IsMember
- def pathlessTarget: ModuleTarget
- returns
Same target without a path
- Definition Classes
- ModuleTarget → IsMember
- def prettyPrint(tab: String = ""): String
Pretty serialization, ideal for error messages.
Pretty serialization, ideal for error messages. Cannot be deserialized.
- returns
Human-readable serialization
- Definition Classes
- Target
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def ref(value: String): ReferenceTarget
- returns
Creates a new Target, appending a ref
- Definition Classes
- ModuleTarget → IsModule
- def serialize: String
- def setPathTarget(newPath: IsModule): IsModule
Resets this target to have a new path
Resets this target to have a new path
- Definition Classes
- ModuleTarget → IsMember
- def sharedRoot(other: Target): Boolean
Share root module
Share root module
- Definition Classes
- Target
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def targetParent: CircuitTarget
- returns
Member's parent target
- Definition Classes
- ModuleTarget → IsMember
- def toGenericTarget: GenericTarget
- returns
Converts this Target into a GenericTarget
- Definition Classes
- Target
- def toNamed: ModuleName
- returns
Converts this Target into either a CircuitName, ModuleName, or ComponentName
- Definition Classes
- ModuleTarget → Target
- def toString(): String
- Definition Classes
- CompleteTarget → AnyRef → Any
- def toTarget: CompleteTarget
- Definition Classes
- CompleteTarget → Named
- def tokens: Seq[TargetToken]
- returns
Target tokens
- Definition Classes
- ModuleTarget → Target
- def tryToComplete: Target
- returns
Converts this Target into a CompleteTarget, or if it can't, return original Target
- Definition Classes
- Target
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Shadowed Implicit Value Members
- def addHierarchy(root: String, instance: String): IsComponent
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
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).addHierarchy(root, instance)
- Definition Classes
- CompleteTarget
- def circuit: String
- returns
The circuit of this target
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).circuit
- Definition Classes
- CompleteTarget
- val circuit: CircuitName
- Implicit
- This member is added by an implicit conversion from ModuleTarget toModuleName performed by method convertModuleTarget2ModuleName in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: ModuleName).circuit
- Definition Classes
- ModuleName
- def circuitOpt: Option[String]
- returns
Circuit name, if it exists
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).circuitOpt
- Definition Classes
- Target
- def circuitTarget: CircuitTarget
- returns
The CircuitTarget of this target's circuit
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).circuitTarget
- Definition Classes
- CompleteTarget
- def complete: CompleteTarget
- returns
Converts this Target into a CompleteTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).complete
- Definition Classes
- Target
- def encapsulatedBy(other: IsModule): Boolean
Checks whether this is inside of other
Checks whether this is inside of other
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).encapsulatedBy(other)
- Definition Classes
- Target
- def getComplete: Option[CompleteTarget]
- returns
If legal, convert this Target into a CompleteTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).getComplete
- Definition Classes
- CompleteTarget → Target
- def isLocal: Boolean
Whether the target is directly instantiated in its root module
Whether the target is directly instantiated in its root module
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).isLocal
- Definition Classes
- Target
- def modify(circuitOpt: Option[String] = circuitOpt, moduleOpt: Option[String] = moduleOpt, tokens: Seq[TargetToken] = tokens): GenericTarget
- returns
Returns a new GenericTarget with new values
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).modify(circuitOpt, moduleOpt, tokens)
- Definition Classes
- Target
- def moduleOpt: Option[String]
- returns
Module name, if it exists
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).moduleOpt
- Definition Classes
- Target
- def path: Seq[(Instance, OfModule)]
- returns
Returns the instance hierarchy path, if one exists
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).path
- Definition Classes
- Target
- def prettyPrint(tab: String = ""): String
Pretty serialization, ideal for error messages.
Pretty serialization, ideal for error messages. Cannot be deserialized.
- returns
Human-readable serialization
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).prettyPrint(tab)
- Definition Classes
- Target
- def productElementNames: Iterator[String]
- Implicit
- This member is added by an implicit conversion from ModuleTarget toModuleName performed by method convertModuleTarget2ModuleName in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: ModuleName).productElementNames
- Definition Classes
- Product
- def serialize: String
- returns
Human-readable serialization
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).serialize
- Definition Classes
- Target → Named
- def serialize: String
- Implicit
- This member is added by an implicit conversion from ModuleTarget toNamed performed by method convertTarget2Named in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: Named).serialize
- Definition Classes
- Named
- def serialize: String
- Implicit
- This member is added by an implicit conversion from ModuleTarget toModuleName performed by method convertModuleTarget2ModuleName in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: ModuleName).serialize
- Definition Classes
- ModuleName → Named
- def sharedRoot(other: Target): Boolean
Share root module
Share root module
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).sharedRoot(other)
- Definition Classes
- Target
- def toGenericTarget: GenericTarget
- returns
Converts this Target into a GenericTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).toGenericTarget
- Definition Classes
- Target
- def toNamed: Named
- returns
Converts this Target into either a CircuitName, ModuleName, or ComponentName
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).toNamed
- Definition Classes
- Target
- def toString(): String
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).toString()
- Definition Classes
- CompleteTarget → AnyRef → Any
- def toTarget: CompleteTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).toTarget
- Definition Classes
- CompleteTarget → Named
- def toTarget: CompleteTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toNamed performed by method convertTarget2Named in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: Named).toTarget
- Definition Classes
- Named
- def toTarget: ModuleTarget
- Implicit
- This member is added by an implicit conversion from ModuleTarget toModuleName performed by method convertModuleTarget2ModuleName in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: ModuleName).toTarget
- Definition Classes
- ModuleName → Named
- def tokens: Seq[TargetToken]
- returns
Target tokens
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).tokens
- Definition Classes
- Target
- def tryToComplete: Target
- returns
Converts this Target into a CompleteTarget, or if it can't, return original Target
- Implicit
- This member is added by an implicit conversion from ModuleTarget toCompleteTarget performed by method convertNamed2Target in firrtl.annotations.Target.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(moduleTarget: CompleteTarget).tryToComplete
- Definition Classes
- Target
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ModuleTarget toStringFormat[ModuleTarget] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ModuleTarget, B)
- Implicit
- This member is added by an implicit conversion from ModuleTarget toArrowAssoc[ModuleTarget] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.