• 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. Error when setting up new lib in virtuoso(IC618)

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 1331
  • 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

Error when setting up new lib in virtuoso(IC618)

JJ202503031042
JJ202503031042 6 months ago

Hi everyone,

This is my first time asking for a help at this site, so maybe I turn to some block which is wrong,if this case plz tell me,thanks!

Here are my problem:

I’m not very sure if ignoring certain errors in my Virtuoso design process, it will cause what problems later on.

Here’s my situation:

Environment: IC6.1.8

Scenario: In the Virtuoso CIW interface, I executed File > New > Library > Name & Attach Existing Tech Library.

Error Messages in the Info Window:
##
ERROR (ADE-5066): Tool 'hspiceS' has not been registered.
ERROR (ADE-5067): Unable to initialize tool 'hspiceS'; either tool class is not
defined or tool is not registered.
*Error* The default SKILL generic function has not been defined for the function "asiEnvGetVar". Ensure that this function is called with the correct argument(s) (tool partition name).

INFO (TECH-180011): Design library 'fortest' successfully attached to technology library 'tmsc18rf'.
##

I asked Grok and ds about this, and they pointed out two issues:
Issue 1: The hspiceS tool isn’t registered.
Issue 2: The SKILL function call for asiEnvGetVar failed.

I’ve looked up solutions, and I know the steps to fix these (like configuring HSPICE paths and checking SKILL scripts), but here’s my problem:
I’m working in a virtual machine environment that I got from someone else. I don’t have a clear idea of where to perform these steps since I didn’t set it up virtuoso myself. Unfortunately, I can’t easily contact the person who gave me the VM for now, so I’m turning to here...

I tried searching forums at this site, but couldn’t find similar posts—maybe I missed something, and I’m sorry if that’s the case! If anyone knows where I can find threads with similar issues, that would be amazing. Please, if anyone can guide me on where to start or what to do in this borrowed VM environment, I’d be so grateful

  • Cancel
  • Andrew Beckett
    Andrew Beckett 6 months ago

    hspiceS is the old "socket" interface for Hspice and support for this was removed in IC6.1.0 (it was loosely supported still in IC5141, but really since the introduction of hspiceD and the spectre direct netlister in IC443 the hspiceS and spectreS interfaces were obsolete). IC5141 had the last hotfix 13-14 years ago, and so it's been dead since then.

    My guess is that this PDK has been migrated from CDB to OA and there's still some stuff in the libInit.il file within the tsmc18rf library which references hspiceS. I would recommend commenting out the code which is trying to initialise hspiceS as this is what's causing this error. Look for the tsmc18rf library, find the file libInit.il within it, and then check for hspiceS being referenced.

    I'd expect that if you have a sufficiently recently PDK from TSMC it wouldn't have this problem.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • JJ202503031042
    JJ202503031042 6 months ago in reply to Andrew Beckett

    Thank you,

    I'm a University student from China and in my freshman year, so I have to find solution of some tiny problem... I've tried several ways to solve this problem, first is install a new PDK, but encounter an Error which remind me that this PDK is CDB not OA, 

    then I turn to your solution (because I don't know how to modify file "libinit" ), still warning me that this is CDB not OA,

    finally I transfer CDB to OA, then my classmate told me that we can use another lib which is already exist...

    ummm, though it seems that I solve nothing, I still glad that you could give me a possible solution, because I turn to help at 11 o'clock last night(Beijing time), when I was very anxious.

    Hope you a nice day.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett 6 months ago in reply to JJ202503031042

    BTW, to answer your previous (now deleted) question, you could just comment out the two lines that mentioned asiGetTool('hspiceD) by adding a semi-colon ';' at the beginning of the lines (i.e. before the asiSetEnvOptionVal).

    Anyway, glad you got access to an updated library which works fine in current versions.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JJ202503031042
    JJ202503031042 6 months ago in reply to Andrew Beckett

    yep, I've add ";" at the beginning of the command though, but the lib still reminding me of the foramt(CDB rather than OA)...

    However, thanks a lot for your help both mentally and physically

    Have a nice day

    Hank

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett 6 months ago in reply to JJ202503031042

    Hank,

    Of course, converting from CDB to OA is a must for there to be any chance of this working.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JJ202503031042
    JJ202503031042 6 months ago in reply to Andrew Beckett

    Mr.Andrew 

    Okay, I've got it. Thank you for your guidance!

    Wish you a good day

    Hank

    • 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