Mentor AdvanceMS has textio support now, but seems still not complete. This code works in modelsim vhdl, but not in ADMS:
Code:process (clk,data)
file df: text open WRITE_MODE is "simdata.dat";
variable dl : line;
begin
if clk'event and clk='1' then
write(dl,data);
writeline(df,dl);
end if;
end process;
It seems ADMS requires "file_close" to write the file.
Could anybody please tell me how to save simulation data to a file for analyze (in matlab)? The LIST seems not working in my WIN versrion.