Home > Community > Forums > Custom IC Design > Create label from net name

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 label from net name 

Last post Thu, Sep 27 2012 7:28 AM by dmay. 5 replies.
Started by gparasiliti 21 Sep 2012 05:23 AM. Topic has 5 replies and 1206 views
Page 1 of 1 (6 items)
Sort Posts:
  • Fri, Sep 21 2012 5:23 AM

    • gparasiliti
    • Not Ranked
    • Joined on Tue, Jul 27 2010
    • Santa Maria di Licodia, Catania
    • Posts 9
    • Points 195
    Create label from net name Reply

     Hi,

    I'm using VXL and I would to create a label from a shape net property, then I would attach it to the related net. Is there a way to do that?

     

    Regards,

    Giuseppe

    • Post Points: 20
  • Fri, Sep 21 2012 5:32 AM

    Re: Create label from net name Reply

    Giuseppe,

    You didn't say which version you're using, but in IC615 the Create->Label command has an "auto" mode which will create a label from the net name (it's actually a textDisplay, and so if the net name changes the label will too). You can drag the middle mouse button through several wires to label them in one go - look at the options form and look at the prompts in the CIW.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Sep 21 2012 5:43 AM

    Re: Create label from net name Reply

    Sorry... I'm using IC5. Do you have a solution?

     Regards,

    Giuseppe

    • Post Points: 20
  • Fri, Sep 21 2012 5:53 AM

    Re: Create label from net name Reply

    Guiseppe,

    Personally I don't have any SKILL code to do this written already, but it would be pretty easy to implement in SKILL. Maybe you can do a search on Cadence Online Support (I'm a bit pushed for time to search for you).

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Sep 21 2012 6:39 AM

    Re: Create label from net name Reply

    Hi Andrew,

     I already searched in the support website, I did'n find anything.

    Regards,

    Giuseppe

    • Post Points: 20
  • Thu, Sep 27 2012 7:28 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 394
    • Points 7,420
    Re: Create label from net name Reply

    Here is something basic for you to start with. This one works on the car(selectedSet()) but you can adjust it to work on all selected items, or write some code using enterPoint or enterLine type commands to selecting the shapes to label.

    procedure(myLabelSelectedShapeByNetName()
      let((shp netName lbl )
        shp = car(selectedSet())
        when(netName = shp~>net~>name
            lbl = dbCreateLabel(
                shp~>cellView
                "text"
                car(shp~>points)||shp~>beginPt||car(shp~>bBox)
                netName
                "centerCenter"
                "R0"
                "roman"
                shp~>width||1.0
            )
            lbl~>parent=shp
        )
      ) ;let
    ) ;proc

    Derek

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by gparasiliti at 21 Sep 2012 05:23 AM. Topic has 5 replies.