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


PLXSIM VHDL reference - conv_integer_unsigned

Declaration

Synopsis

Description

Declaration
function conv_integer_unsigned(
    constant slv : in std_logic_vector)
return natural;
Synopsis

Converts a std_logic_vector to an natural.

Description

The slv parameter is converted to a natural, treating it as a unsigned value. It is the caller's responsibility to ensure that the result does not overflow a natural.

 


 Top of page