Unexpected results from ocnPrint

Discussion in 'Cadence' started by Renee.St.Amant, Jul 23, 2008.

  1. Hi!

    I've used the ocnPrint() command in the past with no problems. It
    prints a space, then the title of columns, then another space, then
    the relevant data; however, when I have a sweep using a paramset in my
    netlist, ocnPrint() outputs data that is in a strange format.
    I'm running my netlist (generated using ADE) from a unix command line:
    spectre input.scs
    Here is an exerpt from the netlist:

    myvalues paramset {
    resVal currentRes ltchDelay
    20 100p 900p
    30 1n 900p
    10 5n 900p
    10 10n 900p
    100 50n 900p
    100 100n 900p
    }

    currentRes_sweep sweep paramset=myvalues{
    tran tran start=0n stop=5n errpreset=liberal write="spectre.ic" \
    writefinal="spectre.fc" annotate=status maxiters=5
    }

    Running the netlist produces an input.raw directory. I start ocean and
    the call openResults and selectResults.
    If I want to plot a signal, it works fine. The plot( v("FinalVout\
    +_p") ) opens a window showing FinalVout+_p for all 6 iterations with
    the variables for each iteration as expected (one corresponding to
    each line in the netlist).
    However, ocnPrint( v("FinalVout\+_p") ) produces an unexpected output.
    The title line is repeated multiple times and the variables listed do
    not correspond to the appropriate values specified in the netlist
    paramset.
    Here is an abbreviated output:

    time v("FinalVout+_p" ?resultsDir "input_1000p.raw" ?
    result "currentRes_sweep_tran-sweep")

    resVal = 10
    currentRes = 5n
    ltchDelay 900p
    1n 538.554m
    1.00005n 538.696m

    time v("FinalVout+_p" ?resultsDir "input_1000p.raw" ?
    result "currentRes_sweep_tran-sweep")
    resVal = 10
    currentRes = 10n
    ltchDelay 900p
    1n 566.994m
    1.00083n 570.446m

    time v("FinalVout+_p" ?resultsDir "input_1000p.raw" ?
    result "currentRes_sweep_tran-sweep")
    resVal = 20
    currentRes = 5n
    ltchDelay 900p
    1n 505.498m
    1.00001n 505.514m

    etc.
    -----------

    It prints 8 iterations with combinations of variable values not
    specified in the netlist and omits some that are specified. It doesn't
    make sense to me that plot() works with the correct family of FinalVout
    +_p signals, but ocnPrint() doesn't.

    Can anyone explain what's going on?
     
    Renee.St.Amant, Jul 23, 2008
    #1
  2. Just to clarify... input.scs was really called input_1000p.scs - hence
    the different name in the output.
     
    Renee.St.Amant, Jul 23, 2008
    #2
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.