• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How could i get a Plot with a Xaxis in volt by the ocean...

Stats

  • Locked Locked
  • Replies 21
  • Subscribers 143
  • Views 21178
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How could i get a Plot with a Xaxis in volt by the ocean script?

OLyonnais
OLyonnais over 15 years ago

Hello

I'm trying to get a plot by the ocean script but when i observe my 3 outputs signals i have 3 lines (constant) whereas when i lauch that by a classical simulation (interface analog environment) i obtain the correct waveform with the Vn in horizontal scale

Indeed, i think i have a trouble on my Xaxis because in one case (by the analog environment) "Vn" (my sweep variable from 0 to 1.1) is on the X axis and on the other case, i have nothing, the time i think...

 

 ------------------------------------------------------------------------------------------------

ocnWaveformTool( 'wavescan )
simulator( 'spectre )
design(     "/../spectre/schematic/netlist/netlist")
resultsDir( "/../spectre/schematic" )
definitionFile(
    "models.scs"
)
analysis('dc ?saveOppoint t  ?param "Vn"  ?start "1.1"
        ?stop "0"  ?lin "1000"  )

desVar(      "Vn" 1    )
temp( 27 )
run()
selectResult( 'dcOp )
plot(getData("/S") getData("/SB") getData("/BL") )

 

-------------------------------------------------------------------------------------

thank you for your answer and sorry for my "basic" english

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Hi Axel,

    I think (I've not tested this), you should be able to do:

    desVar("Vdd_half" 0.5)

    and then in the monteExpr call VAR(\"Vdd_half\") wherever you have the 0.5 right now.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Hi Axel,

    I think (I've not tested this), you should be able to do:

    desVar("Vdd_half" 0.5)

    and then in the monteExpr call VAR(\"Vdd_half\") wherever you have the 0.5 right now.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information