| Author |
Message |
shenql
Joined: 20 Nov 2007 Posts: 24
|
20 Nov 2007 9:04 modelsim tk |
|
|
|
|
I'm interest in TCL.And found it can use for simulation in modelsim! But I don't know how to write script for it!
Who have experience in this? If you have ,can you share it?
Thank you! Expecting for your experence!
|
|
| Back to top |
|
 |
shenql
Joined: 20 Nov 2007 Posts: 24
|
21 Nov 2007 4:21 using tk in modelsim |
|
|
|
|
| no one have experience in this?
|
|
| Back to top |
|
 |
walid farid
Joined: 08 Nov 2006 Posts: 43 Helped: 15
|
21 Nov 2007 8:45 Re: How to use TCL/TK for simulation in modelsim? |
|
|
|
|
| You can start with "chapter25:TCL and Macros (Do files)" in the ModelSim users manual. Note that in the ModelSim do files you can merge both the TCL and the ModelSim commands.
|
|
| Back to top |
|
 |
shenql
Joined: 20 Nov 2007 Posts: 24
|
23 Nov 2007 2:36 How to use TCL/TK for simulation in modelsim? |
|
|
|
|
OK! I'll try this! Thank you ! waild!
Added after 6 minutes:
Do you know what's the task of tcl in modelsim?
|
|
| Back to top |
|
 |
salma ali bakr
Joined: 27 Jan 2006 Posts: 973 Helped: 80
|
23 Nov 2007 7:29 Re: How to use TCL/TK for simulation in modelsim? |
|
|
|
|
tcl is just a programming language...or to be more precise, a command language...it's used to control the use of EDA tools...(TCL stands for Tool Control Language)
so it's used to automate the procedures you'd normally do on a GUI of an EDA tool...
when you're writing commands in modelsim...you're just writing tool-dependent commands that use tcl commands in reality (but this isn't visible to you of course)
you can make a script to compile, simulate...etc
you can also do a testbench with tcl
this site is very fun :
http://wiki.tcl.tk/
|
|
| Back to top |
|
 |
Google AdSense

|
23 Nov 2007 7:29 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
shenql
Joined: 20 Nov 2007 Posts: 24
|
25 Nov 2007 14:49 How to use TCL/TK for simulation in modelsim? |
|
|
|
|
| thanks! and can you give me some examples of testbench with tcl? or simulation?
|
|
| Back to top |
|
 |
salma ali bakr
Joined: 27 Jan 2006 Posts: 973 Helped: 80
|
|
| Back to top |
|
 |
shenql
Joined: 20 Nov 2007 Posts: 24
|
26 Nov 2007 3:34 How to use TCL/TK for simulation in modelsim? |
|
|
|
|
thanks for yr help! in this web ( http://www.model.com/support/technotes.asp?id=108 )
i found more about tcl/tk in modelsim! thanks again!
|
|
| Back to top |
|
 |
salma ali bakr
Joined: 27 Jan 2006 Posts: 973 Helped: 80
|
26 Nov 2007 7:20 Re: How to use TCL/TK for simulation in modelsim? |
|
|
|
|
that's great...i already expected that you'd get the rest
each one should do their homework
|
|
| Back to top |
|
 |
shenql
Joined: 20 Nov 2007 Posts: 24
|
26 Nov 2007 7:56 How to use TCL/TK for simulation in modelsim? |
|
|
|
|
| a hehe !
|
|
| Back to top |
|
 |