SKILL script for auto-generation of schematic cellviews

Discussion in 'Cadence' started by mosfets, Oct 28, 2007.

  1. mosfets

    mosfets Guest

    Hi,

    I'm trying to make a SKILL script to automatically generate a
    schematic cellview for Virtuoso Schematic Composer.

    But what are all the steps I need to make a valid net connection for
    instance terminals in the dB ?

    Right now, I have:

    1) create instances -> schCreateInst
    2) create nets -> dbCreateNet
    3) create Connections -> dbCreateConnByName

    Do I need to add:

    4) create Signals??? -> db


    It seems that each net stores a list of signals. What is the criteria
    for adding signals to a net? I don't really understand the point of
    signals.. ?

    Is there anything else I need to make a proper schematic that can work
    in Analog Environment simulation?

    Thanks!!!
    sincerely,
    a ee student
     
    mosfets, Oct 28, 2007
    #1
  2. mosfets

    S. Badel Guest

    Right now, I have:
    No, you don't need 4). Signals are managed automatically.

    Your schematic should be usable with those 3 steps, after you dbSave() it of course :)

    But, do not schCheck() it ! It would destroy your connectivity.

    (You might want also to create terminals, but it's not necessary.)


    Cheers,

    St├ęphane
     
    S. Badel, Oct 28, 2007
    #2
  3. If you want to have a nice, normal, editable schematic, then probably use
    schCreateInst() and schCreateWire(), schCreatePin() and so on. Then use
    schCheck() at the end, and dbSave().

    If you just want a connectivity database, then dbCreateInst, dbCreatePin,
    dbCreateNet (or dbMakeNet), dbCreateInstTerm (or
    dbCreateConn/dbCreateConnByName). You'd need to then dbSetConnCurrent()
    and dbSave() at the end.

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 2, 2007
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.