diff options
author | Matt Ettus <matt@ettus.com> | 2010-06-11 17:23:34 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-06-11 17:23:34 -0700 |
commit | 1935f2a4ed0d0abc90bb3fe7fed745ff84ab6d7c (patch) | |
tree | 10765e4419d36c148b1a6b2304bf7c8aac9fe894 /usrp2/top/tcl | |
parent | 45e5589ed9c555c604fb66be9f314c02ff5fb9e4 (diff) | |
download | uhd-1935f2a4ed0d0abc90bb3fe7fed745ff84ab6d7c.tar.gz uhd-1935f2a4ed0d0abc90bb3fe7fed745ff84ab6d7c.tar.bz2 uhd-1935f2a4ed0d0abc90bb3fe7fed745ff84ab6d7c.zip |
produces good bin files
Diffstat (limited to 'usrp2/top/tcl')
-rw-r--r-- | usrp2/top/tcl/ise_helper.tcl | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/usrp2/top/tcl/ise_helper.tcl b/usrp2/top/tcl/ise_helper.tcl index fe9db87af..a4bee76b8 100644 --- a/usrp2/top/tcl/ise_helper.tcl +++ b/usrp2/top/tcl/ise_helper.tcl @@ -40,12 +40,12 @@ proc set_props {process options} { } } -if [file isfile $env(PROJ_FILE)] { - puts ">>> Opening project: $env(PROJ_FILE)" - project open $env(PROJ_FILE) +if [file isfile $env(ISE_FILE)] { + puts ">>> Opening project: $env(ISE_FILE)" + project open $env(ISE_FILE) } else { - puts ">>> Creating project: $env(PROJ_FILE)" - project new $env(PROJ_FILE) + puts ">>> Creating project: $env(ISE_FILE)" + project new $env(ISE_FILE) ################################################## # Set the project properties @@ -56,7 +56,6 @@ if [file isfile $env(PROJ_FILE)] { # Add the sources ################################################## foreach source $env(SOURCES) { - set source $env(SOURCE_ROOT)$source puts ">>> Adding source to project: $source" xfile add $source } @@ -78,9 +77,9 @@ if [file isfile $env(PROJ_FILE)] { set_props "Generate Post-Place & Route Simulation Model" $env(SIM_MODEL_PROPERTIES) } -if [string compare $env(PROCESS_RUN) ""] { - puts ">>> Running Process: $env(PROCESS_RUN)" - process run $env(PROCESS_RUN) +if [string compare [lindex $argv 0] ""] { + puts ">>> Running Process: [lindex $argv 0]" + process run [lindex $argv 0] } project close |