• 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 Design
  3. Trouble with ocean script for parametric analysis using...

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 125
  • Views 17088
  • 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

Trouble with ocean script for parametric analysis using ADE L

saikatc
saikatc over 9 years ago

Hi,

I am using ocean scripting for parametric analysis of my design. There I came across a strange issue. My interest is to vary the supply voltage for that I am using a variable called v_supply. For single simulation when I am assigning a value to that variable, it is working. 

desVar( "v_supply" 300m)

But when I want to have a parametric analysis using the same, it is showing the following message.

*INFO* (icLic-25) License Analog_Design_Environment_GXL ("95220") was used to run ADE L.
The variable "v_supply" is not defined in the current
design.

I am using the following codes. 

paramAnalysis("v_supply" ?values '(300 425 550 675 800 ))
paramRun ()

I also tried with 

paramAnalysis("v_supply" ?start 300 ?stop 800 ?step 100)
paramRun ()

without any difference.

Any help will be appreciated.

Regards

Saikat Chatterjee

  • Cancel
Parents
  • saikatc
    saikatc over 9 years ago

    Hi Andrew,

    to get rid of the weird behaviour I restarted virtuoso. After that I kept on getting more such weird behaviours. Later I figured out that it was using the old netlist which in turn was causing the failure. So the 1st hurdle regarding parametric analysis is over.

    Now I am struggling with printing the data into a file. The simulation is successful and plotting the waveform. I intend to calculate the rise time, propagation delay and store into a file. There are two issues.

    1. When I am using ocnPrint; the data are being stored but the name of column is printed as the expression.

    ocnPrint(?output "r.txt" rise_time ?numberNotation 'none)

    Result:

    v_supply riseTime v("/Z" ?resultsDir "/homes/schatterjee/subvt_28/SUBVT28CORE_test/simulation/lslh_28nm_lvt_test_new/spectre/schematic" ?result "tran") 0 1 10 90 "time"


    0.3         3.66751e-08
    0.325     3.19714e-08
    0.35       2.90787e-08
    0.375     2.68736e-08
    0.4         2.41881e-08

    2. If I am using fprintf, nothing is printed inside the file. I am using the following command

    fprintf(out "%f", rise_time)

    But in both the cases the output of the simulation is successful.

    Thanks in advance

    Saikat Chatterjee

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • saikatc
    saikatc over 9 years ago

    Hi Andrew,

    to get rid of the weird behaviour I restarted virtuoso. After that I kept on getting more such weird behaviours. Later I figured out that it was using the old netlist which in turn was causing the failure. So the 1st hurdle regarding parametric analysis is over.

    Now I am struggling with printing the data into a file. The simulation is successful and plotting the waveform. I intend to calculate the rise time, propagation delay and store into a file. There are two issues.

    1. When I am using ocnPrint; the data are being stored but the name of column is printed as the expression.

    ocnPrint(?output "r.txt" rise_time ?numberNotation 'none)

    Result:

    v_supply riseTime v("/Z" ?resultsDir "/homes/schatterjee/subvt_28/SUBVT28CORE_test/simulation/lslh_28nm_lvt_test_new/spectre/schematic" ?result "tran") 0 1 10 90 "time"


    0.3         3.66751e-08
    0.325     3.19714e-08
    0.35       2.90787e-08
    0.375     2.68736e-08
    0.4         2.41881e-08

    2. If I am using fprintf, nothing is printed inside the file. I am using the following command

    fprintf(out "%f", rise_time)

    But in both the cases the output of the simulation is successful.

    Thanks in advance

    Saikat Chatterjee

    • 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