The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> VHDL-AMS >> How to save simulation results in AdvanceMS?
https://designers-guide.org/forum/YaBB.pl?num=1149233472

Message started by delta on Jun 2nd, 2006, 12:31am

Title: How to save simulation results in AdvanceMS?
Post by delta on Jun 2nd, 2006, 12:31am

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.

Title: Re: How to save simulation results in AdvanceMS?
Post by Paul on Jun 21st, 2006, 7:54am

Hi,

the file will be closed (written to the disk) at the end of your simulation. The end of the analog simulation in ADMS is determined by the simulation duration specified in the .TRAN command in your command file (.cmd). I hope this answers your question.

Paul

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.