case class InstanceTarget(module: String, path: Seq[(Instance, OfModule)], instance: String, ofModule: String) extends IsModule with IsComponent with Product with Serializable
Points to an instance declaration of a module (termed an ofModule)
- module
- Root module (e.g. the base module of this target) 
- path
- Path through instance/ofModules 
- instance
- Name of the instance 
- ofModule
- Name of the instance's module 
- Annotations
- @deprecated
- Deprecated
- (Since version Chisel 7.0.0) All APIs in package firrtl are deprecated. 
- Source
- Target.scala
- Alphabetic
- By Inheritance
- InstanceTarget
- Serializable
- Product
- Equals
- IsComponent
- IsModule
- IsMember
- CompleteTarget
- Target
- Named
- AnyRef
- Any
- by convertNamed2Target
- by convertTarget2Named
- by convertIsComponent2ComponentName
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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 InstanceTarget toany2stringadd[InstanceTarget] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
 
-    def ->[B](y: B): (InstanceTarget, B)- Implicit
- This member is added by an implicit conversion from InstanceTarget toArrowAssoc[InstanceTarget] 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, inst: String): InstanceTargetAdds 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
- InstanceTarget → IsModule → CompleteTarget
 
-    def addReference(rt: ReferenceTarget): ReferenceTarget- returns
- a ReferenceTarget referring to given reference within this instance 
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def asPath: Seq[(Instance, OfModule)]- returns
- Creates a path, assuming all Instance and OfModules in this IsMember is used as a path 
 - Definition Classes
- InstanceTarget → IsMember
 
-    def asReference: ReferenceTarget- returns
- a ReferenceTarget referring to this declaration of this instance 
 
-    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): BooleanChecks 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: (InstanceTarget) => Boolean, msg: => Any): InstanceTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget toEnsuring[InstanceTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: (InstanceTarget) => Boolean): InstanceTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget toEnsuring[InstanceTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean, msg: => Any): InstanceTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget toEnsuring[InstanceTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean): InstanceTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget toEnsuring[InstanceTarget] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def expr: Expression- Implicit
- This member is added by an implicit conversion from InstanceTarget toComponentName performed by method convertIsComponent2ComponentName in firrtl.annotations.Target.
- Definition Classes
- ComponentName
 
-    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(inst: String, of: String): InstanceTarget- returns
- Creates a new Target, appending an instance and ofmodule 
 - Definition Classes
- InstanceTarget → IsModule
 
-  val instance: String
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def isLocal: BooleanWhether the target is directly instantiated in its root module Whether the target is directly instantiated in its root module - Definition Classes
- IsComponent → Target
 
-    def justPath: Seq[TargetToken]- returns
- Tokens of just this member's path 
 - Definition Classes
- IsComponent → IsMember
 
-    def leafModule: String- Definition Classes
- InstanceTarget → IsMember
 
-    def modify(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
- InstanceTarget → IsMember
 
-    def moduleOpt: Option[String]- returns
- Module name, if it exists 
 - Definition Classes
- InstanceTarget → 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 InstanceTarget toComponentName performed by method convertIsComponent2ComponentName in firrtl.annotations.Target.
- Definition Classes
- ComponentName
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def notPath: Seq[Product with TargetToken with Serializable { def value: String }]- returns
- Local tokens of what this member points (not a path) 
 - Definition Classes
- InstanceTarget → IsMember
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-  val ofModule: String
-    def ofModuleTarget: ModuleTarget- returns
- a ModuleTarget referring to declaration of this ofModule 
 
-    val path: Seq[(Instance, OfModule)]- returns
- Returns the instance hierarchy path, if one exists 
 - Definition Classes
- InstanceTarget → 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: IsModule- returns
- Member's path target 
 - Definition Classes
- IsComponent → IsMember
 
-    def pathlessTarget: InstanceTargetReturns the local form of this InstanceTarget Returns the local form of this InstanceTarget For example, given ~Top|Top/foo:Foo/bar:Bar,.pathlessTargetreturns~Top|Foo/bar:BarThis is useful for cases in which annotations must point to the module itself rather than an absolute *instance* of the module (e.g. deduplication). - returns
- Same target without a path 
 - Definition Classes
- InstanceTarget → IsMember
 
-    def productElementNames: Iterator[String]- Definition Classes
- Product
 
-    def ref(value: String): ReferenceTarget- returns
- Creates a new Target, appending a ref 
 - Definition Classes
- InstanceTarget → IsModule
 
-    def serialize: String- returns
- Human-readable serialization 
 - Definition Classes
- Target
 
-    def setPathTarget(newPath: IsModule): InstanceTargetResets this target to have a new path Resets this target to have a new path - Definition Classes
- InstanceTarget → IsMember
 
-    def sharedRoot(other: Target): BooleanShare root module Share root module - Definition Classes
- Target
 
-    def stripHierarchy(n: Int): IsModuleRemoves 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 - Definition Classes
- InstanceTarget → IsComponent
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toGenericTarget: GenericTarget- returns
- Converts this Target into a GenericTarget 
 - Definition Classes
- Target
 
-    def toNamed: ComponentName- returns
- Converts this Target into either a ModuleName, or ComponentName 
 - Definition Classes
- IsComponent → 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
- IsComponent → 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): IsComponentAdds 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 InstanceTarget 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:(instanceTarget: CompleteTarget).addHierarchy(root, instance) 
- Definition Classes
- CompleteTarget
 
