To_string() is not working

When we try to compile a file which consists the to_string function compiler is throwing error

CONSTANT UVVM: natural :=24;

CONSTANT STR:string:=to_string(UVVM);

This is the logic that has thrown errors (attached to this topic)

Hi, are you compiling for VHDL 2002? UVVM require VHDL 2008. Can you change and try again?

Regards,
Marius

Thanks, Marius its working fine now. I have missed it

1 Like