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

Discussion in 'Cadence' started by vivian, Oct 20, 2005.

  1. vivian

    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.
     
    vivian, Oct 20, 2005
    #1
  2. vivian

    vivian Guest

    It's text format.
     
    vivian, Oct 20, 2005
    #2
  3. vivian

    vivian Guest

    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.
     
    vivian, Oct 20, 2005
    #3
  4. You can use the psf program after the simulation:

    psf -t time -t 1 -i /path/to/psf/simfile -o output.txt
     
    Svenn Are Bjerkem, Oct 21, 2005
    #4
  5. 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.
     
    Andrew Beckett, Oct 21, 2005
    #5
  6. vivian

    fogh Guest

    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.
     
    fogh, Oct 30, 2005
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.