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


PLXSIM VHDL reference - conv_integer

Declaration

Synopsis

Description

Declaration
function conv_integer(
    constant bv : in byte_vector_t)
return natural;
Synopsis

Converts a byte_vector_t (vector of bytes) to an integer.

Description

The bv parameter is converted to a natural, treating the vector as an unsigned multibyte value where bv(0) is the least significant byte. It is the caller's responsibility to ensure that the result does not overflow a natural value.

 


 Top of page