• 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 Design
  3. Difference between Attatch or reference a library, when...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 18469
  • 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

Difference between Attatch or reference a library, when creating libraries.

chaujohnthan
chaujohnthan over 5 years ago

As topic

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    When you attach a technology library, it will use it directly for designs in your library. When you reference a technology library, it actually compiles a local technology library into your own library and adds a reference to the technology library.

    Initially these will have the same effect, but if you use "reference" then it means that you have the ability to add incremental data to your own library's tech database. For example, you can add additional layers, constraints (e.g. constraint groups with modified rules), via definitions and so on. You cannot do that if you use attach. If you don't need to add any of these incremental technology database features, then using attach probably makes more sense as it avoids accidentally defining something locally that you didn't mean to.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • chaujohnthan
    chaujohnthan over 5 years ago in reply to Andrew Beckett

    Thanks for such quick reply.

    so if i just plan to do cell-level work, both shall be fine, and inadvertent modification of the orignal lib will be prevented?

    if i do want to modify cells in the original lib, what should i do then?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to chaujohnthan

    This is nothing to do with editing cells in either library. You can edit cells in either the library you are creating or the library that is referenced or attached (assuming you have permissions to do so).

    This is specifically about the technology database (which is stored in a file called tech.db) in any library that is not attached to another library. I was specifically talking about making technology changes to your own library - you can only do that if you've referenced another technology library or have compiled a tech file locally into your own library.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • QRYao
    QRYao over 4 years ago in reply to Andrew Beckett

    Thanks. Does this mean if I want to use the foundry's technology, I'd better choose to attach to a library? If I only use virtuoso to do simulation and don't make changes to tech.db file, it makes no difference, right?

    • 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