• 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. Using dbTransformBBox

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 144
  • Views 23535
  • 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

Using dbTransformBBox

kasyab
kasyab over 12 years ago

Hi,

I am a relatively new user of SKILL. My problem is with the use of dBTransformBBox function. I am able to apply this function to scale the size of objects which are uniquely represented in bounding box fashion("rect" objects). My question is if this function is applicable to polygons as well. 

Specifically when I apply  dBTransformBBox to a shape in the active layer there is no scaling. As far as I can tell these shapes differ only in that they are represented as "polygon" objects in terms of their geometry.  dBTransformCellView scales all layers in a cell view, so it should be possible to scale polygons as well. I tried to use the dbLayerSize function to achieve scaling on the active layer but I do not understand the results returned by it.cvID~>DBUPerUU returns 1000.0.I am attaching a couple of pictures that show the layout before and after the application of dbLayerSize and also some example code of what I used to achieve this.

 cv_lay = dbOpenCellViewByType("SEMIREG_STM040" "SR_FA" "layout" "" "a")

  shape_list = cv_lay~>shapes

  OD_shape_list = nil
  foreach(shape shape_list
    if(shape~>lpp == list("OD" "drawing") then
      OD_shape_list = append1(OD_shape_list shape)
    );if
  );for

 OD1=car(OD_shape_list)

 dbLayerSize(cv_lay "OD" list(OD1) 0.50)

 dbLayerSize(cv_lay "OD" list(OD1) -0.50) [returns nil]

 leLayerSize(cv_lay list("OD" "drawing") -0.50 list("OD" "drawing")) [also returns nil]

 leLayerSize(cv_lay list("OD" "drawing") -0.50 list("OD" "drawing"))

 

I looked at other posts referring to leLayerSize (which I see in the manual is a layout editor procedural version of the dbLayerSize function), but the problem of the sizing value is still present here. There is no hierarchy in my layout.

 

I also tried leSizeShape for the specific shape I extract above.

 OD1

db:0x15f30944

 

OD1~>objType

"polygon"

 

leSizeShape(0D1 0.50)

^

SYNTAX ERROR found at line 5363 column 16 of file *ciwInPort*

*Error* lineread/read: syntax error encountered in input

Any help will be appreciated.

Kasyab

original cell view

cellview after applying dbLayerSize with 0.5 sizing

cellview after applying leLayerSize with 0.5 sizing

  • Cancel
Parents
  • dmay
    dmay over 12 years ago

    Thanks for the tip Ted. I'm always looking for ways to reduce gc. We still have some 5.1.41 parts, so I'll have to use it conditionally.

    Derek

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

    Thanks for the tip Ted. I'm always looking for ways to reduce gc. We still have some 5.1.41 parts, so I'll have to use it conditionally.

    Derek

    • 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