• 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. Need skill codes for Cadence layout XL customizations

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 13487
  • 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

Need skill codes for Cadence layout XL customizations

Faizan Latif
Faizan Latif over 11 years ago

Dear Sir,

i want the skill codes for the following

1) How to set Grid in layout from skill

2) When using path command,  when we click on a route with a net,  the LSW will change it layer to that particular  layer and draw path with that layer.

Thank You So much

 

Regards

 

Faizan

 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

     Faizan,

    By "grid" do you mean the drawn grid or the snap grid? If you look at Options->Display Options, are you talking about the Minor Spacing/Major Spacing, or the X and Y snap spacing?

    If you want to change them for the current window, it would be:

    hiGetCurrentWindow()->gridSpacing=2.0 ; minor spacing
    hiGetCurrentWindow()->gridMultiple=4 ; (you enter Major Spacing on the form, but it's specified on the window as a multiplier for the minor spacing - this would mean a major spacing of 8.0)
    hiGetCurrentWindow()->xSnapSpacing=0.01
    hiGetCurrentWindow()->ySnapSpacing=0.01

    If you want to set this in your environment as the default for new windows, then you'd use:

    envSetVal("layout" "gridSpacing" 'float 2.0)
    envSetVal("layout" "gridMultiple" 'int 4)
    envSetVal("layout" "xSnapSpacing" 'float 0.01)
    envSetVal("layout" "ySnapSpacing" 'float 0.01)

    Note however that if there are properties saved on the cellView, the library or the technology library, then these would win over the envSetVal settings.

    Not entirely sure what you're asking for the second question, and it may depend on the version used. It might be that you want to do:

    envSetVal("layout" "autoTapType" 'string "layer attributes")

    but as I said, it depends what you really are asking.

    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