-    def complete: CompleteTarget- returns
- Converts this Target into a CompleteTarget 
 - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: CompleteTarget).complete 
- Definition Classes
- Target
 
-    def encapsulatedBy(other: IsModule): BooleanChecks whether this is inside of other Checks whether this is inside of other - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: 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 InstanceTarget 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:(instanceTarget: CompleteTarget).getComplete 
- Definition Classes
- CompleteTarget → Target
 
-    def isLocal: BooleanWhether 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 InstanceTarget 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:(instanceTarget: CompleteTarget).isLocal 
- Definition Classes
- Target
 
-    def modify(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 InstanceTarget 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:(instanceTarget: CompleteTarget).modify(moduleOpt, tokens) 
- Definition Classes
- Target
 
-    val module: ModuleName- Implicit
- This member is added by an implicit conversion from InstanceTarget toComponentName performed by method convertIsComponent2ComponentName 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:(instanceTarget: ComponentName).module 
- Definition Classes
- ComponentName
 
-    def moduleOpt: Option[String]- returns
- Module name, if it exists 
 - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: 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 InstanceTarget 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:(instanceTarget: CompleteTarget).path 
- Definition Classes
- Target
 
-    def productElementNames: Iterator[String]- Implicit
- This member is added by an implicit conversion from InstanceTarget toComponentName performed by method convertIsComponent2ComponentName 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:(instanceTarget: ComponentName).productElementNames 
- Definition Classes
- Product
 
-    def serialize: String- returns
- Human-readable serialization 
 - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: CompleteTarget).serialize 
- Definition Classes
- Target
 
-    def sharedRoot(other: Target): BooleanShare root module Share root module - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: 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 InstanceTarget 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:(instanceTarget: CompleteTarget).toGenericTarget 
- Definition Classes
- Target
 
-    def toNamed: Named- returns
- Converts this Target into either a ModuleName, or ComponentName 
 - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: CompleteTarget).toNamed 
- Definition Classes
- Target
 
-    def toString(): String- Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: CompleteTarget).toString() 
- Definition Classes
- CompleteTarget → AnyRef → Any
 
-    def toTarget: CompleteTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: CompleteTarget).toTarget 
- Definition Classes
- CompleteTarget → Named
 
-    def toTarget: CompleteTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: Named).toTarget 
- Definition Classes
- Named
 
-    def toTarget: ReferenceTarget- Implicit
- This member is added by an implicit conversion from InstanceTarget toComponentName performed by method convertIsComponent2ComponentName 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:(instanceTarget: ComponentName).toTarget 
- Definition Classes
- ComponentName → Named
 
-    def tokens: Seq[TargetToken]- returns
- Target tokens 
 - Implicit
- This member is added by an implicit conversion from InstanceTarget 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:(instanceTarget: 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 InstanceTarget 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:(instanceTarget: CompleteTarget).tryToComplete 
- Definition Classes
- Target
 
Deprecated Value Members
-    def formatted(fmtstr: String): String- Implicit
- This member is added by an implicit conversion from InstanceTarget toStringFormat[InstanceTarget] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
- (Since version 2.12.16) Use - formatString.format(value)instead of- value.formatted(formatString), or use the- f""string interpolator. In Java 15 and later,- formattedresolves to the new method in String which has reversed parameters.
 
-    def →[B](y: B): (InstanceTarget, B)- Implicit
- This member is added by an implicit conversion from InstanceTarget toArrowAssoc[InstanceTarget] 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.
 
This is the documentation for Chisel.
Package structure
The chisel3 package presents the public API of Chisel. It contains the concrete core types
UInt,SInt,Bool,Clock, andReg, the abstract typesBits,Aggregate, andData, and the aggregate typesBundleandVec.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
utilpackage.The
testerspackage defines the basic interface for chisel testers.