Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > file read in Virtex II board

Reply
Thread Tools

file read in Virtex II board

 
 
Himalaya Himalaya is offline
Junior Member
Join Date: Mar 2007
Posts: 2
 
      03-20-2007
i wrote a vhdl prog for file reading and it worked without any prob in ModelSim. My next step is doing the same in Xilinx VirtexII Pro board and observing the output.. however, the file reading feature is not working properly..

this is my code segment:
subtype word is std_logic_vector(15 downto 0);
type initz is file of word;
begin

P: process (reset)
file datain : initz open read_mode is "init.txt";
variable L : Line;
begin
if (reset='1') then
while not(endfile(datain)) loop
readline(datain, L); -->shows error here
read(L,val);
end loop;

error:readline should not contain these operands in this context

wat is wrong wit my code?? how do i make it work fr the FPGA board??
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read image on virtex-2/virtex-5 kit?? dileep111 General Computer Support 1 01-30-2010 02:46 PM
Burning the VHDL code on Virtex II pro board rishikesh.sahoo VHDL 0 06-15-2009 12:14 PM
XUP Virtex II Pro Exalauation board.. suddy72 VHDL 0 09-03-2007 12:31 PM
go here to complain to Logitech about your cam drivers http://forums.logitech.com/logitech/board/message?board.id=quickcam_software&message.id=911 hught1956 Windows 64bit 7 08-24-2006 02:06 PM
Virtex - 4 LC Development Board (DS-KIT-4VLX25LC) Joghurt VHDL 0 09-01-2005 12:13 PM



Advertisments