Forum Discussion
Altera_Forum
Honored Contributor
16 years agotcl commands in Altera Modelsim
Hi all!
I am using Altera Modelsim, which is tcl-based. I use the GUI. In the console, when I type the command puts "a" I get not output: ModelSim> set a 1 # 1 ModelSim> echo $a # 1 ModelSim> puts $a ModelSim> puts "a" ModelSim> Can anyone explain that? Thx13 Replies
- Altera_Forum
Honored Contributor
correct.
Is there a way to redirect the host OS's console into ModelSim's console? - Altera_Forum
Honored Contributor
puts will put messages into the host OS's console window (i see this on linux). i'm not sure where they'd go if you are using Windows.
echo prints to the ModelSim transcript window as you've seen. - Altera_Forum
Honored Contributor
on the other hand, each time a "set" command is executed, there is a trace in the console with the value
Why is that?