• 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 SKILL
  3. Select tapping layer through SKILL without leWeChooseLa...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14996
  • 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

Select tapping layer through SKILL without leWeChooseLayerForm

farhan89
farhan89 over 7 years ago

Hi,
I am writing a SKILL code to form a path between to coordinates. The first coordinate has two layers so when I enter the point "Choose object to Tap form appears" asking to select the terminal at the point or path segment and my SKILL code execution is stopped. Is there any way to internally set it when the values of this form that of there are multiple layers at the given point select the lowest layer or the layer that has the terminal or pin (or select that is not the path segement)?

The similar question has been asked here: https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/37820/accessing-lewechooselayerform

But It doesn't work for me. I am using Virtuoso Layout XL 6.1.7 64b. My test code is :

leHiP2P()
preXY(14707:7853)
leHiLayerTap()
;leWeChooseLayerForm->layerListBox->value= '( 1 )
addPoint(12842:5631)

applyEnterFun()

Thanks!

  • Cancel
  • Marben
    Marben over 7 years ago

    Hi farhan89,

    Here is a sample SKILL code to create path between two coordinates.

    dbCreatePath(cvID list("M" "drawing") list(0:176 0:176 300:176) 10 )

    Hope this help.

    Best regards,

    Marben

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • farhan89
    farhan89 over 7 years ago in reply to Marben

    Hi Marben,

    Thank you for your help.

    I want to do point to point routing. The code that you gave mw will just create  a path for the gievn points, but point to point routing will find the shortest path for the given coordinates.
    I just want to manage this form properties from the SKILL code such that if there are multiple layers at the tapping position then select the layer which has a pin.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to farhan89

    For a start, the leHiP2P() will block, as I've said before, so the stuff you're attempting to do after that won't be invoked until after the p2p has completed. Is it the point to point that's prompting you for a layer to use?

    If it was just the layer tap, I'd advise you to write your own detection of the layers and set the entry layer yourself, but I suspect your problem is that the p2p is prompting for the layer. You may need to turn off the tapping in the layout editor options (Options->Editor) to stop it asking? Either way, as I have said several times already, this command (the p2p) is not really intended for automation - it's for interactive use.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • farhan89
    farhan89 over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for your help. Yes, I know that you have already suggested me not to use leHiP2P() but I have not other choice then using it. We know that Virtuoso aut-router can do the job for us but it routes the complete net using Minimum spanning tree (MST) but we want to further divide the nets into pins and then to pin to pin touting (or point to point if we given pin coordinates to leHiP2P()). In this way we can force the router not to route certain pins of the same net. I checked it was p2p that was prompting for the layer to use and I just disabled it from the way you told me.

    I hope you got my point of using p2p command.

    • 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