• 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. Error on invoking Skill IDE

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 142
  • Views 16432
  • 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 on invoking Skill IDE

SrBraj
SrBraj over 5 years ago

Hi

Whenever I invoke the Skill IDE from ciw->Tools->Skill IDE... , I get the following error in the ciw. Though the Skill IDE work as usual without giving any issue.

Loading skillide.cxt
Loading skillDev.cxt
*** Error in routine eval:
Message: *Error* eval: unbound variable - __ilgProfilerWindow
Entering new debug toplevel due to error:
Type (help "debug") for a list of commands or debugQuit to exit the toplevel.

I just want to know if there is a way to eliminate this error.

Thanks and Regards

Saurabh

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    Saurabh,

    Which sub-version of Virtuoso are you running? - getVersion(t) will return that.

    Also, can you repeat the problem and then type where() or stacktrace() at the prompt to show where it is failing? I've had a quick look in current versions and can't see how it could fail this way, and I've not found any reports of the same issue. I can think of a potential workaround to solve this, but I'd like to understand first how this could happen to figure out whether that workaround stands any chance of working or not.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 5 years ago

    Hi Saurabh,

    Have you tried to launch it through the corresponding Skill commad:

    _ilgRunSkillIde()

    Max

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

    Hi Andrew

    I am using the following sub-version: "sub-version  IC6.1.8-64b.500.10 "

    I used the where () command and got the following output.

    where()
    <<< Stack Trace >>>
    errorHandler("eval" 0 t nil ("*Error* eval: unbound variable" __ilgProfilerWindow))
    (... in __ilgProfilerSearch1CB ...)
    value = nil
    __ilgList = nil
    __ilgListLow = nil
    _i = nil
    len = nil
    tmpstr = nil
    tmp_list = nil
    tmp_list_low = nil
    full = nil
    form = formStruct@0x24011c20
    (... in __ilgProfilerOptionSearchSensitiveCB ...)
    realValue = t
    form1 = formStruct@0x24011c20
    searchSen = t
    frame = t
    form = nil
    value = nil
    __ilgProfilerOptionSearchSensitiveCB(t)
    (... in _ilgSetProfilerOptionsTimeMemCountSearch ...)
    _ilgScrollRegion = ProfilerOptionsScrollReg
    __ilgValueTimeMem = "Run Time"
    __ilgValueCount = t
    __ilgValueSearch = t
    (... in _ilgSetProfilerOptions ...)
    __ilgValueTimeMem = "Run Time"
    __ilgValueCount = t
    __ilgValueSearch = t
    __ilgValueFunc = 1000
    __ilgValueSec = 0.0
    __ilgValueBytes = 0
    __ilgValueCon = ""
    __ilgValueRE = ""
    __ilgValuePre = ""
    _ilgSetProfilerOptions("Run Time" t t 1000 0.0 ... )
    (isCallable('_ilgSetProfilerOptions) && _ilgSetProfilerOptions("Run Time" t t 1000 0.0 ... ))
    (isCallable('_ilgSetProfilerOptions) && _ilgSetProfilerOptions("Run Time" t t 1000 0.0 ... ))
    (... in _ilgLoadSettings ...)
    settingsFile = "/homefs3/saurabh/.cadence/skill_ide_hi"
    __ilgDir = "/homefs3/saurabh/wrk_dir/xt018_1241"
    f = port:"/homefs3/saurabh/.cadence/skill_ide_hi"
    expr = (isCallable('_ilgSetProfilerOptions) && _ilgSetProfilerOptions("Run Time" t t 1000 0.0 ... ))
    __val1 = 9
    __val2 = 4
    __val3 = nil
    __field1 = "EditorOptionFontSize"
    __field2 = "EditorOptionTabStopSize"
    (... in ilGetIdeSessionWindow ...)
    __ilgShowMouseBarVal = "Bottom"
    args = (nil help nil window window:2 ... )
    force = t
    noDebug = nil
    (... in unknown ...)
    funobj@0x31618fc0()
    (... in _ilgRunSkillIde ...)
    noDebug = nil
    _ilgRunSkillIde()
    _insideilparser = t
    7

    As mentioned by Mbracht,  If I use the _ilgRunSkillIde() command in ciw, then I don't get any error.

    Thanks and Regards

    Saurabh

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

    Saurabh,

    It seems that the issue is caused by a preference setting in ~/.cadence/skill_ide_hi - it's to do if you have previously used a case insensitive search in the profiler. The line is:

    isCallable('_ilgSetProfilerOptions) && _ilgSetProfilerOptions("Run Time" t t 1000 0.0 0 "" "" "")

    (its the second t). However, this should be fine, because normally the profiler window has been created before the preference file is loaded, so the callback for the case-insensitive search option (which causes this failure) would then succeed. From what I can see, _ilgRunSkillIde() will always create the profiler window first, so it shouldn't fail.

    What is odd is that it works when you run this function - because _ilgRunSkillIde is what should be called when you run Tools->SKILL IDE in the CIW. Could you do the following?

    1. Turn on the "a" choice (Accelerated Input) in Options->Log Filter in the CIW
    2. Use Tools->SKILL IDE and see what function was invoked when you did that?
    3. In the CIW type ddGetStartup("menus/ciw.menus") and report what it returns

    Thanks,

    Andrew.

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

    Hi Andrew

    After setting the  "a" choice (Accelerated Input) in Options->Log Filter in the CIW, I invoke the skill IDE using Tools->SKILL IDE. Below is the output in the CIW.

    hiSetFilter()
    hiiSetCurrentForm('hiSetFilterForm)
    hiSetFilterForm->accelInput->value= t
    hiFormDone(hiSetFilterForm)
    _ilgRunSkillIde()
    Loading skillide.cxt
    Loading skillDev.cxt
    *** Error in routine eval:
    Message: *Error* eval: unbound variable - __ilgProfilerWindow
    Entering new debug toplevel due to error:
    Type (help "debug") for a list of commands or debugQuit to exit the toplevel.
    _ilgSetFocus(4)

    I run the ddGetStartup("menus/ciw.menus") in the ciw, I get the "nil" as output. (I run this command just after invoking skill IDE.)

    Thanks and Regards

    Saurabh

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

    Saurabh,

    OK, so it's just calling the same function, and you don't have some old customised ciw menus - that was my guess as to what the issue might have been. Clearly not that then!

    I've just realised what causes this though, and can reproduce it. I also know how to solve it.

    To fix

    1. Launch the IDE (it will give the error above)
    2. Close the IDE
    3. Launch the IDE again in the same session and change the workspace choice from "Skill IDE" (or whatever it was) to "Checking" (either via the toolbar or Window->Workspaces->Checking) so that the profiler docked window appears
    4. Hit the green button on the profiler, and then hit the red button to stop it
    5. Click on the "Profiler Options" icon (to the right of the Search box in the profiler) and turn off "Case Sensitive Search"
    6. You can change the workspace to something else again now (e.g. "Coding")
    7. Close the IDE

    Now if you quit Virtuoso, and restart, the problem will be gone. You can also solve it by deleting the ~/.cadence/skill_ide_hi file (that will lose your other preferences and file history though, so it's up to you whether you want to do that).

    The issue is caused by running the profiler, turning on case-sensitive search, and then changing the workspace to something that doesn't show the profiler window. The callback for the case sensitive search is applied when the preferences are loaded, and that assumes that the profiler is present, but if the preferences indicate that the last window configuration didn't contain the profiler, the profiler window hasn't been created at that point.

    Bit of a tricky one! I'll file a CCR (change request) to get this fixed.

    Andrew.

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

    Hi Andrew

    Thanks for your quick reply. After following the steps you mentioned, I am not getting the error anymore.

    Thanks and Regards

    Saurabh

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

    Hi Saurabh,

    Glad that solved the issue. I filed CCR 2319205 to get this fixed.

    Regards,

    Andrew.

    • 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