This library extends the
std_logic_arith library to handle
std_logic_vector values as unsigned integers.
This is a Synopsys extention. The source code is in std_logic_unsigned.vhd and is freely redistributable.
This library defines all of the same
operations as the
std_logic_arith library. This difference is that the extensions will take
std_logic_vector values as arguments and treat them as unsigned integers (ie. just like type
conv_integer is also defined on
std_logic_vector and treats the value like an unsigned integer:
function conv_integer(arg: std_logic_vector) return integer;