• 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. placement of multiple elements using a file that contains...

Stats

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

placement of multiple elements using a file that contains the coordinates

ArantxaU
ArantxaU over 2 years ago

Dear all,

We want to create an array of devices  using a file that contains the positions of  all the devices ( around 1000 elements). How can we proceed to place it using a skill tool?

We are using cadence IC6.1.7

Best regards

  • Cancel
Parents
  • AurelBuche
    AurelBuche over 2 years ago

    Hi, without any example of what your file contain it is complicated to make an accurate answer...

    The skeleton of the script will be : 

    ;; Open master of instances to create and coordinates file
    (let ((master (dbOpenCellViewByType library cell view))
          (port (infile file))
    (cv (geGetEditCellView))
    coords)
      ;; Supposing each line contains a pair of coordinates, browse them
      (while (setq coords (lineread port))
      (when (listp coords)
    (dbCreateInstance cv master nil coords "R0")
    );when
    );while
    ;; Close master and port
    (dbClose master)
    (close port)
    );let

    The code obviously needs more checks (at least for lineread output) but this should be a good start

    Depending of how your coordinates are written, you might want to shape lineread output to make it a pair of coordinates

    Note that for now it works in current cellview

    Cheers

    Aurelien

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ArantxaU
    ArantxaU over 2 years ago in reply to AurelBuche

    Dear Aurelien

    Thanks a lot for your help. It works quite well

    Regards

    Arantxa

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • ArantxaU
    ArantxaU over 2 years ago in reply to AurelBuche

    Dear Aurelien

    Thanks a lot for your help. It works quite well

    Regards

    Arantxa

    • Cancel
    • Vote Up +1 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