Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > File I/O problem. VHDL

Thread Tools

File I/O problem. VHDL

mreister mreister is offline
Junior Member
Join Date: Aug 2008
Posts: 10
I am trying to write information to a text file in VHDL. Here is my code

type frame_data is array (31 downto 0) of std_logic_vector(31 downto 0);

type my_file is file of frame_data;
file load_file : my_file is out "DSP_Output.txt";

variable trace_line : line;

write ( trace_line,string'("test"));
writeline (load_file,trace_line);

I recieve the following error when i check syntax:

writeline can not have such operands in this context.
Reply With Quote

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
VHDL'87: avoiding FATAL ERROR when "Failed to open VHDL file" occurs VHDL 2 09-04-2007 09:06 PM
VHDL-2002 vs VHDL-93 vs VHDL-87? afd VHDL 1 03-23-2007 09:33 AM
VHDL 2002 vs VHDL 1993 dude VHDL 1 03-23-2006 01:18 PM
multiD-vhdl: Multi Dimensional Arrays (allowing generics on each dimension) for VHDL (including ports) VHDL 2 03-21-2006 04:05 PM
what's the difference between VHDL 93 CONCATENATION and VHDL 87 CONCATENATION? walala VHDL 3 09-18-2003 04:17 AM