Creates a new Vec composed of the input Data nodes.
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)
Creates a new Vec composed of elements of the input Seq of Data nodes.
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)
Creates a new Vec with n
entries of the specified data type.
Creates a new Vec with n
entries of the specified data type.
elements are NOT assigned by default and have no value
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.
number of elements in the vector (the function is applied from
0 to n-1
)
function that takes in an Int (the index) and returns a Data that becomes the output element
(Since version chisel3) Vec argument order should be size, t; this will be removed by the official release
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.
number of elements (amd the number of times the function is called)
function that generates the Data that becomes the output element
(Since version chisel3) Vec.fill(n)(gen) is deprecated. Please use Vec(Seq.fill(n)(gen))