SKILL script for auto-generation of schematic cellviews

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
 
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.. ?
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
 
On Sun, 28 Oct 2007 16:15:27 +0100, "S. Badel"
<stephane.badel@REMOVETHISepfl.ch> wrote:

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.. ?

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
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
Senior Solution Architect
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top