• 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. OceanX script trouble creating different directories for...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 12580
  • 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

OceanX script trouble creating different directories for each run (within foreach loop)

Ivan13
Ivan13 over 14 years ago

Hi

I want to run a script which will measure the same thing but with different initial conditions.

As a way to distinguish the results I thought of separating the results in different directories.

I thought of doing something like this inside foreach loop

         dirname = strcat("/vlsi/vol1/home/user/40nm/trial/" "val" "val2")

         ocnxlResultsLocation( dirname )

where val and val2 are different initial conditions. I would like to see something like this:

/vlsi/vol1/home/user/40nm/trial/00.1

/vlsi/vol1/home/user/40nm/trial/00

 /vlsi/vol1/home/user/40nm/trial0.10

but I end up seeing it as

/vlsi/vol1/home/user/40nm/trial/valval2

How can I make it work? Do you have a different idea how to distinguish the results?

Thank you for your help ;

 

====================== Set to XL mode ========================================= ocnSetXLMode() ocnxlProjectDir( "/vlsi/vol1/home/user/simulation" )

ocnxlTargetCellView( "NoiseMargin" "Delay" "adexl" )

 ocnxlResultsLocation( "/vlsi/vol1/home/user/40nm/trial" )

ocnxlSimResultsLocation( "/vlsi/vol1/home/user/40nm/trial" ) ;

====================== Tests setup ============================================

 nodeTypeQ = list(0 0.1)

nodeTypeQB = list(0 0.1)

 foreach(val nodeTypeQ

foreach(val2 nodeTypeQB

desVar("nodeTypeQB" val2)

 desVar("nodeTypeQ" val)

 desVar("dirname" )

dirname = strcat("/vlsi/vol1/home/user/40nm/trial" "val" "val2")

ocnxlResultsLocation( dirname )

.............. .

converge( 'nodeset "/Q_9T" nodeTypeQ )

converge( 'nodeset "/QB_9T" nodeTypeQB )

converge( 'nodeset "/QB_8T" nodeTypeQB )

converge( 'nodeset "/Q_8T" nodeTypeQ )

  • 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