How to create pins in a schemaic view

Discussion in 'Cadence' started by manell15, Jun 11, 2008.

  1. manell15

    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
     
    manell15, Jun 11, 2008
    #1
  2. manell15

    Riad KACED Guest

    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.
     
    Riad KACED, Jun 12, 2008
    #2
  3. manell15

    manell15 Guest

    Hi Riad;
    I've tryed it and it works.
    Thank you very much for your help
     
    manell15, Jun 12, 2008
    #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.