In article <
09546fe4-1947-46f6...@googlegroups.com>,
I've done similar in the past (well, just the probing part), and it boiled down to
one of two solutions:
1. Leverage the PLI
2. Using a Modelsim hook into TCL.
I chose the latter. Basically, I created some TCL in modelsim which monitored
for changes on an wire. When changes occured, it indicated that the testbench
wished to change what was being probed. From there modelsim took over and did
the requested operation. So most of the code was in TCL.
Don't know if/how this could be duplicated in other simulators. YMMV.
Not a pretty solution at all, but it worked.
Regards,
Mark