TCL CODE WITH VHDL

hi ajeeta.
seriously not a bit harsh!!! well.. thanks i got the idea how to use
the "examine" command. but this does not solve the problem.
what i want is, i need to capture the output of a vhd/dut and tap it on
to a TCL variable from where i can proceed with my work.
to be frank i'am the only person in my office working on TCL SCRIPT for
verification and i have completed testing in testbenches. but the
requirement is in TCL, for which i'am doing now.
u earlier spoke about a course, is it in INDIA-BANGALORE. do let me
know.

thanks.
and yes one more thing, does VCD commands help for what i'am doing.
tc
hope to get ur response soon. and i'am stuck badly and running short of
time. please get me out of this.
 
Hi AAA (BTW, is that the name you go by?),
If I understand you correctly, you have got very close to where you
want to be:

Try:

set tcl_count_output [examine /dut/count_var]

This should get the value of count_var in DUT to a TCL var of name
tcl_count_output.

You may have to wrap this inside a "when" TCL command (Modelsim
specific) to get updates regularly.

[Shameless plug-in:]

u earlier spoke about a course, is it in INDIA-BANGALORE. do let me
know.

Yes, it is. Indeed I'm having several verification related courses in
mind/pipeline and am looking for potential customer(s). I plan to work
on need basis - if a customer says a need for a specific course, I can
work with them and tune it for them.

If interested, feel free to contact me @ gmail.com<>ajeetha

[/End of plug-in]

Good Luck
Ajeetha
www.noveldv.com
 
Hi all...

I have two doubts.

1. My first doubt is how to write the tcl script which locates my existing .vhd file and insert new line of code in it or replaces some of the existing codes and save the modified .vhd code back to same folder or in another new folder???

2. My second doubt is if i want to modify .vhd code already existing (statement of my first doubt) using TCL command, how i can perform it? for example, to force any value at .vhd file using tcl command, am running that particular command in any of the simulation tool's command line. Similarly, if i write a tcl script to modify .vhd file, where can i run that file (i.e. using which tool) ???

Regards,
Sumathi G.
 

Welcome to EDABoard.com

Sponsor

Back
Top