• 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. Modify a parameter value in an input.scs file

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 14468
  • 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

Modify a parameter value in an input.scs file

insaf
insaf over 11 years ago
Hi all,
 
I want to modify a parameter value in an input.scs file directly with a command function which allows to overwrite into this file and change the value of Vdd for exemple without crushing the rest of the file.
-----------------------------------------------------------------------------------------------------------------
 simulator lang=spectre
 global 0
 parameters Vdd=2.8 SwPresto=1 Vb=0 Vg=1.664 gateresglobal=0 \
 lsimpackaging=0 matching=1 swjunexpglobal=1 swleakglobal=1 swdg=0 \
 mimglobal=1 globaldtaplus=0 hdiprocessssmc=0 "
------------------------------------------------------------------------------------------------------------------
Is there any Skill command that allows to do this?      
Thanks in advance.
 
Best Regards,
Insaf 
  • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Insaf,

    I think that the way to go about this is to use the OCEAN command desVar() to change the value of a design variable.  You can then also run or re-run a simulation from OCEAN commands.  OCEAN is the SKILL scripting interface to the Analog Design Environment (ADE).

    Hope this helps to answer your question.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • insaf
    insaf over 11 years ago

    Hi Lawrence,

    Thanks Lawrence for your response.

    but, all i need is to modify systematically the parameters value in this file with a routine by incrementing Vg and Vdd and load it in each time to be used in a specific application without running any simulation.

    I hope that my explanation was clear for you so that you can help me.

    thanks a lot. 

     Best Regards,

    Insaf 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • insaf
    insaf over 11 years ago

    Hi Lawrence,

    Thank you again for your interest. I was actually looking for the following command to modify a parameter value in my file. 

    sh(sprintf( nil " sed -i s/Vdd=2.8/Vdd=newValue/g $filename " )) 

    Best Regards,

    Insaf 

    • Cancel
    • Vote Up +1 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