• 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. Ocean parametric script - output analysis

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 1363
  • 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

Ocean parametric script - output analysis

VIPPER
VIPPER over 9 years ago

Hi

I have following Ocean script for parametric analysis. It was generated simply by ADE L by saving setup as Ocean script. 

In this script I sweep delay_input parameter and my output is input_to_output_time. The output looks like sawtooth, but there is only one period. How can I find the minimum value of  input_to_output_time? I can only plot this but I have no idea how we can access this data via some commands.

simulator( 'spectre )
design( "/home2/ic_designs/ams/035/synopsys/mhl/Sim/A_tb/comparator_tb/adexl/results/data/.tmpADEDir_/TRAN_setup-time/A_tb_comparator_tb_schematic_spectre/netlist/netlist")
resultsDir( "/home2/ic_designs/ams/035/synopsys/mhl/Sim/A_tb/comparator_tb/adexl/results/data/Interactive.144/psf/TRAN_setup-time" )
modelFile(
'("/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/cmos53.scs" "cmostm")
'("/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/res.scs" "restm")
'("/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/cap.scs" "captm")
'("/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/bip.scs" "biptm")
'("/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/ind.scs" "indtm")
'("/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/esddiode.scs" "esddiodetm")
)
definitionFile(
"/techfiles_ldap/ams/ams_v4.10/spectre/c35/soac/processOption.scs"
)
analysis('tran ?stop "VAR(\"simulation_end\")" ?errpreset "liberal" ?captab t )
desVar( "delay_input" 7.48n )
desVar( "vp" 1.8 )
desVar( "v_bg_lvl" 120m )
desVar( "clock_frequency" 75M )
desVar( "clock_period" "1/clock_frequency" )
desVar( "simulation_end" "2*clock_period" )
envOption(
'analysisOrder list("tran")
)
temp( 27 )
paramAnalysis("delay_input" ?values '(0 3e-9)
)


output_file = outfile("outputParam.txt" "a")


paramRun()
selectResult( 'tran )
outputs()
plot(getData("/clk") getData("/load") getData("/v_test_input") getData("/v_bg_lvl") getData("/I0/net04") getData("/I0/net014") )
input_to_output_time = delay(VT("/v_test_input") (VAR("v_bg_lvl") * 0.9) 1 "rising" VT("/load") (VAR("vp") * 0.9) 1 "rising" 0 0 nil nil)
plot( input_to_output_time ?expr '( "input_to_output_time" ) )

I have also one more question. How can I include above script into Ocean XL script generated to run across all corners? How can I combine parametric analysis with corner analysis?

Thanks and Best Regards

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    You can use ymin(input_to_output_time) to find the minimum value. You could use ocnPrint or printf() to print it.

    You can't combine paramAnalysis into an OCEAN XL script; paramAnalysis is an ADE L feature only. You would be better off setting up the sweeps and corners in ADE XL and then exporting the OCEAN XL script - the sweeps and corners need to follow the ADE XL use model.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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