vhdl - In a TCL script how do I echo the content of a variable? -


i writing tcl script modelsim, , want compare output value of signal constant know circuit working correctly. know how control input signals can't figure out how echo output.

ideally i'd able pipe csv file, it'd enough have script return pass/fail.

still need read value of output (in case it's sim:/union/outf) in similar way [$echo outf] on bash

ps. realize title may misleading, because can print value of variable declared inside script. need print current value of wave output.

i'd want save each value of 'outf' later compare it

the direct equivalent in tcl of bash's echo $out is:

puts $out 

or, if variable environment variable:

puts $env(out) 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -