• 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 modify or manipulate bBox in layout (Virtuoso, IC...

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 145
  • Views 26493
  • 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 modify or manipulate bBox in layout (Virtuoso, IC 5141 USR4)

Dennis Faber
Dennis Faber over 15 years ago

Hello together,

I have a problem with bBox in a layout. In other words. It bothers me that the bBox is bigger then my layout.

I don't have any others invisibel layers there. no changedLayer or something. This sometimes happens when I add a layout as an instance in another layout. A solution with instance layer is not suitable for me. Is there any way to modify or reset the bounding box coordinates with SKILL? I am not familiar with SKILL!

 Kind regars, Dennis

  • Cancel
Parents
  • dmay
    dmay over 15 years ago

    I hope this helps. We've refined this to do not just create a large rectangle and delete it, although I think that still works in most cases.

    Derek 

    procedure(myFixCellBBox(@optional (cv geGetEditCellView()) (quiet nil))
      let((bbox akey textDisplays)
        bbox = cv~>bBox
        ; lowerLeft
        akey = dbCreateRect(cv leGetEntryLayer() list(xCoord(lowerLeft(bbox))-5.0:
          yCoord(lowerLeft(bbox))-5.0 lowerLeft(bbox)))
        when(akey dbDeleteObject(akey) ) ; when
        ; upperRight
        akey = dbCreateRect(cv leGetEntryLayer() list(xCoord(upperRight(bbox))+5.0:
          yCoord(upperRight(bbox))+5.0 upperRight(bbox)))
        when(akey dbDeleteObject(akey) ) ; when
        ;Fix textDisplay bounding boxes
        textDisplays = setof(x cv~>shapes x~>objType=="textDisplay")
        foreach(td textDisplays
            schSetTextDisplayBBox(td nil) ;This also works in layout
        )
        dbComputeBBox(cv)
        akey = dbCreateRect(cv leGetEntryLayer() cv~>bBox)
        when(akey dbDeleteObject(akey) ) ; when
        unless(quiet
            printf("Now execute \"Fit All\" and see if your cell extents are fixed\n")
        )
        t
      ) ; let
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • dmay
    dmay over 15 years ago

    I hope this helps. We've refined this to do not just create a large rectangle and delete it, although I think that still works in most cases.

    Derek 

    procedure(myFixCellBBox(@optional (cv geGetEditCellView()) (quiet nil))
      let((bbox akey textDisplays)
        bbox = cv~>bBox
        ; lowerLeft
        akey = dbCreateRect(cv leGetEntryLayer() list(xCoord(lowerLeft(bbox))-5.0:
          yCoord(lowerLeft(bbox))-5.0 lowerLeft(bbox)))
        when(akey dbDeleteObject(akey) ) ; when
        ; upperRight
        akey = dbCreateRect(cv leGetEntryLayer() list(xCoord(upperRight(bbox))+5.0:
          yCoord(upperRight(bbox))+5.0 upperRight(bbox)))
        when(akey dbDeleteObject(akey) ) ; when
        ;Fix textDisplay bounding boxes
        textDisplays = setof(x cv~>shapes x~>objType=="textDisplay")
        foreach(td textDisplays
            schSetTextDisplayBBox(td nil) ;This also works in layout
        )
        dbComputeBBox(cv)
        akey = dbCreateRect(cv leGetEntryLayer() cv~>bBox)
        when(akey dbDeleteObject(akey) ) ; when
        unless(quiet
            printf("Now execute \"Fit All\" and see if your cell extents are fixed\n")
        )
        t
      ) ; let
    )

    • 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