• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. create pin in the layout

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 16151
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

create pin in the layout

sritha
sritha over 12 years ago

Hi All,

 Is there any possibility to create pin in the layout where I click the mouse soon after loading the script? If yes,how?

Thanks,

Sritha.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Sritha,

    Presumably "the script" you are talking about is this one (it's hard to know since you started a separate thread with  no link to the previous one).

    Something like this:

     procedure(CCFcreatePins(@key (cvId geGetEditCellView()) (pinWidth 0.5) (pinOrigin 0:0) (pinPitch 1.2:0) (pinLayer "Metal1")
        (pinDirection "input") (busPin "pinname<1:10>"))
      foreach(pinName dbProduceMemName(busPin)
        ; create the pin shape, then the net (if it doesn't already exist), and then create the pin
        pinFig=dbCreateRect(cvId pinLayer list(pinOrigin xCoord(pinOrigin)+pinWidth:yCoord(pinOrigin)+pinWidth))
        net=dbMakeNet(cvId pinName)
        pin=dbCreatePin(net pinFig)
        ; make sure the terminal direction is what we want too
        pin~>term~>direction=pinDirection
        pinOrigin=xCoord(pinOrigin)+xCoord(pinPitch):yCoord(pinOrigin)+yCoord(pinPitch)
      )
    )

    procedure(CCFcreatePinsDoneCB(w done pts)
      when(done
        CCFcreatePins(?cvId geGetEditCellView(w) ?pinOrigin car(pts))
      )
    )

    procedure(CCFcreatePinsPrompt()
      enterPoint(?prompts '("Enter location of first pin") ?doneProc "CCFcreatePinsDoneCB")
    )

     

    Call CCFcreatePinsPrompt() and it will then ask you to point at the start of the bus pin. I'll leave it to you to adapt to your needs.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information