• 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. Functional Verification
  3. tk plugin error in ncsim

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 13489
  • 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

tk plugin error in ncsim

NormanW
NormanW over 13 years ago
Hi, Can anyone help us?

We've already installed tk and tcl at '/usr/local/lib/tcl8.4' and '/usr/local/lib/tk8.4'. And 'libtk8.4.so' under /usr/local/lib/

But, when trying to use tk in the simulator each Tk command (e.g:tk_getOpenFile), result the below error.
 
tk plugin error 

Thanks, 
  • Cancel
Parents
  • StephenH
    StephenH over 13 years ago

    Hi Norman.

    SimVision uses its own copy of Tcl/Tk which is installed inside the Incisive package. You do not need to install your own version, and indeed your local install won't be used even if you do, as the tools carefully pick up the Cadence-provided version (anything else would be a support nightmare).

    Looking at the error message you get, I suspect the problem is with your Tcl code, perhaps failing to interpret a variable properly. However I see you tried to invoke tk_getOpenFile from the ncsim prompt; this is most likely a mistake. NCsim itself doesn't have Tk built-in, instead the Tk GUI features are provided via the SimVision prompt (SimVision runs as a separate process from the simulator).

    At the bottom of the simulator's Console window you'll find at least the tabs "SimVision" and "Simulator"; switch to the SimVision tab to type any GUI commands. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • StephenH
    StephenH over 13 years ago

    Hi Norman.

    SimVision uses its own copy of Tcl/Tk which is installed inside the Incisive package. You do not need to install your own version, and indeed your local install won't be used even if you do, as the tools carefully pick up the Cadence-provided version (anything else would be a support nightmare).

    Looking at the error message you get, I suspect the problem is with your Tcl code, perhaps failing to interpret a variable properly. However I see you tried to invoke tk_getOpenFile from the ncsim prompt; this is most likely a mistake. NCsim itself doesn't have Tk built-in, instead the Tk GUI features are provided via the SimVision prompt (SimVision runs as a separate process from the simulator).

    At the bottom of the simulator's Console window you'll find at least the tabs "SimVision" and "Simulator"; switch to the SimVision tab to type any GUI commands. 

    • 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