The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 6:42pm
Pages: 1
Send Topic Print
textio (Read 2058 times)
coo848
New Member
*
Offline



Posts: 1

textio
Mar 30th, 2006, 6:16pm
 
I use modelsim in vhdl design. I want to call data from fetalint.txt. my code is

use std.textio.all;

file infile: text is in "fetalint.txt";
variable ip1: integer range -4096 to 4095;
variable buf: line;
process
begin
while not(endfile(infile)) loop

readline(infile,buf);
read(buf,ip1);
W_data<=ip1;

wait until falling_edge(W_clock);

end loop;

After i compile it, it succeed with WARNING: C:/Program files/Modeltech_xe/examples/fetalfirV2_tb.vhd(53): Using 1076-1987 syntax for file declaration.

But the simulation is succeed.

Can i know how can i remove the warning?
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.