electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to use TCL/TK for simulation in modelsim?


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> How to use TCL/TK for simulation in modelsim?
Author Message
shenql



Joined: 20 Nov 2007
Posts: 24


Post20 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


Post21 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


Post21 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


Post23 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


Post23 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
Google Adsense




Post23 Nov 2007 7:29   

Ads




Back to top
shenql



Joined: 20 Nov 2007
Posts: 24


Post25 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


Post25 Nov 2007 14:54   

Re: How to use TCL/TK for simulation in modelsim?


http://www.model.com/support/technotes/tcl_tk/tcl_testbench.pdf
Back to top
shenql



Joined: 20 Nov 2007
Posts: 24


Post26 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


Post26 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 Very Happy
Back to top
shenql



Joined: 20 Nov 2007
Posts: 24


Post26 Nov 2007 7:56   

How to use TCL/TK for simulation in modelsim?


a hehe !
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> How to use TCL/TK for simulation in modelsim?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
TCL Script for Modelsim (5)
how to run a Tcl script with argument in windows Modelsim? (2)
Tcl/Tk Constellation Plot Display for ModelSim (1)
Free Tcl/Tk Based Testbench Generator for VHDL/ModelSim (2)
How to use my tcl/tk script in cadence? (3)
how to use PLI in Modelsim? (2)
ModelSim tcl expression (4)
Tcl used in Modelsim? (2)
how to use PSS for VCO's simulation? (1)
How to use ModelSim and Debussy produce fsdb(verilog) ? (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS