mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
6658905f18
It is identical to the popular 20081211, with the doob addition (20090301), a linux client, and two additional commands for LF analysis. Let me know if you find issues here!
38 lines
617 B
Batchfile
38 lines
617 B
Batchfile
@echo off
|
|
|
|
rmdir/s/q xst
|
|
|
|
del fpga.ngc
|
|
xst -ifn xst.scr
|
|
if errorlevel 0 goto ok1
|
|
goto done
|
|
:ok1
|
|
|
|
del fpga.ngd
|
|
ngdbuild -aul -p xc2s30-6vq100 -nt timestamp -uc fpga.ucf fpga.ngc fpga.ngd
|
|
if errorlevel 0 goto ok2
|
|
goto done
|
|
:ok2
|
|
|
|
del fpga.ncd
|
|
map -p xc2s30-6vq100 fpga.ngd
|
|
if errorlevel 0 goto ok3
|
|
goto done
|
|
:ok3
|
|
|
|
del fpga-placed.ncd
|
|
par fpga.ncd fpga-placed.ncd
|
|
if errorlevel 0 goto ok4
|
|
goto done
|
|
:ok4
|
|
|
|
del fpga.bit fpga.drc fpga.rbt
|
|
bitgen -b fpga-placed.ncd fpga.bit
|
|
if errorlevel 0 goto ok5
|
|
goto done
|
|
:ok5
|
|
|
|
echo okay
|
|
perl ..\tools\rbt2c.pl fpga.rbt > ..\armsrc\fpgaimg.c
|
|
|
|
:done
|