• 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. How to create shielded path?

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 144
  • Views 16610
  • 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

How to create shielded path?

Manu81
Manu81 over 16 years ago

Hi,

 I have written the following code for creating a shielded path. The below mentioned code is having a fix set of coordinates: i.e.  "pts". How to add the functionality that a user can draw shield where ever he feels like:

;; Create a shielded path
procedure( shield()
errset(
(let (cv layer purpose list_draw_layer tech width1 tfId)
cv= geGetEditCellView()
layer = car(leGetEntryLayer()) ;displays layer on LSW is taken
purpose = cadr(leGetEntryLayer()); displays drawing or pin on the selected lsw
list_draw_layer =list(layer purpose)
tech = techGetTechFile(geGetWindowCellView()); rule deck file id is stored in tech
width1 = techGetSpacingRule(tech "minWidth" layer) ; the minimum width is stored in width1
rodCreatePath(
?name "shield"
?layer list( layer purpose )
?pts list(2:-15 2:-5 15:-5 15:-15)   If this is not fixed, the user can draw shield anywhere. What changes are needed?
?width .8
?justification "center"
?cvId cv
?offsetSubPath
list(
list(
?layer list( layer purpose )
?justification "left"
?sep 1
?width .4
) ;end of offset sublist1
list(
?layer list( layer purpose )
?justification "right"
?sep 1
?width .4
) ;end of offset sublist2
) ;end of offset list of lists
) ;end of rodCreatePath
) ; end of let
t
) ; end of errset
) ; end of procedure

  • Cancel
Parents
  • skillUser
    skillUser over 16 years ago

    Hi,

    Sorry if I have already pointed you to this code, but I think that it contains all that you need

     How can I created slotted metal paths?

    You will see in this code that there is use of the enterPath function, as well as an options form (CCSslotMetalForm) for the command ("CCSslotMetal" in this case), and the width value on the form is passed to the enter function and ultimately the underlying command that calls rodCreatePath(), which is CCSslotMetalCB(), the callback function that actually does the work.

    The code is somewhat lengthy and is probably best not just pasted here, so please take a look at the above Solution link, or just the code at: CCSslotMetal.il

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 16 years ago

    Hi,

    Sorry if I have already pointed you to this code, but I think that it contains all that you need

     How can I created slotted metal paths?

    You will see in this code that there is use of the enterPath function, as well as an options form (CCSslotMetalForm) for the command ("CCSslotMetal" in this case), and the width value on the form is passed to the enter function and ultimately the underlying command that calls rodCreatePath(), which is CCSslotMetalCB(), the callback function that actually does the work.

    The code is somewhat lengthy and is probably best not just pasted here, so please take a look at the above Solution link, or just the code at: CCSslotMetal.il

    Best regards,

    Lawrence.

    • 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