• 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 Design
  3. troubles setting default layout-XL pin label text style

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 14845
  • 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

troubles setting default layout-XL pin label text style

drdanmc
drdanmc over 8 years ago

I am trying to set my defaults such that in layout-XL, pins are created with:

[checked] create label as:  [text display]

and the label style options should have

Layer Name:  same as pin

Layer Purpose: "label".

I have tried these in my .cdsinit:

envSetVal( "layout" "pinTextPurpose" 'string "label" )
envSetVal( "layout" "pinTextSamePurpose" 'boolean nil )
envSetVal( "layout" "pinTextSameLayer" 'boolean t )

;; works with initIOLabelType in layoutXL
envSetVal( "layout" "createPinLabel" 'boolean t )

;; Specifies the type of label that Layout XL generates for I/O pins.
;; When set to None, no pin label is created
;; For this environment variable to take effect, you must also set the
;; Layout L environment variable createPinLabel to t.
envSetVal( "layoutXL" "initIOLabelType" 'string "Text Display")

but unfortunately, what I'm getting is that the layer purpose is coming in as "drawing" instead of "label".

I'm striking out in the manual, looking through <cdsroot>/tools.lnx86/dfII/etc/tools/<tool>/.cdsenv, etc.

What is extra weird is I can check the settings immediately before going to the 'update components and nets' dialog and they are correct and then once I get the set pin label text style window open, it changes.  But maybe there is some other setting for the default in layout-XL and that is causing the overwrite?

envGetVal( "layout" "pinTextPurpose" )
"label"
lxHiUpdateComponentsAndNets()
INFO (LX-1063): Building the update components and nets form...
hiiSetCurrentForm('lxTemplateForm)
lxTemplateForm->templateTab->value=2
(lxiLGTextStyleCB)
envGetVal( "layout" "pinTextPurpose" )
"drawing"

Such a simple thing.....

-Dan

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Dan,

    I'm just wading through some old posts - and realised I never responded to this. The only way I can make this fail is if the label purpose is not defined in the tech file (or I use a purpose name that doesn't exist) - it reverts to one that does.

    If that's not it, I suggest you contact customer support (you may have done so already).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Dan,

    I'm just wading through some old posts - and realised I never responded to this. The only way I can make this fail is if the label purpose is not defined in the tech file (or I use a purpose name that doesn't exist) - it reverts to one that does.

    If that's not it, I suggest you contact customer support (you may have done so already).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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