Line 1... |
Line 1... |
@echo off
|
@echo off
|
REM --------------------------------------------------------------------------
|
REM --------------------------------------------------------------------------
|
REM Modified: Jonathon W. Donaldson
|
REM Modified: Jonathon W. Donaldson
|
REM Rev-Mod: $Id: impact_go.bat,v 1.1 2008-11-07 00:52:52 jwdonal Exp $
|
REM Rev-Mod: $Id: impact_go.bat,v 1.2 2008-11-07 01:33:15 jwdonal Exp $
|
REM --------------------------------------------------------------------------
|
REM --------------------------------------------------------------------------
|
|
|
REM --------------------------------------------------------------------------
|
REM --------------------------------------------------------------------------
|
REM Script to target the FPGA with the resulting design bit file
|
REM Script to target the FPGA with the resulting design bit file
|
REM --------------------------------------------------------------------------
|
REM --------------------------------------------------------------------------
|
|
|
echo 'SCRIPT: Which design would you like to use?'
|
ECHO SCRIPT: Which design would you like to use?
|
:GETDIR
|
:GETDIR
|
ECHO 0 - lq057q3dc02
|
ECHO 0 - lq057q3dc02
|
ECHO 1 - Do not use
|
ECHO 1 - Do not use
|
ECHO 2 - Do not use
|
ECHO 2 - Do not use
|
set /p choice=Choice:
|
set /p choice=Choice:
|
Line 20... |
Line 20... |
ECHO "%choice%" is not valid please try again
|
ECHO "%choice%" is not valid please try again
|
ECHO .
|
ECHO .
|
goto GETDIR
|
goto GETDIR
|
|
|
:FAKEDLF
|
:FAKEDLF
|
echo 'SCRIPT: Running iMPACT...'
|
ECHO SCRIPT: Running iMPACT...
|
impact -batch impact_opt.cmd
|
impact -batch impact_opt.cmd
|
goto DONE
|
goto DONE
|
|
|
:REALDLF
|
:REALDLF
|
echo 'SCRIPT: Running iMPACT...'
|
ECHO SCRIPT: Running iMPACT...
|
impact -batch impact_opt_dlf.cmd
|
impact -batch impact_opt_dlf.cmd
|
goto DONE
|
goto DONE
|
|
|
:ALL
|
:ALL
|
echo 'SCRIPT: Running iMPACT...'
|
ECHO SCRIPT: Running iMPACT...
|
impact -batch impact_opt_all.cmd
|
impact -batch impact_opt_all.cmd
|
goto DONE
|
goto DONE
|
|
|
:DONE
|
:DONE
|
del _impactbatch.log
|
del _impactbatch.log
|
echo 'SCRIPT: Done!'
|
ECHO SCRIPT: Done!
|
ECHO SCRIPT: Done!
|
ECHO SCRIPT: Done!
|