Object/Class

chisel3.core

Vec

Related Docs: class Vec | package core

Permalink

object Vec

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Vec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. macro def apply[T <: Data](elt0: T, elts: T*): Vec[T]

    Permalink

    Creates a new Vec composed of the input Data nodes.

    Creates a new Vec composed of the input Data nodes.

    Note

    output elements are connected from the input elements

    ,

    the width of all output elements is the width of the largest input element

    ,

    input elements should be of the same type (this is checked at the FIRRTL level, but not at the Scala / Chisel level)

  5. macro def apply[T <: Data](elts: Seq[T]): Vec[T]

    Permalink

    Creates a new Vec composed of elements of the input Seq of Data nodes.

    Creates a new Vec composed of elements of the input Seq of Data nodes.

    Note

    output elements are connected from the input elements

    ,

    the width of all output elements is the width of the largest input element

    ,

    input elements should be of the same type (this is checked at the FIRRTL level, but not at the Scala / Chisel level)

  6. def apply[T <: Data](n: Int, gen: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Vec[T]

    Permalink

    Creates a new Vec with n entries of the specified data type.

    Creates a new Vec with n entries of the specified data type.

    Note

    elements are NOT assigned by default and have no value

  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. def do_apply[T <: Data](elt0: T, elts: T*)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Vec[T]

    Permalink
  10. def do_apply[T <: Data](elts: Seq[T])(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Vec[T]

    Permalink
  11. def do_fill[T <: Data](n: Int)(gen: ⇒ T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Vec[T]

    Permalink
  12. def do_tabulate[T <: Data](n: Int)(gen: (Int) ⇒ T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Vec[T]

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. macro def tabulate[T <: Data](n: Int)(gen: (Int) ⇒ T): Vec[T]

    Permalink

    Creates a new Vec of length n composed of the results of the given function applied over a range of integer values starting from 0.

    Creates a new Vec of length n composed of the results of the given function applied over a range of integer values starting from 0.

    n

    number of elements in the vector (the function is applied from 0 to n-1)

    gen

    function that takes in an Int (the index) and returns a Data that becomes the output element

  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( ... )

Deprecated Value Members

  1. def apply[T <: Data](gen: T, n: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Vec[T]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Vec argument order should be size, t; this will be removed by the official release

  2. macro def fill[T <: Data](n: Int)(gen: ⇒ T): Vec[T]

    Permalink

    Creates a new Vec of length n composed of the result of the given function repeatedly applied.

    Creates a new Vec of length n composed of the result of the given function repeatedly applied.

    n

    number of elements (amd the number of times the function is called)

    gen

    function that generates the Data that becomes the output element

    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Vec.fill(n)(gen) is deprecated. Please use Vec(Seq.fill(n)(gen))

Inherited from AnyRef

Inherited from Any

Ungrouped