The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 22nd, 2024, 10:29pm
Pages: 1
Send Topic Print
save vhdl ams quantity values in cadence virtuoso? (Read 3383 times)
paula
New Member
*
Offline



Posts: 2

save vhdl ams quantity values in cadence virtuoso?
Jul 04th, 2006, 5:04pm
 
[url][/url]

Sad
can somebody please tell me how to save values of quantites into a file for post processing. I am using cadence virtuoso simulator for VHDL-AMS. Data can be exported and saved into csv format if one goes through the GUI, but is there an alternative so that I dont have to go through the GUI and save the results in csv format into a file ? Also if this is not possible, can I write the value of quantities into a file while simulation along with the simulation time "now" ? If so how ? If it is a branch quantity, how do I write it and if it is declared as a port how do I mention the terminals it needs to be connected between and then write it to a file?

Please help me with this. It is very important for me to know how to do this in order to carry on with my Thesis.

Thanks in advance.
Paula.
Back to top
 
 
View Profile   IP Logged
Paul
Community Fellow
*****
Offline



Posts: 351
Switzerland
Re: save vhdl ams quantity values in cadence virtu
Reply #1 - Jul 5th, 2006, 1:07pm
 
Hi,

you can use the textio package to read/write text files. Descriptions are available on multiple locations on the web:
http://www.eng.auburn.edu/department/ee/mgc/vhdl.html#textio
http://lsm.epfl.ch/webdav/site/lsm/users/104020/public/VHDL_instant_v2.1.pdf
http://www.amontec.com/fix/vhdl_memo/

Writing multiple variables to a single line is illustrated here:
http://www.vhdl.org/comp.lang.vhdl/FAQ1.html#text_files

Good luck
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.