FUNCTIONslv(n:INSTD_LOGIC)RETURNSTD_LOGIC_VECTOR;-- standard logic to 1 element standard logic vector
FUNCTIONslv(n:INSTD_LOGIC)RETURNSTD_LOGIC_VECTOR;-- standard logic to 1 element standard logic vector
FUNCTIONsl(n:INSTD_LOGIC_VECTOR)RETURNSTD_LOGIC;-- 1 element standard logic vector to standard logic
FUNCTIONsl(n:INSTD_LOGIC_VECTOR)RETURNSTD_LOGIC;-- 1 element standard logic vector to standard logic
FUNCTIONto_sl(n:INBOOLEAN)RETURNSTD_LOGIC;-- if TRUE then return '1' else '0'
FUNCTIONto_bool(n:INSTD_LOGIC)RETURNBOOLEAN;-- if '1' or 'H' then return TRUE else FALSE
FUNCTIONto_bool(n:ININTEGER)RETURNBOOLEAN;-- if 0 then return FALSE else TRUE
FUNCTIONto_natural_arr(n:t_integer_arr;to_zero:BOOLEAN)RETURNt_natural_arr;-- if to_zero=TRUE then negative numbers are forced to zero, otherwise they will give a compile range error
FUNCTIONto_natural_arr(n:t_integer_arr;to_zero:BOOLEAN)RETURNt_natural_arr;-- if to_zero=TRUE then negative numbers are forced to zero, otherwise they will give a compile range error