• 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. Rod PCELL Inclusion

Stats

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

Rod PCELL Inclusion

PatORiordan
PatORiordan over 6 years ago

Hi Everyone,

I have a very straight forward PCELL created that adds a stretch handle to a simple rectangle, however, I would like to add "boolean inclusion" for the sub-rectangles, in this case 1 inclusion.  I have included my current script below.  Any suggestions or help would be very much appreciated!

Thanks very much,

Patrick

procedure(GGLcreateViaM1M3(cv w l "dnn")
  let((rectRodObj
      )
    ;; create a rectangle on metal1 with x & y dimensions set by w & l
    rectRodObj = rodCreateRect(?name "gglVIA1m1m3"
                               ?cvId cv
                               ?layer list("M1" "exclude")
                               ?width w
                               ?length l
                               ?origin list(0 0)
                               ?subRectArray list(
                                              list(?layer list("M2" "exclude") ?width w ?length l)
                                             )
                              )
    
    ;; create a stretch handle for the width & length
    
    rodAssignHandleToParameter(?parameter "w"
                               ?rodObj rectRodObj
                               ?handleName "upperRight"
                               ?stretchDir "X"
                               ?updateIncrement 0.01
                              ) ; rodAssignHandleToParameter
    
    rodAssignHandleToParameter(?parameter "l"
                               ?rodObj rectRodObj
                               ?handleName "upperRight"
                               ?stretchDir "Y"
                               ?updateIncrement 0.01
                              ) ; rodAssignHandleToParameter
    
   ) ; let
 ) ; procedure

;; Create the PCell, the "drawing routine" is encapsulated in the
;; GGLcreateViaM1M3 function which does all the work

pcDefinePCell(list(ddGetObj("Sombrero_OT_oriordpj") "new_exclude" "layout")
    (
      (w 10) 
      (l 10)
    )
  let(((cv pcCellView)
      )
    GGLcreateViaM1M3(cv w l)
   ) ; let
 )
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I reformatted your code to make it easier to read. However, I then realised that I didn't understand what you meant by:

    PatORiordan said:
    I would like to add "boolean inclusion" for the sub-rectangles, in this case 1 inclusion.

    Can you explain more clearly? Maybe with a picture?

    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