ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data
function conv_byte_vector( constant slv : in std_logic_vector) return byte_vector_t;
Converts a std_logic_vector to a byte_vector_t (vector of bytes).
The slv parameter is left-padded to a multiple of 8 elements, and then chopped up at 8-element intervals. Each 8-element segment becomes one element of the returned byte_vector_t.