Class

chisel3.internal.naming

NamingContext

Related Doc: package naming

Permalink

class NamingContext extends AnyRef

Base class for naming contexts, providing the basic API consisting of naming calls and ability to take descendant naming contexts.

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamingContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NamingContext()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add_anonymous_descendant(descendant: NamingContext): Unit

    Permalink
  5. def add_descendant(ref: AnyRef, descendant: NamingContext): Unit

    Permalink

    Adds a NamingContext object as a descendant - where its contained objects will have names prefixed with the name given to the reference object, if the reference object is named in the scope of this context.

  6. val anonymousDescendants: ListBuffer[NamingContext]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var closed: Boolean

    Permalink
  10. val descendants: IdentityHashMap[AnyRef, ListBuffer[NamingContext]]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val items: ListBuffer[(AnyRef, String)]

    Permalink
  18. def name[T](obj: T, name: String): T

    Permalink

    Suggest a name (that will be propagated to FIRRTL) for an object, then returns the object itself (so this can be inserted transparently anywhere).

    Suggest a name (that will be propagated to FIRRTL) for an object, then returns the object itself (so this can be inserted transparently anywhere). Is a no-op (so safe) when applied on objects that aren't named, including non-Chisel data types.

  19. def name_prefix(prefix: String): Unit

    Permalink

    Gives this context a naming prefix (which may be empty, "", for a top-level Module context) so that actual naming calls (HasId.suggestName) can happen.

    Gives this context a naming prefix (which may be empty, "", for a top-level Module context) so that actual naming calls (HasId.suggestName) can happen. Recursively names descendants, for those whose return value have an associated name.

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped