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.
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:
This would compile, elaborate and immediately simulate your design. You can then refine it with other options, add in Tcl scripts (via -input).