How to create pins in a schemaic view

M

manell15

Guest
Hello,
I want to know how to create pins in a schematic view by Skill.
The pins created are not related to a specific cellview they are
flottant pins. In fact we use implicit pins in the schematic view.
I trayed to use the function dbCreatePin( ) but I didn't understand
their arguments.
Can you please help me?

Thank you
 
Hi,

I would rather use the 'schCreatePin' myself. There is a quick
example:
;;
cv=geGetEditCellView() ;; or dbOpenCellViewByType(...) or whatever ...
inPinMaster=dbOpenCellView("basic" "ipin" "symbol" nil "r")
outPinMaster=dbOpenCellView("basic" "opin" "symbol" nil "r")
inoutPinMaster=dbOpenCellView("basic" "iopin" "symbol" nil "r")
myInPin=schCreatePin( cv inPinMaster "IN" "input" nil 0:0 "R0" )
myOutPin=schCreatePin( cv outPinMaster "OUT" "output" nil 0:1 "R0" )
myInoutPin=schCreatePin( cv inoutPinMaster "INOUT" "inputOutput" nil
0:2 "R0" )
;;

But if you like the db function, the first argument is a netId that
you get by using the dbCreateNet. The second argument is the
pinMaster.

I would advice 'schCreatePin' but the choice is yours ;-)

Hope it helps anyway !
Riad.
 
Hi Riad;
I've tryed it and it works.
Thank you very much for your help
 

Welcome to EDABoard.com

Sponsor

Back
Top