• 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. Cadence IC5.1.41 libInit.il

Stats

  • Locked Locked
  • Replies 19
  • Subscribers 144
  • Views 22860
  • 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

Cadence IC5.1.41 libInit.il

ag2888
ag2888 over 11 years ago
Hi,

I wanted to know is it possible to overwrite the libInit.il file, which is specified in the project area by a local version of the same??
I am actually trying to load a user defined set of "modelPath"s for the analog design environment. So i have another skill script in my local area to do that (this is loaded using .cdsinit). But the libInit.il file in the project area, that is sourced whenever i open the library manager, overwrites the "modelPath"s by loading a script in the project area.

Any suggestions how this can be done?

Any other suggestions on how to add some default set of "modelPath"s for the ADE?

Thanks
  • Cancel
Parents
  • ag2888
    ag2888 over 11 years ago

    Hi Andrew,

     I tried using the above code in a "*.ils" file in my local area and loaded it using .cdsinit file. In the .cdsinit file i also loaded the local copy of the libInit.il and my model.il after this. That way it works.

    But there are some issues that i see. 

    1. The local libInit.il starts loading but then after the first line itself it starts loading the project libInit file. After successfully loading it, it reloads the local one.

    Thus giving out some errors like

    *Error* User post install trigger already registered for viewType maskLayout 

    The libInit.il in both project and local area is as below -

    let( ( ddObj (success t) (libName "Lib_Name") )

      printf("Loading LOCAL %s/libInit.il ...\n" libName)

      if( ddGetObj(libName) then

         ;; load custom library initialization file

         ;; load library display resource file

         ;; load custom library initialization file (exit) 

    else

        success = nil

    ) 

    If any of the 3 files aren't loaded then also success is set as nil, which is then used to display a status message at the end of the file. 

    2. The CustomExit script (3rd file) that is called to load all .ile and .il, is the one that is causing the overriding of the local model.il. I have added the path of my local model file there as well but this doesn't seem to take it.

    Also if i just load the local copy of libInit.il and then load the model.il then also it works. i.e. without using the .ils file.

    I am very new to Skill hence I am not sure whether it is because of something wrong in the script or the file s being sourced due to some other command elsewhere. 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ag2888
    ag2888 over 11 years ago

    Hi Andrew,

     I tried using the above code in a "*.ils" file in my local area and loaded it using .cdsinit file. In the .cdsinit file i also loaded the local copy of the libInit.il and my model.il after this. That way it works.

    But there are some issues that i see. 

    1. The local libInit.il starts loading but then after the first line itself it starts loading the project libInit file. After successfully loading it, it reloads the local one.

    Thus giving out some errors like

    *Error* User post install trigger already registered for viewType maskLayout 

    The libInit.il in both project and local area is as below -

    let( ( ddObj (success t) (libName "Lib_Name") )

      printf("Loading LOCAL %s/libInit.il ...\n" libName)

      if( ddGetObj(libName) then

         ;; load custom library initialization file

         ;; load library display resource file

         ;; load custom library initialization file (exit) 

    else

        success = nil

    ) 

    If any of the 3 files aren't loaded then also success is set as nil, which is then used to display a status message at the end of the file. 

    2. The CustomExit script (3rd file) that is called to load all .ile and .il, is the one that is causing the overriding of the local model.il. I have added the path of my local model file there as well but this doesn't seem to take it.

    Also if i just load the local copy of libInit.il and then load the model.il then also it works. i.e. without using the .ils file.

    I am very new to Skill hence I am not sure whether it is because of something wrong in the script or the file s being sourced due to some other command elsewhere. 

     

    • 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