character to ascii convertion

Status
Not open for further replies.

jis

Junior Member level 3
Joined
Dec 17, 2011
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,501
hi all....
i am interfacing an lcd with fpga. i want to convert the character to ascii so that i can display it using an lcd. i am storing the characters to be displayed in a string and using for loop i am retrieving it one by one. but i need to convert it to ascii. i am using vhdl. is there any inbuild function to do the same, if not can anyone help me to find how convertion can be done..
 

character '0' = 0x30 in ASCII
.
.
character '9' = 0x30+9 in ASCII
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…