ASCII File

P

priya

hi frens
i am writing a VHDL test bench.i want to read a file in ASCII format.
Cann any one tell me if thr is any package available.
 
D

devices

priya said:
hi frens
i am writing a VHDL test bench.i want to read a file in ASCII format.
Cann any one tell me if thr is any package available.

Call the following function

Google("vhdl textio");

or call the following method

Google.searchFor("vhdl textio");

it will return what you need.
 
P

priya

thanx for ur reply
i m reading a file in ASCII format then have to convert it to
std_logic_vector
n write it back
is thr any function for this interconversion
like for int i know its conv_intteger()
but for char for string
is thr any
n in which library
 
D

devices

priya said:
thanx for ur reply
i m reading a file in ASCII format then have to convert it to
std_logic_vector
n write it back
is thr any function for this interconversion
like for int i know its conv_intteger()
but for char for string
is thr any
n in which library

Bookmark this:

http://www.csee.umbc.edu/help/VHDL/stdpkg.html

Take a look at this:

http://www.csee.umbc.edu/help/VHDL/std_logic_textio.vhdl

And talking about conversions,

convert "ur", "i m", "n" and the threatening "thr" back
into their original form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top