• 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. Change a technology library into a design library

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 18206
  • 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

Change a technology library into a design library

Qilong
Qilong over 8 years ago

Hi All, 

 Due to my mistake I set up a design library as a technology library and built quite some designs in it. Is there any way that I can change it back to a design library? I played with the Technology file manager but found no way to do that...

  Virtuoso version: 6.1.6

Best regards,

Qilong 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hi Qilong,

    There are some SKILL functions to do the basic operations, which I've encapsulated in this utility code:

    /* abConvertRefToAttach.il
    
    Author     A.D.Beckett
    Group      Custom IC (UK), Cadence Design Systems Ltd.
    Language   SKILL
    Date       Dec 15, 2010 
    Modified   
    By         
    
    Convert a referenced technology library (or one with its own
    tech database) into one that is attached to another library.
    
    Bit cleaner than just removing the tech.db
    
    Usage:
    
    abConvertRefToAttach("libName" "techLibName")
    
    ***************************************************
    
    SCCS Info: @(#) abConvertRefToAttach.il 03/13/17.14:30:48 1.1
    
    */
    
    (defun abConvertRefToAttach (libName attachLibName "tt")
      (let (libId techId attachLibId attachTechId)
        (unless (setq libId (ddGetObj libName))
          (error "Could not access library %s\n" libName))
        (setq techId (techGetTechFile libId))
        (unless (equal (getq techId libName) libName)
          (error "Library is already attached to tech library %s\n"
                 (getq techId libName)))
        (unless (setq attachLibId (ddGetObj attachLibName))
          (error "Could not access library %s\n" attachLibName))
        (setq attachTechId (techGetTechFile attachLibId))
        (techDeleteTechFile techId)
        (techBindTechFile
          libId (getq attachTechId libName) (getq attachTechId fileName))
        t
        ))
    

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hi Qilong,

    There are some SKILL functions to do the basic operations, which I've encapsulated in this utility code:

    /* abConvertRefToAttach.il
    
    Author     A.D.Beckett
    Group      Custom IC (UK), Cadence Design Systems Ltd.
    Language   SKILL
    Date       Dec 15, 2010 
    Modified   
    By         
    
    Convert a referenced technology library (or one with its own
    tech database) into one that is attached to another library.
    
    Bit cleaner than just removing the tech.db
    
    Usage:
    
    abConvertRefToAttach("libName" "techLibName")
    
    ***************************************************
    
    SCCS Info: @(#) abConvertRefToAttach.il 03/13/17.14:30:48 1.1
    
    */
    
    (defun abConvertRefToAttach (libName attachLibName "tt")
      (let (libId techId attachLibId attachTechId)
        (unless (setq libId (ddGetObj libName))
          (error "Could not access library %s\n" libName))
        (setq techId (techGetTechFile libId))
        (unless (equal (getq techId libName) libName)
          (error "Library is already attached to tech library %s\n"
                 (getq techId libName)))
        (unless (setq attachLibId (ddGetObj attachLibName))
          (error "Could not access library %s\n" attachLibName))
        (setq attachTechId (techGetTechFile attachLibId))
        (techDeleteTechFile techId)
        (techBindTechFile
          libId (getq attachTechId libName) (getq attachTechId fileName))
        t
        ))
    

    Regards,

    Andrew.

    • 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