trait IsMember extends CompleteTarget

A member of a FIRRTL Circuit (e.g. cannot point to a CircuitTarget) Concrete Subclasses are: ModuleTarget, InstanceTarget, and ReferenceTarget

Source
Target.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IsMember
  2. CompleteTarget
  3. Target
  4. Named
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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

    Definition Classes
    CompleteTarget
  2. abstract def asPath: Seq[(Instance, OfModule)]

    returns

    Creates a path, assuming all Instance and OfModules in this IsMember is used as a path

  3. abstract def circuit: String

    returns

    The circuit of this target

    Definition Classes
    CompleteTarget
  4. abstract def circuitOpt: Option[String]

    returns

    Circuit name, if it exists

    Definition Classes
    Target
  5. abstract 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
    Target
  6. abstract def justPath: Seq[TargetToken]

    returns

    Tokens of just this member's path

  7. abstract def leafModule: String
  8. abstract def module: String

    returns

    Root module, e.g. top-level module of this target

  9. abstract def moduleOpt: Option[String]

    returns

    Module name, if it exists

    Definition Classes
    Target
  10. abstract def notPath: Seq[TargetToken]

    returns

    Local tokens of what this member points (not a path)

  11. abstract def path: Seq[(Instance, OfModule)]

    returns

    Returns the instance hierarchy path, if one exists

    Definition Classes
    IsMemberTarget
  12. abstract def pathTarget: CompleteTarget

    returns

    Member's path target

  13. abstract def pathlessTarget: IsMember

    returns

    Same target without a path

  14. abstract def setPathTarget(newPath: IsModule): CompleteTarget

    Resets this target to have a new path

  15. abstract def targetParent: CompleteTarget

    returns

    Member's parent target

  16. abstract def tokens: Seq[TargetToken]

    returns

    Target tokens

    Definition Classes
    Target

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def circuitTarget: CircuitTarget

    returns

    The CircuitTarget of this target's circuit

    Definition Classes
    CompleteTarget
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def complete: CompleteTarget

    returns

    Converts this Target into a CompleteTarget

    Definition Classes
    Target
  8. def encapsulatedBy(other: IsModule): Boolean

    Checks whether this is inside of other

    Checks whether this is inside of other

    Definition Classes
    Target
  9. def encapsulatingModule: String

    returns

    The ModuleTarget of the module that directly contains this component

  10. def encapsulatingModuleTarget: ModuleTarget
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getComplete: Option[CompleteTarget]

    returns

    If legal, convert this Target into a CompleteTarget

    Definition Classes
    CompleteTargetTarget
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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
  19. def moduleTarget: ModuleTarget

    returns

    Member's top-level module target

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def pathAsTargets: Seq[InstanceTarget]

    returns

    List of local Instance Targets refering to each instance/ofModule in this member's path

  24. 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
  25. def serialize: String

    returns

    Human-readable serialization

    Definition Classes
    TargetNamed
  26. def sharedRoot(other: Target): Boolean

    Share root module

    Share root module

    Definition Classes
    Target
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toGenericTarget: GenericTarget

    returns

    Converts this Target into a GenericTarget

    Definition Classes
    Target
  29. def toNamed: Named

    returns

    Converts this Target into either a CircuitName, ModuleName, or ComponentName

    Definition Classes
    Target
  30. def toString(): String
    Definition Classes
    CompleteTarget → AnyRef → Any
  31. def toTarget: CompleteTarget
    Definition Classes
    CompleteTargetNamed
  32. def tryToComplete: Target

    returns

    Converts this Target into a CompleteTarget, or if it can't, return original Target

    Definition Classes
    Target
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CompleteTarget

Inherited from Target

Inherited from Named

Inherited from AnyRef

Inherited from Any

Ungrouped