electronics forum

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

run tcl code


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> run tcl code
Author Message
Tom2



Joined: 11 Nov 2006
Posts: 174


Post26 Jun 2009 22:02   

how to run tcl file


I try to write a code in tcl language (in linux).

The problem is that i don't know how to run this code.

Is anyone who can help ??????????????????
Back to top
iHarshal



Joined: 14 Feb 2008
Posts: 2


Post28 Jun 2009 6:45   

arabic version of run code


We execute the tcl file by using the command 'source'
as:

source tcl_file

at the tcl prompt.
Back to top
Google
AdSense
Google Adsense




Post28 Jun 2009 6:45   

Ads




Back to top
bharundi



Joined: 01 Jan 1970
Posts: 260
Helped: 5


Post28 Jun 2009 18:56   

run tcl code


You can also have the following as the first line:
#!/usr/bin/tclsh
# <reset of code>

then specify the name of the script at the command as:
$> ./<scriptName>

Also make sure that the file access attribute of the script include "executable", if not do:
$> chmod +x <scriptName>
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 -> ASIC Design Methodologies & Tools (Digital) -> run tcl code
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
which program to download and install to run tcl/tk code (6)
Run PDRACULA program in TCL/TK (2)
How to run tcl in ActiveTcl Windows? (3)
how to run a Tcl script with argument in windows Modelsim? (2)
A TCL script run in PrimeTime that help you trace your desig (3)
Perl/TCL/C(++) library for handling verilog code (6)
TCL tutorial or example to write testbench for VHDL code (1)
perl code to run in Allegro (4)
How to run asm code on TI`s C6713 DSP (1)
EDK and GDB - Code does not run (6)


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