Hi, I have a problem with textio library while compiling a file using ModelSim.
I have use the library: use std.textio.all; -- for Read(), Write()
It had worked before and now I don't know why it generates an error:
-- * Error: $MODEL_TECH/../vhdl_src/std/textio.vhd(18): (vcom-1136) Unknown identifier "read_mode".
-- ** Error: $MODEL_TECH/../vhdl_src/std/textio.vhd(18): (vcom-1112) FILE declaration was written using 1076-1993 syntax. Recompile using the -93 option.
This is the line with noted error: -- changed for vhdl92 syntax: file input : TEXT open read_mode is "STD_INPUT"; -- line
18I checked related *.mpf file and there is a line: [vcom] ; Turn on VHDL-1993 as the default. Normally is off. VHDL93 = 1
So it is assumed that VHDL93 is specified. What should I do now to correct the error?
Thank you.
Weng