• 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. OCEAN - paramAnalysis causes sim to hang when using modelFile...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 1127
  • 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 - paramAnalysis causes sim to hang when using modelFile value with swept design variable

JustinSilver
JustinSilver over 1 year ago

Hello!

I am using ICADVM20.1-64b.CUSTISR33.18.

I am trying to run a paramAnalysis (corner sweep) for sweeping process and temperature. An example script is provided below.

I am able to launch the simulation, but after completing the transient analysis, the simulator just hangs. The output in the CLI doesn't change, and I get the 

spinny black and white dot box while hovering over the CLI (see image). I have to CTRL+C to exit out of the hanging sim.

I tried commenting out paramAnalysis("sim_process" ?values list("\"weak\"" "\"nominal\"" "\"strong\""), and the sim hanging issue goes away. The paramAnalysis with just the temperature works fine (and the modelFile set to the "nominal" path as per the original desVar function).

I also noticed that Cadence saves the sim results in a directory that has the double quotes of the swept variable within the directory name itself. I.e., "SIM_RESULTS/sim_process="nominal",sim_temp=-40". I'm guessing that maybe some tool in Cadence hangs because of the quotation marks in the directory name?

I guess one workaround might be to run multiple sims with different process corners in a foreach loop... I would prefer to just have everything use paramAnalysis so I wouldn't need to access the results individually for each corner.

; ############################################################################
; OCEAN script that sets up a paramAnalysis to sweep
; process amd temperature (PT). Process is swept by using a desVar value within
; the modelFile() path
;
; The simulation hangs if the paramAnalysis that sweeps the modelFile is included.
; The simulation completes successively if the paramAnalysis that sweeps sim_process is
; commented out
; ##########################################################################

procedure( sim_paramAnalysis_example()
    let(
         (
           (PROJECT "my_project")
           (ID "my_id")
           (LIBRARY "my_library")
           (CELL "my_cell")
           (VIEW "my_view")
        )

        ; sim setup
        simulator(`spectre)
        hostMode(`local)
        design(LIBRARY CELL VIEW)
       
        ; my variables
        desVar("AVDD" 2)
        desVar("AVSS" 0)

        ; temp, process, and time
        desVar("sim_temp" 27)
        desVar("sim_process" "\"nominal\"")
        desVar("sim_time" 200n)

        analysis('tran ?stop "VAR(\"sim_time\")")

        ; these are defined after design variables definitions
        ; because we use design variable values in these
        temp( "VAR(\"sim_temp\")" )

        modelFile('("$MODEL_LIB_PATH/model.paths.VAR(\"sim_process\").scs" ""))
       
        paramAnalysis("sim_process" ?values list("\"weak\"" "\"nominal\"" "\"strong\"") ; P
            paramAnalysis("sim_temp" ?values list(-40 27 125)) ; T
        )  
        paramRun()
   
    ) ; let

) ; procedure

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Please contact customer support. I see you're using a version specific to your customer, and features in the simulator that are specific to you too. This would be best handled by the support team or your account team. There's nothing particularly unusual about your script, so my guess is that it's something specific to your setup or the options used.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Please contact customer support. I see you're using a version specific to your customer, and features in the simulator that are specific to you too. This would be best handled by the support team or your account team. There's nothing particularly unusual about your script, so my guess is that it's something specific to your setup or the options used.

    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