• 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 could i use the "libInit.il" to add my own user-defined...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 2766
  • 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 could i use the "libInit.il" to add my own user-defined funtions when restarting the ICFB?

danglang
danglang over 11 years ago

I've already finished a pcell with skill language within which i've called some my own user-defined functions from some other docments.

So i load it like "load("xxx.il" in the CIW. OK! I've got my first DIY pcell.

 But when I restarted the icfb, i almost lost all what i''ve finished.

I have to reload all the "xxx.il" documents in th CIW. What a terrible thing!?

So how could deal with this problem?

ps: I've seen some examples talking about the use of "libInit.il" document, but I'm still confused about it.

thank you for your reply!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Typically what you would do is to add a file called libInit.il in the same library that contains your pcells. So the file would exist at the root of the library. The file could either contain the function definitions, or have load() calls to load the code from elsewhere.

    That's it.

    You could have searched in cdnshelp for libInit.il and found this out.

    Regards,

    Andrew.

     

    • searchingInHelp.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • danglang
    danglang over 11 years ago
    ok,thank you. i'll give it a try.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nidon2003
    nidon2003 over 11 years ago

    Hi Andrew,

     

    My version is IC5141, where can i get these information.

    Can you offer me a link? 

     

    Thank you very much

     

    Lee 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Lee,

    In IC5141, the documentation system is "cdsdoc". The tricky thing is that this is not supported on later operating systems, so often these days it doesn't work. I wrote a solution which tells you how to fix it (for RHEL5 and RHEL6), although I should point out that this is not "supported" (but it does seem to work OK!).

    You can also run "cdnshelp" and point to the IC5141 documentation tree, but you'll need to have write access to the installation in order to run "topicgen" to build the indexes. Once this is done once, you can easily use cdnshelp.

    So, if you have cdnshelp in say an MMSIM installation that you're using along with IC5141, you'd do these steps:

    cdnshelp -hierarchy <IC5141_instDir>/doc

    if the indexes (or rather indices) aren't there then it will prompt you to run topicgen. You'd do this (with write access to the installation):

     /export/home/apps/MMSIM131_isr/tools/cdnshelp/bin/topicgen -docset /export/home/apps/IC5141_isr/doc

    (note, the paths are my own).

    This takes a few minutes. Having done that, it will then allow you to run cdnshelp with the -hierarchy switch, or alternatively use the Edit->Setting and then Library tab to add the path to <IC5151_instDir>/doc into your search path for cdnshelp.

    Anyway, aside from that, to answer your specific question you could just look at <IC5141_instDir>/doc/pclib/pclib.pdf and search in there for some info on libInit.il (it's elsewhere too, but that's a good start).

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nidon2003
    nidon2003 over 11 years ago

    Thanks a lot, Andrew!

    And i have saw these information, thanks for your kindly help

    BTW, I try to run ./cdshelp in the IC5141_install/bin, which is also available.

    3Q!

     

    Lee 

    • 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