use conv_std_logic_vector(integer(name),no.of bits for standard logic vector needed);
for converting to integer use straightway
conv_integer(std logic vector(name));
no additional library needed for this
use conv_std_logic_vector(integer(name),no.of bits for standard logic vector needed);
for converting to integer use straightway
conv_integer(std logic vector(name));
no additional library needed for this
The usage of conv_* functions is discouraged as they are not *IEEE* standard functions and different vendors have/had different interpretations of these functions. Read VHDL FAQ for more on this. **broken link removed**
Regards,
Ajeetha, CVC www.noveldv.com
New Book: A Pragmatic Approach to VMM Adoption 2006 ISBN 0-9705394-9-5
h**p://www.systemverilog.us/