How to make the output of spectre as text format in a file

V

vivian

Guest
I need the output of some circuit to be in a test file format. How can
I realize it in spectre? In spice3, you use .print v(1). What should i
do in spectre? thank you.
 
The reason I want to do this is I need the data of output to do some
analysis in C++ program. Thank you in advance.
 
In article <1129834236.768359.274600@g14g2000cwa.googlegroups.com>,
wangllu@yahoo.com says...
The reason I want to do this is I need the data of output to do some
analysis in C++ program. Thank you in advance.
You can use the psf program after the simulation:

psf -t time -t 1 -i /path/to/psf/simfile -o output.txt
--
Svenn
 
vivian wrote:

I need the output of some circuit to be in a test file format. How can
I realize it in spectre? In spice3, you use .print v(1). What should i
do in spectre? thank you.
Try having a look at this thread:

http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/dbf4a2816a62446b/8d12ae8aa5d7091c?lnk=st&q=ocnprint&rnum=10#8d12ae8aa5d7091c

Or try searching for ocnPrint.

Cheers,

Roger
 
On 20 Oct 2005 11:50:36 -0700, "vivian" <wangllu@yahoo.com> wrote:

The reason I want to do this is I need the data of output to do some
analysis in C++ program. Thank you in advance.
The simplest approach is either to use the printvs button in the calculator, or
to use the OCEAN function ocnPrint(). I'm sure there are plenty of things about
doing this before in this forum - so I'd suggest a search on google groups.

Andrew.
 
vivian wrote:
I need the output of some circuit to be in a test file format. How can
I realize it in spectre? In spice3, you use .print v(1). What should i
do in spectre? thank you.
I can see you are really stuck here. Here are some flimsy unlikely
solutions :

- use a veriloga module with a strobe() , such as the "voltmeter" cell
in the ahdlLib
- use the "psf" executable to turn a binary psf into ascii
- use the "option" card from spectre to specify the output format. You
can use ascii and nutmeg.
- (as mentionned in toher posts) use analog artist copy-paste, or ocean
ocnPrint

Thank you too, we appreciate your input.
 

Welcome to EDABoard.com

Sponsor

Back
Top