• 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. Changing from one metal layer to another metal layer

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 5652
  • 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

Changing from one metal layer to another metal layer

STrib
STrib over 1 year ago

Can someone please provide the code to change one metal layer to another metal layer within the prBoundary

  • Cancel
  • RobMan
    RobMan over 1 year ago

    Is this something you wish to do repeatedly or just a one-off? If it's a one-off I'd just use the ui.

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • STrib
    STrib over 1 year ago in reply to RobMan

    I would like to change the metal layers inside the PR boundary only. Like outside the PR boundary I dont want to change the layer 

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • RobMan
    RobMan over 1 year ago in reply to STrib

    That doesn't answer the question.

    N.B Area select entirely feasible.

    This thread from a previous question goes part of the way...

    Skill code to copy object to another metal layer but maintain the objects purpose - Custom IC SKILL - Cadence Technology Forums - Cadence Community

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • STrib
    STrib over 1 year ago in reply to RobMan

    I would like to do it repeatedly and moreover one thing we can do change change metal layer "X" to metal "Y" within a specific area (coordinate location)

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 1 year ago

    Hi,

    You could use ABE (Advance Boolean Engine) but this will require your layout to be flattened

    1. Extract the metal, using:

    abeInit, abeLayerFromCellView

    2. Create a boolean layer for the prBoundary, using:

    abeNewLayer, abeLayerOrPtArray 

    3. Make the AND operation between boundary and metal:

    abeNewLayer, abeLayerAnd

    4. Generate the new metal :

    abeLayerToCellView

    5. Chop remaining metal shapes

    Use abeIslandIterator, Flatten the layout inside, then delete shapes using the island points and leChopShape

    6. Close ABE

    abeDone

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • STrib
    STrib over 1 year ago in reply to AurelBuche

    Thanks for the explanation ,

    Can you please provide a code for that 

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 1 year ago in reply to STrib

    Sorry, but this is not a forum for custom SKILL deliveries...

    Try to do it by yourself and if you have questions about your code, I'll be happy to answer them

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • STrib
    STrib over 1 year ago in reply to AurelBuche

    I am able to do it now and one last doubt ,if I want to change a particular metal layer from one to another outside the PR boundary then how can I proceed?

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • STrib
    STrib over 1 year ago in reply to STrib

    Basically I am facing issues in deleting a particular metal layer outside PR Boundary.

    I shall be grateful to you if you kindly help me regarding this

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 1 year ago in reply to STrib

    Hi,

    This is almost the same thing as inside

    The trick is to work with an ABE layer that is defined using prboundary and cellview bbox

    (let ((abe_cv               (abeNewLayer))
          (abe_inside_boundary  (abeNewLayer))
          (abe_outside_boundary (abeNewLayer))
          )
      ;; Define cellview bounding box layer
      (destructuringBind ((x0 y0) (x1 y1)) (geGetEditCellView)->bBox
        (abeLayerOrPtArray (list x0:y0 x1:y0 x1:y1 x0:y1) abe_cv)
        )
      ;; Define prBoundary layer
      (abeLayerOrPtArray (geGetEditCellView)->prBoundary->points abe_inside_boundary)
      ;; Define not prBoundary layer
      (abeLayerAndNot abe_cv abe_inside_boundary abe_outside_boundary)
      abe_outside_boundary
      )

    Cheers,
    Aurélien

    • Cancel
    • Vote Up +1 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