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


PLXSIM VHDL reference - conv_integer_signed

Declaration

Synopsis

Description

Declaration
function conv_integer_signed(
    constant slv : in std_logic_vector)
return integer;
Synopsis

Converts a std_logic_vector to an integer.

Description

The slv parameter is converted to an integer, treating it as a two's complement signed value. It is the caller's responsibility to ensure that the result does not overflow an integer.

 


 Top of page