diff options
author | Josh Blum <josh@joshknows.com> | 2012-03-12 13:54:42 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-03-12 13:54:42 -0700 |
commit | 7a95ea36f86c512fbbaf34c99e1ba5c3a0237f54 (patch) | |
tree | 3b553e028045cc399d2c2592c8f1798f3e42850f /usrp2/top/tcl | |
parent | b4173387dd0adb27cc267b22dc57258d44fafa84 (diff) | |
download | uhd-7a95ea36f86c512fbbaf34c99e1ba5c3a0237f54.tar.gz uhd-7a95ea36f86c512fbbaf34c99e1ba5c3a0237f54.tar.bz2 uhd-7a95ea36f86c512fbbaf34c99e1ba5c3a0237f54.zip |
fpga: force -include_global for custom sources
ISE will not recognize custom sources as part of the hierarchy,
and thus will not compile (unless its the first macro...).
Remove custom sources from the source list,
and specially add them with the -include_global option.
Diffstat (limited to 'usrp2/top/tcl')
-rw-r--r-- | usrp2/top/tcl/ise_helper.tcl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usrp2/top/tcl/ise_helper.tcl b/usrp2/top/tcl/ise_helper.tcl index f11596f8b..c5ceded1b 100644 --- a/usrp2/top/tcl/ise_helper.tcl +++ b/usrp2/top/tcl/ise_helper.tcl @@ -59,6 +59,14 @@ if [file isfile $env(ISE_FILE)] { } ################################################## + # Add the custom sources + ################################################## + foreach source $env(CUSTOM_SRCS) { + puts ">>> Adding custom source to project: $source" + xfile add $source -include_global + } + + ################################################## # Set the top level module ################################################## project set top $env(TOP_MODULE) |