Problems saving and plotting branch currents with HSPICE - bug?

Discussion in 'Cadence' started by ShamShoon, Mar 1, 2006.

  1. ShamShoon

    ShamShoon Guest

    I am running an HSPICE simulation and I am trying to plot the current
    waveform going into some instance pins. When I do that from within the
    Analog Design Environment using "Outputs->To be plotted->Select on
    Schematic", I can see the node such as INST1/A in the list of outputs
    to be plotted, however for some reason that netlister concatenates the
    name and the pin into a single word which produces an error in HSPICE
    as this node doesn't exist.

    When I try to do the same thing in Ocean, I realize that the previous
    behaviour happens if I precede the name with a slash, such as /INST1/A
    however when I remove the slash, the item is copied as it is to the
    HSPICE netlist. So I ended up having this line in my ocean script:

    save( 'i "/V0/PLUS" "/V1/PLUS" "XINST1.A")

    which produces what seems correct by adding a line to the .PROBE TRAN
    line of the HSPICE netlist as:

    ..PROBE TRAN
    + I(v0)
    + I(v1)
    + I(XINST1.A)

    this seems to save the current in HSPICE but I can't figure a way to
    get the results from within Ocean after the simulation is done.

    If I use "outputs()" I can't see this current. Although I can see and
    plot all internal nodes in XINST1 except the actual pins.

    The same behavior happens if I use :

    save( 'alli)

    which is supposed to save all currents but it doesn't seem to save any
    currents when I see the results from "outputs()"

    The first behavior in ADE seems like a bug to me because it's not doing
    what it is supposed to do. If you select a current to plot on a
    schematic, it should plot it. However the second behaviors in Ocean is
    it a bug too in HSPICE support? or am I doing something wrong regarding
    saving and plotting?.

    Any help appreciated.

    Thanks
     
    ShamShoon, Mar 1, 2006
    #1
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.