Home > Community > Forums > Custom IC SKILL > Skill code modifying Netlist

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Skill code modifying Netlist 

Last post Thu, Aug 16 2007 6:45 AM by archive. 1 replies.
Started by archive 16 Aug 2007 06:45 AM. Topic has 1 replies and 1680 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Aug 16 2007 6:45 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    Skill code modifying Netlist Reply

    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
    • Post Points: 0
  • Thu, Sep 6 2007 12:57 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Skill code modifying Netlist Reply

    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
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 16 Aug 2007 06:45 AM. Topic has 1 replies.