[source]

Package vectors

For detailed documentation see below.

Types

Name

Description

T_SLV_2

STD_LOGIC_VECTORs

T_SLV_3
T_SLV_4
T_SLV_8
T_SLV_12
T_SLV_16
T_SLV_24
T_SLV_32
T_SLV_48
T_SLV_64
T_SLV_96
T_SLV_128
T_SLV_256
T_SLV_512
T_SLVV_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
T_SLVV_4
T_SLVV_8
T_SLVV_12
T_SLVV_16
T_SLVV_24
T_SLVV_32
T_SLVV_48
T_SLVV_64
T_SLVV_128
T_SLVV_256
T_SLVV_512
T_SLM

STD_LOGIC_MATRIXs

Functions

virtual function natural low ( T_POSVEC lenvec, natural index ) [source]

slicing boundary calulations

virtual function natural high ( T_POSVEC lenvec, natural index ) [source]
virtual function T_SLM slm_slice ( T_SLM slm, natural RowIndex, natural ColIndex, natural Height, natural Width ) [source]

Matrix to matrix conversion: slm_slice*

virtual function T_SLM slm_slice_rows ( T_SLM slm, natural High, natural Low ) [source]
virtual function T_SLM slm_slice_cols ( T_SLM slm, natural High, natural Low ) [source]
virtual function T_SLM "not" ( t_slm a ) [source]

Boolean Operators

virtual function T_SLM "and" ( t_slm a, t_slm b ) [source]
virtual function T_SLM "or" ( t_slm a, t_slm b ) [source]
virtual function T_SLM "xor" ( t_slm a, t_slm b ) [source]
virtual function T_SLM "nand" ( t_slm a, t_slm b ) [source]
virtual function T_SLM "nor" ( t_slm a, t_slm b ) [source]
virtual function T_SLM "xnor" ( t_slm a, t_slm b ) [source]
virtual function T_SLM slm_merge_rows ( T_SLM slm1, T_SLM slm2 ) [source]

Matrix concatenation: slm_merge_*

virtual function T_SLM slm_merge_cols ( T_SLM slm1, T_SLM slm2 ) [source]
virtual function STD_LOGIC_VECTOR get_col ( T_SLM slm, natural ColIndex ) [source]

Matrix to vector conversion: get_*

virtual function STD_LOGIC_VECTOR get_row ( T_SLM slm, natural RowIndex ) [source]
virtual function STD_LOGIC_VECTOR get_row ( T_SLM slm, natural RowIndex, positive Length ) [source]
virtual function STD_LOGIC_VECTOR get_row ( T_SLM slm, natural RowIndex, natural High, natural Low ) [source]
virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_2 slvv ) [source]

Convert to vector: to_slv convert vector-vector to flatten vector

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_4 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_8 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_12 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_16 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_24 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_32 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_64 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLVV_128 slvv ) [source]

...

virtual function STD_LOGIC_VECTOR to_slv ( T_SLM slm ) [source]

convert matrix to flatten vector

virtual function T_SLVV_4 to_slvv_4 ( std_logic_vector slv ) [source]

Convert flat vector to avector-vector: to_slvv_*

virtual function T_SLVV_4 to_slvv_4 ( T_SLM slm ) [source]

Convert matrix to avector-vector: to_slvv_*

virtual function T_SLVV_8 to_slvv_8 ( std_logic_vector slv ) [source]
virtual function T_SLVV_8 to_slvv_8 ( T_SLM slm ) [source]
virtual function T_SLVV_12 to_slvv_12 ( std_logic_vector slv ) [source]
virtual function T_SLVV_12 to_slvv_12 ( T_SLM slm ) [source]
virtual function T_SLVV_16 to_slvv_16 ( std_logic_vector slv ) [source]
virtual function T_SLVV_16 to_slvv_16 ( T_SLM slm ) [source]
virtual function T_SLVV_32 to_slvv_32 ( std_logic_vector slv ) [source]
virtual function T_SLVV_32 to_slvv_32 ( T_SLM slm ) [source]
virtual function T_SLVV_64 to_slvv_64 ( std_logic_vector slv ) [source]
virtual function T_SLVV_64 to_slvv_64 ( T_SLM slm ) [source]
virtual function T_SLVV_128 to_slvv_128 ( std_logic_vector slv ) [source]
virtual function T_SLVV_128 to_slvv_128 ( T_SLM slm ) [source]
virtual function T_SLVV_256 to_slvv_256 ( std_logic_vector slv ) [source]
virtual function T_SLVV_256 to_slvv_256 ( T_SLM slm ) [source]
virtual function T_SLVV_512 to_slvv_512 ( std_logic_vector slv ) [source]
virtual function T_SLVV_512 to_slvv_512 ( T_SLM slm ) [source]
virtual function T_SLM to_slm ( std_logic_vector slv, positive ROWS, positive COLS ) [source]

Convert vector-vector to matrix: to_slm

virtual function T_SLM to_slm ( T_SLVV_4 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_8 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_12 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_16 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_32 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_48 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_64 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_128 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_256 slvv ) [source]

create matrix from vector-vector

virtual function T_SLM to_slm ( T_SLVV_512 slvv ) [source]

create matrix from vector-vector

virtual function T_SLVV_8 dir ( T_SLVV_8 slvv ) [source]

Change vector direction

virtual function T_SLVV_4 rev ( T_SLVV_4 slvv ) [source]

Reverse vector elements

virtual function T_SLVV_8 rev ( T_SLVV_8 slvv ) [source]
virtual function T_SLVV_12 rev ( T_SLVV_12 slvv ) [source]
virtual function T_SLVV_16 rev ( T_SLVV_16 slvv ) [source]
virtual function T_SLVV_32 rev ( T_SLVV_32 slvv ) [source]
virtual function T_SLVV_64 rev ( T_SLVV_64 slvv ) [source]
virtual function T_SLVV_128 rev ( T_SLVV_128 slvv ) [source]
virtual function T_SLVV_256 rev ( T_SLVV_256 slvv ) [source]
virtual function T_SLVV_512 rev ( T_SLVV_512 slvv ) [source]
virtual function T_SLM resize ( T_SLM slm, positive size ) [source]

TODO:

virtual function string to_string ( T_SLVV_8 slvv, character sep ) [source]

to_string

virtual function string to_string ( T_SLM slm, positive groups, character format ) [source]

Procedures

virtual function assign_row ( T_SLM slm, std_logic_vector slv, natural RowIndex ) [source]

Assign procedures: assign_*

virtual function assign_row ( T_SLM slm, std_logic_vector slv, natural RowIndex, natural Position ) [source]
virtual function assign_row ( T_SLM slm, std_logic_vector slv, natural RowIndex, natural High, natural Low ) [source]
virtual function assign_col ( T_SLM slm, std_logic_vector slv, natural ColIndex ) [source]