The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> how to change schematic automatically
https://designers-guide.org/forum/YaBB.pl?num=1197255200

Message started by Julian18 on Dec 9th, 2007, 6:53pm

Title: how to change schematic automatically
Post by Julian18 on Dec 9th, 2007, 6:53pm

Hi, there
    I have a heap of pins and wires to be added to my schematics, can I do that automatically using skill code??

thanks.

Title: Re: how to change schematic automatically
Post by Geoffrey_Coram on Mar 19th, 2008, 8:17am

I would assume so.  I know we have skill code that automatically adds a bunch of instances.

Pins should be easy; don't know if adding the wires is hard if you have to position them accurately to connect to the pins.  We just name the nets on the terminals  of our instances, so we don't need wires.

Title: Re: how to change schematic automatically
Post by haikom on May 3rd, 2008, 1:44pm

Hi,
yes you can edit a schematic or layout using SKILL. E.g. PCELLS are also SKILL based. Please refer to the document "Virtuoso Schematic Editor SKILL Functions Reference". You will find it inside the DFII install hierarchy (../CDSDIR/doc/...)
To create a wire you can use the following command:
 schCreateWire( cv "draw" "full" list(0:0 1:0) 0.0625 0.0625 0.0 )
To create an instance:
 symbolId = dbOpenCellViewByType( "test" "inv1" "symbol" "" 'r )
 instId = schCreateInst( cvId symbolId "I25" 0:0 "R90" )

Regards,
haikom

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.