The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 16th, 2024, 8:11pm
Pages: 1
Send Topic Print
Creating schematics automatically with Skill (Read 2193 times)
analocation
New Member
*
Offline



Posts: 2

Creating schematics automatically with Skill
Jun 12th, 2008, 4:47am
 
Hi,
I would like to convert a Spice net list into a schematic via SKill code. However, I have a problem in connecting transitor terminals, because the command "schCreateWire" requires the explicit coordinates of the terminal to be wired. Is there any command, that returns the coordinates for the bulk, gate , drain and source terminals of a certain transistor or a different command that provides an easy way to connect the terminals?
Back to top
 
 
View Profile   IP Logged
analocation
New Member
*
Offline



Posts: 2

Re: Creating schematics automatically with Skill
Reply #1 - Jun 13th, 2008, 5:48am
 
found it on page 158 in "VirtuosoŽ Schematic Composer User
Guide":  

list_of_points=nil
cv=geGetEditCellView()
foreach( inst cv~>instances
when( inst~>purpose == "cell"
printf( " %L\n" inst~>name )
foreach( instTerm inst~>instTerms
printf( " %L\n" instTerm~>name )
foreach( pin instTerm~>term~>pins
printf( " %L" pin~>name )
if( pin~>fig then
bBox = dbTransformBBox( pin~>fig~>bBox inst~>transform )
a=xCoord(car(bBox)) + (xCoord(cadr(bBox)) -
xCoord(car(bBox)))/2
b=yCoord(car(bBox)) + (yCoord(cadr(bBox)) -
yCoord(car(bBox)))/2
list_of_points=cons(a:b list_of_points)
);if
);foreach
);foreach
);when
);foreach
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.