Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File IO

Status
Not open for further replies.

edhunter2003

Technical User
Joined
Oct 21, 2003
Messages
8
Location
IE
Hi all,

I am writing a testbench and I need to know something about file IO. How can you read a byte from a file and convert it to a std_logic_vector(7 downto 0)?

I have looked at all the text IO stuff, but none of it fits my need.

What I want is to read a pixel from a bitmap file, and convert it to std_logic_vector(7 downto 0) to pass to my VHDL core.

Any ideas?

Thanks a million
Ed
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top