Packages

o

chisel3.aop

Select

object Select

Use to select Chisel components in a module, after that module has been constructed Useful for adding additional Chisel annotations or for use within an Aspect

Source
Select.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Select
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Predicate extends Serializeable

    Used to indicates a when's predicate (or its otherwise predicate)

  2. case class PredicatedConnect(preds: Seq[Predicate], loc: Data, exp: Data, isBulk: Boolean) extends Serializeable with Product with Serializable

    Used to represent a connection or bulk connection

    Used to represent a connection or bulk connection

    Additionally contains the sequence of when predicates seen when the connection is declared

  3. case class Printf(preds: Seq[Predicate], pable: Printable, clock: Clock) extends Serializeable with Product with Serializable

    Used to represent a chisel3.printf

  4. trait Serializeable extends AnyRef
  5. case class Stop(preds: Seq[Predicate], ret: Int, clock: Clock) extends Serializeable with Product with Serializable

    Used to represent a chisel3.stop

  6. case class When(bool: Bool) extends Predicate with Product with Serializable

    Used to represent chisel3.when predicate

    Used to represent chisel3.when predicate

    bool

    the when predicate

  7. case class WhenNot(bool: Bool) extends Predicate with Product with Serializable

    Used to represent the otherwise predicate of a chisel3.when

    Used to represent the otherwise predicate of a chisel3.when

    bool

    the when predicate corresponding to this otherwise predicate

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 attachedTo(module: BaseModule)(signal: Data): Set[Data]

    Selects all components who are attached to a given signal, within a module

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def collectDeep[T](module: BaseModule)(collector: PartialFunction[BaseModule, T]): Iterable[T]

    Collects all components selected by collector within module and all children modules it instantiates directly or indirectly Accepts a collector partial function, rather than a collector function (see getDeep)

    Collects all components selected by collector within module and all children modules it instantiates directly or indirectly Accepts a collector partial function, rather than a collector function (see getDeep)

    T

    Type of the component that will be collected

    module

    Module to collect components, as well as all children module it directly and indirectly instantiates

    collector

    Collector partial function to pick, given a module, which components to collect

  8. def connectionsTo(module: BaseModule)(signal: Data): Seq[PredicatedConnect]

    Selects all connections to a signal or its parent signal(s) (if the signal is an element of an aggregate signal) The when predicates surrounding each connection are included in the returned values

    Selects all connections to a signal or its parent signal(s) (if the signal is an element of an aggregate signal) The when predicates surrounding each connection are included in the returned values

    E.g. if signal = io.foo.bar, connectionsTo will return all connections to io, io.foo, and io.bar

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getDeep[T](module: BaseModule)(collector: (BaseModule) ⇒ Seq[T]): Seq[T]

    Collects all components selected by collector within module and all children modules it instantiates directly or indirectly Accepts a collector function, rather than a collector partial function (see collectDeep)

    Collects all components selected by collector within module and all children modules it instantiates directly or indirectly Accepts a collector function, rather than a collector partial function (see collectDeep)

    T

    Type of the component that will be collected

    module

    Module to collect components, as well as all children module it directly and indirectly instantiates

    collector

    Collector function to pick, given a module, which components to collect

  14. def getIntermediateAndLeafs(d: Data): Seq[Data]

    Return all expanded components, including intermediate aggregate nodes

    Return all expanded components, including intermediate aggregate nodes

    d

    Component to find leafs if aggregate typed. Intermediate fields/indicies ARE included

  15. def getLeafs(d: Data): Seq[Data]

    Return just leaf components of expanded node

    Return just leaf components of expanded node

    d

    Component to find leafs if aggregate typed. Intermediate fields/indicies are not included

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def instances(module: BaseModule): Seq[BaseModule]

    Selects all instances directly instantiated within given module

  18. def invalids(module: BaseModule): Seq[Data]

    Selects all components who have been set to be invalid, even if they are later connected to

  19. def ios(module: BaseModule): Seq[Data]

    Selects all ios directly contained within given module

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def memPorts(dir: MemPortDirection)(module: BaseModule): Seq[(Data, MemBase[_])]

    Selects all memory ports of a given direction, including their memory

    Selects all memory ports of a given direction, including their memory

    dir

    The direction of memory ports to select

  22. def memPorts(module: BaseModule): Seq[(Data, MemPortDirection, MemBase[_])]

    Selects all memory ports, including their direction and memory

  23. def mems(module: BaseModule): Seq[Mem[_]]

    Selects all Mems directly contained within given module

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def ops(opKind: String)(module: BaseModule): Seq[Data]

    Selects a kind of arithmetic or logical operator directly instantiated within given module The kind of operators are contained in chisel3.internal.firrtl.PrimOp

    Selects a kind of arithmetic or logical operator directly instantiated within given module The kind of operators are contained in chisel3.internal.firrtl.PrimOp

    opKind

    the kind of operator, e.g. "mux", "add", or "bits"

  28. def ops(module: BaseModule): Seq[(String, Data)]

    Selects all arithmetic or logical operators directly instantiated within given module

  29. def printfs(module: BaseModule): Seq[Printf]

    Selects all printf statements, and includes the predicates surrounding the printf statement

  30. def registers(module: BaseModule): Seq[Data]

    Selects all registers directly instantiated within given module

  31. def stops(module: BaseModule): Seq[Stop]

    Selects all stop statements, and includes the predicates surrounding the stop statement

  32. def syncReadMems(module: BaseModule): Seq[SyncReadMem[_]]

    Selects all SyncReadMems directly contained within given module

  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. def wires(module: BaseModule): Seq[Data]

    Selects all wires in a module

Inherited from AnyRef

Inherited from Any

Ungrouped