mirror of
https://github.com/spicyjpeg/573in1.git
synced 2025-02-02 20:47:17 +01:00
42 lines
704 B
Batchfile
Executable File
42 lines
704 B
Batchfile
Executable File
@echo off
|
|
setlocal
|
|
|
|
set TARGET=xcs40xl-pq208-4
|
|
set COVER_MODE=area
|
|
set OPTIMIZATION_MODE=speed
|
|
set OPTIMIZATION_LEVEL=high
|
|
|
|
set PATH="%XILINX%\bin\nt";%PATH%
|
|
|
|
cd /d "%~dp0\build"
|
|
|
|
ngdbuild synth.edf synth.ngd ^
|
|
-uc ..\fpga.ucf ^
|
|
-p %TARGET% ^
|
|
|| exit /b 1
|
|
map -o mapped.ncd synth.ngd ^
|
|
-p %TARGET% ^
|
|
-cm %COVER_MODE% ^
|
|
-os %OPTIMIZATION_MODE% ^
|
|
-oe %OPTIMIZATION_LEVEL% ^
|
|
-pr b ^
|
|
-detail ^
|
|
|| exit /b 1
|
|
par mapped.ncd fpga.ncd ^
|
|
-w ^
|
|
-detail ^
|
|
|| exit /b 1
|
|
xdl -ncd2xdl fpga.ncd fpga.xdl ^
|
|
|| exit /b 1
|
|
bitgen fpga.ncd fpga.bit ^
|
|
-w ^
|
|
-g DonePin:Pullup ^
|
|
-g PowerDown:Pullup ^
|
|
-g ReadCapture:Disable ^
|
|
-g ExpressMode:Disable ^
|
|
-g 5V_Tolerant_IO:On ^
|
|
|| exit /b 1
|
|
|
|
endlocal
|
|
exit /b 0
|