| 1 |
@echo off |
| 2 |
|
| 3 |
set XMD_DIR=C:\Xilinx\SDK\2015.4\bin |
| 4 |
|
| 5 |
if "%~1"=="" goto user |
| 6 |
set hdf_destination="%~1" |
| 7 |
set build_destination="%~2" |
| 8 |
if "%~2"=="" set build_destination="./" |
| 9 |
|
| 10 |
goto end |
| 11 |
|
| 12 |
:user |
| 13 |
echo Enter the system_top.hdf location |
| 14 |
echo "example => C:/workspace/my_proj1_hdf/system_top.hdf" |
| 15 |
set /p hdf_destination= |
| 16 |
|
| 17 |
echo Enter the project build folder |
| 18 |
echo "example => C:/my_workspaces Note: use "/" instead of "\"" |
| 19 |
set /p build_destination= |
| 20 |
:end |
| 21 |
|
| 22 |
%XMD_DIR%\xsct ..\build_scripts\xilinx\create_sdk_project.tcl %hdf_destination% %build_destination% |
| 23 |
|
| 24 |
echo Done |