• 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. Initiating tcl script in Xcelium

Stats

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

Initiating tcl script in Xcelium

Khan190
Khan190 over 6 years ago

Hi everyone,

I'm new to scripting and so far it has been really overwhelming. 

I want to run a tcl file using a command directive in Xcelium, and so far i've had no luck. The tcl file was initially made for modelsim so it contains commands like vlog (verilog compiling) and vsim (verilog simulation invoking) . It works fine for Modelsim as i just enter the command "do sim.tcl' and it runs smoothly. I'm yet to find alternative commands to these in Xcelium. Also, i'm not directly using a linux computer. I'm connected to the linux computer database system through the internet and i have no visuals, only the command line. 

It would be really appreciated if someone can guide me. Sorry if the question is very lame.

Regards,

A

  • Cancel
  • StephenH
    StephenH over 6 years ago

    I haven't used Modelsim for many years, so I can't advise how its compile flow compares to Xcelium. The flow with Xcelium is that you call the compiler and elaborator from Linux, and the output from the elaborator is effectively a compiled binary that is then run as the simulator. You cannot invoke a generic Xcelium simulator binary and then run the compilation from inside the simulator.

    The basic assumption is that you start from Linux and use the "xrun" front-end to do all the work; you can either compile, elaborate and simulate all in a single step, or you can decompose it into separate steps, though that is generally discouraged unless there is a very specific reason to do so. Thus your simplest invocation of the simulator would be something like:

    xrun *.sv

    This would compile, elaborate and immediately simulate your design. You can then refine it with other options, add in Tcl scripts (via -input).

    • 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