| Author |
Message |
vivian
Guest
|
Posted:
Thu Oct 20, 2005 8:10 pm Post subject:
How to make the output of spectre as text format in a file |
|
|
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.
|
|
| Back to top |
|
 |
vivian
Guest
|
Posted:
Thu Oct 20, 2005 8:10 pm Post subject:
Re: How to make the output of spectre as text format in a fi |
|
|
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. |
|
| Back to top |
|
 |
vivian
Guest
|
Posted:
Thu Oct 20, 2005 8:10 pm Post subject:
Re: How to make the output of spectre as text format in a fi |
|
|
It's text format.
|
|
| Back to top |
|
 |
Svenn Are Bjerkem
Guest
|
Posted:
Fri Oct 21, 2005 8:10 am Post subject:
Re: How to make the output of spectre as text format in a fi |
|
|
In article <1129834236.768359.274600@g14g2000cwa.googlegroups.com>,
wangllu@yahoo.com says...
| Quote: | 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 |
|
| Back to top |
|
 |
Roger Light
Guest
|
|
| Back to top |
|
 |
Andrew Beckett
Guest
|
Posted:
Fri Oct 21, 2005 4:10 pm Post subject:
Re: How to make the output of spectre as text format in a fi |
|
|
On 20 Oct 2005 11:50:36 -0700, "vivian" <wangllu@yahoo.com> wrote:
| Quote: | 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. |
|
| Back to top |
|
 |
fogh
Guest
|
Posted:
Sat Oct 29, 2005 8:10 pm Post subject:
Re: How to make the output of spectre as text format in a fi |
|
|
vivian wrote:
| Quote: | 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. |
|
| Back to top |
|
 |
|
|
|
|