• 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. rteGeomSize command is not copying the layers from pcel...

Stats

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

rteGeomSize command is not copying the layers from pcells

prasadtammana
prasadtammana over 3 years ago

Hi, 

I want to copy shapes in lower hierarchy of a cell into top level. I tried using dbGetOverlaps command but its taking a whole lot of time if the database size is larger. I came across a command called rteGeomSize that am using as below. Its working fine and copying all the shapes from all lower hierarchies except the shapes in pcells. 

rteGeomSize(?cv geGetEditCellView() ?lpp1 list("M2" "drawing") ?outputLpp list("M3" "drawing") ?size 0.5 ?trimCorners nil ?fixEdgesToRegion nil ?region cv~>bBox)

Could someone let me know if there is a fix for this issue?

Thanks,

Prasad

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Prasad,

    It does include the PCells for me. You might also consider the abeLayer* functions too, but I don't see why rteGeomSize wouldn't work.

    Which IC sub-version are you using? I looked back and found a change request I filed in 2008 which was fixed in an early IC6.1.3 subversion (ISR2) which was related to not working where there were pcells, but surely you're not using such an old version (at least not without mentioning it)?

    You might also want to just try specifying ?lpp1 "M2" rather than a layer-purpose.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prasadtammana
    prasadtammana over 3 years ago in reply to Andrew Beckett

    Hi Andrew, 

    Thanks for your reply. I'm using Virtuoso 6.1.8 version. I tried by using "M2", it doesn't work. and I tried with "M2 drawing" as well. Not just the pcells, this command is not copying some instances as well. 

    I'll try to use abeLayer functions. I'm actually trying to create a ptap guardring around prBoundary with all metals from M1 to M6 along with vias. If there are metals routed to the boundary edges (for pins), I want to chop that particular metal layer in guardring. I'm able to do this operation by using dbGetOverlaps and then copying the layers into top level, dbSize the copied layers and then dbLayerAndNot operation. The script is working fine on small cells. But if the database is large (say 1mm X 1mm), its taking a whole lot of time to execute. So, I'm looking for ways to finish the job quickly and I came across this function rteGeomSize. Could you please let me know if there is any function that is faster than the functions that I mentioned above. Thanks in advance. 

    Thanks,

    Prasad

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to prasadtammana

    Hi Prasad,

    The abe functions (and I think the rte functions) should be fast as they are designed to be quick and work cross-hierarchy (the abe functions are newer).

    If it's not working, please contact customer support as we need to understand what is going wrong. As I said, it's working for me so maybe there is some peculiarity with your data. Note that the abe functions are restricted to shapes with 45 degree angle multiples. I think the rte functions might be restricted to orthogonal (90 degree multiple) shapes only - perhaps that's your issue?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prasadtammana
    prasadtammana over 3 years ago in reply to Andrew Beckett

    Andrew, 

    rte command is failing for orthogonal shapes only. I dont have any 45 degree angled shapes in my database. Let me contact the customer support. 

    While coming to the abe commands, could you please provide me an example of how to use this function. I'm trying to use abeLayerSize function but its expecting ID of input and output layers. What am I supposed to provide here? As I mentioned before, I need a command to extract the layout and get the database ID by itself. 

    Thanks,

    Prasad

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to prasadtammana

    abeInit(cv)
    M2=abeLayerFromCellView("M2")
    outLay=abeNewLayer()
    abeLayerSize(M2 outLay 0.5)
    abeLayerToCellView(outLay "M3")
    abeDone()

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to prasadtammana

    abeInit(cv)
    M2=abeLayerFromCellView("M2")
    outLay=abeNewLayer()
    abeLayerSize(M2 outLay 0.5)
    abeLayerToCellView(outLay "M3")
    abeDone()

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • prasadtammana
    prasadtammana over 3 years ago in reply to Andrew Beckett

    Hi Andrew, 

    Thank you so much. abe commands are working faster and exactly like the way I want them to be. Just like cons, do we have any command in abe functions? 

    I have a abe layer (named ring) that has 6 boxes. I'm trying to extract all OD under this ring and chop ring wherever there is M2 using the following commands. 

    ring = abeNewLayer()
    abeLayerAndNot(out_txt in_txt ring)

    ringt = ring~>tileIterator
    while(box = ringt~>next
    OD = abeLayerFromCellView("OD" ?purpose "drawing" ?bBox box~>bbox)
    OD_1p5 = abeNewLayer()
    abeLayerSize(OD OD_1p5 1.5)
    abeLayerAndNot(ring OD_1p5 ring)
    );while

    The script is working fine until extracting OD and sizing it up by 1.5um. I want to use abeLayerAndNot function on original ring (that contains 6 rectangles) to chop all OD_1p5 shapes that are extracted from each rectangle of ring. 

    Could you please let me know how to proceed? 

    Thanks,

    Prasad

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prasadtammana
    prasadtammana over 3 years ago in reply to prasadtammana

    Hi Andrew, 

    I somehow figure it out, my issue is resolved now. Thank you once again for introducing abe commands to me. 

    Regards,

    Prasad

    • 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