ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


PLXSIM VHDL reference - conv_byte_vector

Declaration

Synopsis

Description

Declaration
function conv_byte_vector(
    constant slv : in std_logic_vector)
return byte_vector_t;
Synopsis

Converts a std_logic_vector to a byte_vector_t (vector of bytes).

Description

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.

 


 Top of page