
VHDL FLI/Tcl in Modelsim and wait statement
On 11 Jul 1999 15:46:01 GMT, Gurpreet Bhullar
on examining internal signals in VHDL with ModelSim...
Gurpreet,
Have you considered doing the following:
1 - Define a new "trigger" signal within your testbench
2 - Implement a "when" tcl that drives the value of your examining
signal when it changes
For example: Place in a separate file that is sourced after loading
the design:
when { /test_bench/uut/map_one/intermediate } {
force /test_bench/trigger
$examine(/test_bench/uut/map_one/intermediate)
Quote:
}
(apologies for potential line-wrap)
In this way you can drag a signal through the hierarchy with this
sleight-of-hand and do the rest of your stuff in pure VHDL.
Hope this helps.
Cheers
Stuart
An employee of Saros Technology:
Model Technology, Exemplar Logic, TransEDA, Renoir.
www.saros.co.uk