• 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. Error while setting prBoundary points after adjusting top...

Stats

  • Replies 2
  • Subscribers 143
  • Views 57
  • Members are here 0

Error while setting prBoundary points after adjusting top and bottom offsets

AR202509246930
AR202509246930 7 hours ago

I want to stretch the prBoundary by adding an offset of -0.05 to the bottom side and 0.05 to the top side. Currently, the bottom side is at 0.0 and the top side is at 1.4.

Code:

procedure(setBBox()
let( (cv x0 x1 x2 x3 y0 y1 y2 y3 point obj)
cv = geGetEditCellView()
obj = cv~>prBoundary
when(obj
point = obj~>points

; First point
x0 = car(car(point)) ; x of first point
y0 = cadr(car(point)) ; y of first point
; Second point
x1 = car(cadr(point)) ; x of second point
y1 = cadr(cadr(point)) ; y of second point

; Third point
x2 = car(caddr(point)) ; x of third point
y2 = cadr(caddr(point)) ; y of third point

; Fourth point
x3 = car(cadddr(point)) ; x of fourth point
y3 = cadr(cadddr(point)) ; y of fourth point


printf("Original BBox: ((%f %f) (%f %f) (%f %f) (%f %f))\n" x0 y0 x1 y1 x2 y2 x3 y3)
obj~>points = list(list(x0 -0.05) list(x1 1.45) list(x2 1.45) list(x3 -0.05))
)))

CIW Message:

Original BBox: ((0.000000 0.000000) (0.000000 1.400000) (0.540000 1.400000) (0.540000 0.000000))
*** Error in routine setSGq:
Message: *Error* setSGq: (DB-370034): dbSetq: Cannot set attribute - points


Could you please help me on this
As I'm using the Cadence Virtuoso IC23.1 version

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 6 hours ago

    Instead of using obj~>points you need to use an explicit API:

    dbSetBoundaryEdge(obj list(list(x0 -0.05) list(x1 1.45) list(x2 1.45) list(x3 -0.05)))

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • AR202509246930
    AR202509246930 6 hours ago in reply to Andrew Beckett

    Thank you very much Andrew Beckett It's working

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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