• 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. Skill code modifying Netlist

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 142
  • Views 13538
  • 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

Skill code modifying Netlist

archive
archive over 18 years ago

Hi,
I have ckt that needs to be modified slightly after each run,say,shift a voltage source from 1 node to other
and run it again on modidied netlist. Each run consists of "tran" analysis for a set of varying parameters.
I am using ocean script for doing parametric analysis.
Thanks
Kiran


Originally posted in cdnusers.org by kiran.iisc
  • Cancel
  • archive
    archive over 17 years ago

    You don't say how many positions you are going to switch, but if it is not too many then use the spectre switch statement with the switch position controlled by a variable in a definition file and load that definition file into your ocean testbench with definitionFiles(). You also place that voltage source in the same definition file. Before each run() in your ocean file, you do a desVar( "sw_pos" x) to set the switch to the correct position. This way you don't need to change your netlist at all.

    If you want to have a real switch in your schematic, then copy the sp1tswitch from analogLib to your home and change the cyclic nature of the switch position in the CDF and make it a string. Place lots of switches in your schematic, each with a different variable, and you can set these variables from ocean.

    Or if you need a manyway switch, create one yourself and use a variable for the position.

    Or if you know how to write skill, you can place a voltage source with a piece of wire and a label and use connect by name as your trick. Needs to check and save between each change and ocean will need to netlist again, which I think is only done with the design() statement. Lot's of work for something that is better done with the definitionFile() trick above.

    --
    Svenn


    Originally posted in cdnusers.org by svenn
    • 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