• 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. Over-riding default value of the simulation folder path...

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 126
  • Views 15260
  • 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

Over-riding default value of the simulation folder path in Assembler and Explorer.

sidm
sidm over 4 years ago

Hi All,

I am using a maestro view setup in which the simulation folder path is set to ~/simulation which is the default setting.

I change it manually to ./simulation to avoid space issues.

But after restarting Virtuoso session this setting again reverts to ~/simulation

Is there a way to permanently set the simulation folder path to ./simulation for the maestro view ?

Thanks

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

    Put this in the .cdsinit : 

    envSetVal("asimenv.startup" "projectDir" 'string "./simulation")

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sidm
    sidm over 4 years ago in reply to Andrew Beckett

    thanks Andrew,

    if I share the workspace (as .tar.gz) with colleagues after including these changes in the .cdsinit will they see the changes after unzipping the workspace tarball ?

    thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • sidm
    sidm over 4 years ago in reply to Andrew Beckett

    thanks Andrew,

    if I share the workspace (as .tar.gz) with colleagues after including these changes in the .cdsinit will they see the changes after unzipping the workspace tarball ?

    thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to sidm

    Assuming the .cdsinit is also in the tarball, then yes. The setting is not stored within the maestro view - it's an environment setting rather than something just used to seed the ADE setup before being saved in the view.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sidm
    sidm over 4 years ago in reply to Andrew Beckett

    thanks for the confirmation Andrew. This is very helpful.

    One of the reasons I am trying to set the simulation directory to ./simulation so that the path to the s-parameter files being referred to inside the nport blocks doesn't break when the workspace is shared.

    For some of the cells using nport I am using relative path for the s-parameter file  like $PWD/../../../../../abc.s2p

    Where $PWD is read by the tool as the simulation directory path all the way up to netlist folder

    Perhaps you can suggest a better way to refer to workspace local s-parameter files such that the simulation doesn't fail on account simulator not being able to find the file.

    Though it is present inside the workspace but has been unzipped on a different machine.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to sidm

    Yes, a better solution would be to not use a full path on the nport. Specify it as "abc.s2p" (without the directory component) and then use Setup->Simulation Files->Include Path in ADE and set that as "." or "./sparamDir" - i.e. the directory relative to the working directory where your s-parameter files are stored. ADE automatically takes care of converting this path relative to Virtuoso's working directory (if "." is used) into the full path to be passed to spectre on the command line via the "-I" argument (include path). Spectre runs with its working directory as the netlist dir, and looks for any non-local files along the include path passed to it.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 4 years ago in reply to sidm

    In the latest Virtuoso releases, you can also store the S-parameter data in a cellview. In this case, you don't even need to specify an include path (see pages 19-20 of https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O3w00000ADvLMEA1).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sidm
    sidm over 4 years ago in reply to Andrew Beckett

    thank you very much 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