ya_montazar
Member level 2
- Joined
- Feb 24, 2014
- Messages
- 47
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 342
Hi,
I want to convert an integer to a charecter. i.e when I give x"30" it becomes converted to '0';
Is there any correct way to do this?
I tried to use:
but it generated an syntax error:
"Attribute is not authorized : 'val'."
Regards,
I want to convert an integer to a charecter. i.e when I give x"30" it becomes converted to '0';
Is there any correct way to do this?
I tried to use:
Code:
tmp <= character ' val( int_tmp );
but it generated an syntax error:
"Attribute is not authorized : 'val'."
Regards,