Home > Community > Forums > Custom IC SKILL > create pin in the layout

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 create pin in the layout 

Last post Mon, Jan 14 2013 4:46 AM by Andrew Beckett. 1 replies.
Started by sritha 09 Jan 2013 10:37 PM. Topic has 1 replies and 690 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Jan 9 2013 10:37 PM

    • sritha
    • Not Ranked
    • Joined on Thu, Nov 29 2012
    • Hyderabad, Andhra Pradesh
    • Posts 12
    • Points 410
    create pin in the layout Reply

    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.

    • Post Points: 20
  • Mon, Jan 14 2013 4:46 AM

    Re: create pin in the layout Reply

    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.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by sritha at 09 Jan 2013 10:37 PM. Topic has 1 replies.