Hi
I'm running a benchmark between Modelsim and active HDL.
I have the following code compiled on Active HDL:
addr := unsigned(x"1");
When I run it on Modelsim, it requires a ' sign after the unsigned , in order to compile. So in Modelsim it looks like this:
addr := unsigned'(x"1");
This expression also compiles on Active HDL.
Can any body explain why do I need this ' sign?
Thanks
Limor
I'm running a benchmark between Modelsim and active HDL.
I have the following code compiled on Active HDL:
addr := unsigned(x"1");
When I run it on Modelsim, it requires a ' sign after the unsigned , in order to compile. So in Modelsim it looks like this:
addr := unsigned'(x"1");
This expression also compiles on Active HDL.
Can any body explain why do I need this ' sign?
Thanks
Limor