Home > Community > Forums > Custom IC SKILL > Help with skill code to convert pin labels to pin textdisplays

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: *

 Help with skill code to convert pin labels to pin textdisplays 

Last post Wed, May 14 2014 4:23 PM by pham777. 2 replies.
Started by pham777 14 May 2014 02:20 PM. Topic has 2 replies and 236 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, May 14 2014 2:20 PM

    • pham777
    • Top 500 Contributor
    • Joined on Mon, Feb 11 2013
    • Posts 28
    • Points 470
    Help with skill code to convert pin labels to pin textdisplays Reply

    Hi,

    Pins in VXL are created with create label option as "Label" instead of "Text Display".  I wonder if there is a skill code to covert all pin "Label" back to pin "TextDisplay".

    I am using cadence IC615

    Thanks a lot,

    HP

    • Post Points: 20
  • Wed, May 14 2014 3:07 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: Help with skill code to convert pin labels to pin textdisplays Reply

    Hi,

    I'm not sure about SKILL to convert Labels to Text Displays (I don't think I've written any, nor have I seen existing code for this), but one thing that may be of interest, there is a .cdsenv variable for IC616 and ICADV121 that allows you to specify whether pins will be one or other (or there is a "Both" setting too):

     layout pinDefaultObjectType     cyclic "Text Display"

    I hope this helps a little.

    Regards,

    Lawrence.

    • Post Points: 20
  • Wed, May 14 2014 4:23 PM

    • pham777
    • Top 500 Contributor
    • Joined on Mon, Feb 11 2013
    • Posts 28
    • Points 470
    Re: Help with skill code to convert pin labels to pin textdisplays Reply

    Hi Lawrence,

    There is one skil code to convert pin textdisplays to pin labels which I found on Cadence Online Help archive as follows:

    /*******************************************************************************
    * DISCLAIMER: The following code is provided for Cadence customers to use at *
    * their own risk. The code may require modification to satisfy the *
    * requirements of any user. The code and any modifications to the code may *
    * not be compatible with current or future versions of Cadence products. *
    * THE CODE IS PROVIDED "AS IS" AND WITH NO WARRANTIES, INCLUDING WITHOUT *
    * LIMITATION ANY EXPRESS WARRANTIES OR IMPLIED WARRANTIES OF MERCHANTABILITY *
    * OR FITNESS FOR A PARTICULAR USE. *
    *******************************************************************************/
    ;
    ;**************CCSreplaceTextDisplay.il*****************************************
    ;
    procedure(CCSreplaceTextDisplay()
    let((cv labelId)
    cv = geGetEditCellView()
    foreach( shape cv~>shapes
    when( shape~>objType=="textDisplay"
    printf("Found textDisplay %s %L at %L\n" shape~>owner~>name shape~>lpp shape~>xy)
    labelId=dbCreateLabel(cv
    shape~>lpp
    shape~>xy
    shape~>owner~>name
    shape~>justify
    shape~>orient
    shape~>font
    shape~>height
    ); dbCreateLabel
    leAttachFig(labelId shape~>parent)
    dbDeleteObject(shape)
    ); when
    ); foreach
    ); let
    ); procedure

    I'm not sure how to do the other way around (from pin labels to pin textdisplays)

    regards,

    HP

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by pham777 at 14 May 2014 02:20 PM. Topic has 2 replies.