• 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. Consult a skill for find cell placement

Stats

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

Consult a skill for find cell placement

Jewell
Jewell over 2 years ago

Please consult everyone,

I want to achieve the following functions:

1; Open an any Top layout cell, assuming that there have been many calls to common cell A in this Top layout. Entering a common cell A, pressing a bindkey can list all common cell A called in the entire Top layout

2;After finding all common cells A, zoom in on one part of a common cell and click Next through the window to display the same points for browsing all common cells at the same magnification, in order to check if your edit meets all points and avoid errors such as LVS and DRC

Thank all .

  • Cancel
Parents
  • ebecheto
    ebecheto over 2 years ago

    Hi Jewel,

    Here is a pseudo code exemple on how to zoom in.

    Although, i do not remember how to make a blocking user input pause.

    You can imagine to highlight a net with lntAddTrace / lntRemoveAllTraces()  before /after zooming.

    This code will not work, but it will give you a starting point maybe.

    Regards,

    ;; copyleft ebecheto
    defun(xy2bBox  (xy @optional (d 0.5) ) let(( x y) x=car(xy) y=cadr(xy) list(list(x-d y-d) list(x+d y+d)) ))
    ;; xy point to a square bBox at this point
    ;;  +-----+
    ;;  |     |
    ;;  |  xy |
    ;;  |     |
    ;;  +-----+
    ;; return bounding Box around the point

    ;;inst=css()

    foreach(mapcar inst  setof(inst win~>cellView~>instances inst~>name==sprintf(nil "matgen[%d].c_col_pixel_cfg" C)))

    hiZoomIn(win=getCurrentWindow() xy2bBox(inst~>bBox 35))

    ;; Make a wait her somehow or save the image

    filename=sprintf(nil "%s%03d_%s.png" pattern i pixName);=> "Bzoom003.png"
    hiWindowSaveImage(?target win ?path filename ?centralWidget t)

    )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ebecheto
    ebecheto over 2 years ago

    Hi Jewel,

    Here is a pseudo code exemple on how to zoom in.

    Although, i do not remember how to make a blocking user input pause.

    You can imagine to highlight a net with lntAddTrace / lntRemoveAllTraces()  before /after zooming.

    This code will not work, but it will give you a starting point maybe.

    Regards,

    ;; copyleft ebecheto
    defun(xy2bBox  (xy @optional (d 0.5) ) let(( x y) x=car(xy) y=cadr(xy) list(list(x-d y-d) list(x+d y+d)) ))
    ;; xy point to a square bBox at this point
    ;;  +-----+
    ;;  |     |
    ;;  |  xy |
    ;;  |     |
    ;;  +-----+
    ;; return bounding Box around the point

    ;;inst=css()

    foreach(mapcar inst  setof(inst win~>cellView~>instances inst~>name==sprintf(nil "matgen[%d].c_col_pixel_cfg" C)))

    hiZoomIn(win=getCurrentWindow() xy2bBox(inst~>bBox 35))

    ;; Make a wait her somehow or save the image

    filename=sprintf(nil "%s%03d_%s.png" pattern i pixName);=> "Bzoom003.png"
    hiWindowSaveImage(?target win ?path filename ?centralWidget t)

    )

    • 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