how to source a Tcl script file with argument

Status
Not open for further replies.

wwfhm2002

Member level 5
Joined
Dec 7, 2003
Messages
83
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Activity points
686
In modelsim, I can run: source test.tcl
to do simulation.

Now I want to attach some argument to let the test.tcl be more options, so I run source test.tcl +define+CHECKTIMING, the modesim gives me "# wrong # args: should be "source fileName"".

So how can I run a Tcl script file with argument in modelsim system?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…