Guest
I am using Simvision standalone to debug design, ie. I open the
snapshot and a waveform database. No simulation. And I am trying to
control Simvision with TCL script.
I have a problem with following syntax in TCL script for Simvision:
set hier testbench.dut.subblock
set block_out [list
{ $hier.data_out[32:16] } \
{ $hier.data_out[15:0] } \
]
waveform add -signals [lindex $block_out 0]
waveform add -signals [lindex $block_out 1]
What I want to do, is, to group bit-selects of some Verilog signals as
list member in Tcl, and I want to access them as a list member. However
the TCL interpreter in Simvision interprets the list definition not
correctly:
$hier.data_out[32:16]
The interpreter does not take the value of $hier variable, but as
string "$hier". I want the tool to take it as a variable. What am I
doing wrong here?
Utku
snapshot and a waveform database. No simulation. And I am trying to
control Simvision with TCL script.
I have a problem with following syntax in TCL script for Simvision:
set hier testbench.dut.subblock
set block_out [list
{ $hier.data_out[32:16] } \
{ $hier.data_out[15:0] } \
]
waveform add -signals [lindex $block_out 0]
waveform add -signals [lindex $block_out 1]
What I want to do, is, to group bit-selects of some Verilog signals as
list member in Tcl, and I want to access them as a list member. However
the TCL interpreter in Simvision interprets the list definition not
correctly:
$hier.data_out[32:16]
The interpreter does not take the value of $hier variable, but as
string "$hier". I want the tool to take it as a variable. What am I
doing wrong here?
Utku