Package: vectors

Types

Name Type Description
T_SLVV_2 array(natural range <>) of T_SLV_2 STD_LOGIC_VECTOR_VECTORs type T_SLVV is array(NATURAL range <>) of STD_LOGIC_VECTOR; -- VHDL 2008 syntax - not yet supported by Xilinx
T_SLVV_3 array(natural range <>) of T_SLV_3
T_SLVV_4 array(natural range <>) of T_SLV_4
T_SLVV_8 array(natural range <>) of T_SLV_8
T_SLVV_12 array(natural range <>) of T_SLV_12
T_SLVV_16 array(natural range <>) of T_SLV_16
T_SLVV_24 array(natural range <>) of T_SLV_24
T_SLVV_32 array(natural range <>) of T_SLV_32
T_SLVV_48 array(natural range <>) of T_SLV_48
T_SLVV_64 array(natural range <>) of T_SLV_64
T_SLVV_128 array(natural range <>) of T_SLV_128
T_SLVV_256 array(natural range <>) of T_SLV_256
T_SLVV_512 array(natural range <>) of T_SLV_512
T_SLM array(natural range <>,
natural range <>) of std_logic
STD_LOGIC_MATRIXs

Functions

Description
ATTENTION:

  1. you MUST initialize your matrix signal with 'Z' to get correct simulation results (iSIM, vSIM, ghdl/gtkwave)
    Example: signal myMatrix : T_SLM(3 downto 0, 7 downto 0) := (others => (others => 'Z'));

  2. Xilinx iSIM bug: DON'T use myMatrix'range(n) for n >= 2
    myMatrix'range(2) returns always myMatrix'range(1); see work-around notes below

    USAGE NOTES:
    dimension 1 => rows - e.g. Words
    dimension 2 => columns - e.g. Bits/Bytes in a word

    WORKAROUND: for Xilinx ISE/iSim
    Version: 14.2

    Issue: myMatrix'range(n) for n >= 2 returns always myMatrix'range(1)

    Function declarations

    slicing boundary calulations

Description
assign vector to complete row

Description
assign short vector to row starting at position

Description
assign short vector to row in range high:low

Description
assign vector to complete column

Description
get submatrix in boundingbox RowIndex,ColIndex,Height,Width

Description
get submatrix / all rows in RowIndex range high:low

Description
get submatrix / all columns in ColIndex range high:low

Description
Matrix concatenation: slm_merge_*

Description
get a matrix column

Description
get a matrix row

Description
get a matrix row of defined length [length - 1 downto 0]

Description
get a sub vector of a matrix row at high:low

Description
convert vector-vector to flatten vector

Description

Description

Description

Description

Description

Description

Description

Description

Description
convert matrix to flatten vector

Description
create matrix from vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
create matrix from vector-vector

Description
Change vector direction

Description
Reverse vector elements

Description
TODO:

Description
to_string