The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 7:20am
Pages: 1
Send Topic Print
How to save simulation results in AdvanceMS? (Read 2887 times)
delta
New Member
*
Offline



Posts: 1
Finland
How to save simulation results in AdvanceMS?
Jun 02nd, 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.
Back to top
 
 
View Profile   IP Logged
Paul
Community Fellow
*****
Offline



Posts: 351
Switzerland
Re: How to save simulation results in AdvanceMS?
Reply #1 - 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
Back to top
 
 
View Profile WWW   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.