• 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 set the orientation of a given mosaic object?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14735
  • 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 set the orientation of a given mosaic object?

cessej
cessej over 13 years ago

I was able to set the orientation of instances using instObj~>orient="R90" but I can't do it for mosaic object.

I search the forum but I can't find the answer.

Thank you.

 

  • Cancel
  • StefanSL
    StefanSL over 13 years ago

     Hi cessej,

    the appropriate key for the orientation of your mosaic-object is "tileArray";

    unfortunately, mosaic_id~>tileArray cannot be modified by a skill-command.

    There's an API-function dbSetTileArray that could be used for self
    defined  enhancements.

    I assume the only way to modify the orientation by skill is, to gather all
    required informations from the existing mosaic, delete the mosaic and
    create a new mosaic applying the modified parameters.

    kind regards

    Stefan

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 13 years ago

    If you have the mosaic id, then you can do this:

    ;Store the current xy of the mosaic (assuming mo contains the mosaic ID)
    xy = mo~>xy
    dbMoveFig(mo geGetEditCellView() list(0:0 "R90"))
    mo~>xy = xy

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • cessej
    cessej over 13 years ago

    Thanks for the help. I think this solution really help at some point. Is it applicable when edit-in-place or do I still need to transform the bbox?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 13 years ago

    I think it should still work for edit-in-place. We are simply applying a tranform that contains a rotation. However, since we cannot specify the reference point for the rotation, we just capture the xy and reset it afterwards. I haven't tested it, but I think this will be unaffected in eip.

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • 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