Hi,
I'm currently having problem to convert integer value (i.e. 1000 in
decimal) to ascii characters so that I could display on the LCD using
vhdl code. Could anyone has any recommendation in solving this as im
still very new to vhdl code, certain syntax im still learning. I need
this part urgently, it is for my school project. Thanks alots.
regards
Kenneth
|
|
0
|
|
|
|
Reply
|
k_ahg
|
8/20/2003 1:58:25 PM |
|
In 1993 an attibute is added to the VHDL language.
If int is an integer value the following will give the string:
integer'image(int)
Another solution is to use a package "image_pb.vhd"
see: http://members.aol.com/vhdlcohen/vhdl/Models.html
Egbert Molenkamp
"Kenneth" <k_ahg@hotmail.com> wrote in message
news:b493f523.0308200558.76563257@posting.google.com...
> Hi,
>
> I'm currently having problem to convert integer value (i.e. 1000 in
> decimal) to ascii characters so that I could display on the LCD using
> vhdl code. Could anyone has any recommendation in solving this as im
> still very new to vhdl code, certain syntax im still learning. I need
> this part urgently, it is for my school project. Thanks alots.
>
> regards
> Kenneth
|
|
0
|
|
|
|
Reply
|
Egbert
|
8/20/2003 2:32:33 PM
|
|