OpenCores
URL https://opencores.org/ocsvn/t80/t80/trunk

Subversion Repositories t80

[/] [t80/] [trunk/] [syn/] [xilinx/] [run/] [t80debugxr.bat] - Diff between revs 35 and 47

Only display areas with differences | Details | Blame | View Log

Rev 35 Rev 47
set name=t80debugxr
set name=t80debugxr
rem set target=xc2v250-cs144-6
rem set target=xc2v250-cs144-6
rem set target=xcv300e-pq240-8
rem set target=xcv300e-pq240-8
set target=xc2s200-pq208-5
set target=xc2s200-pq208-5
if "%2" == "" goto default
if "%2" == "" goto default
set target=%2
set target=%2
:default
:default
cd ..\out
cd ..\out
if "%1" == "" goto xst
if "%1" == "" goto xst
set name=t80debugxr_leo
set name=t80debugxr_leo
copy ..\bin\t80debugxr_leo.pin %name%.ucf
copy ..\bin\t80debugxr_leo.pin %name%.ucf
ngdbuild -p %target% %1 %name%.ngd
ngdbuild -p %target% %1 %name%.ngd
goto builddone
goto builddone
:xst
:xst
xrom MonZ80 11 8 > ..\src\MonZ80.vhd
xrom MonZ80 11 8 > ..\src\MonZ80.vhd
hex2rom ..\..\..\sw\monitorxr.hex MonZ80 11b8u > MonZ80.ini
hex2rom ..\..\..\sw\monitorxr.hex MonZ80 11b8u > MonZ80.ini
copy ..\out\MonZ80.ini + ..\bin\%name%.pin %name%.ucf
copy ..\out\MonZ80.ini + ..\bin\%name%.pin %name%.ucf
xst -ifn ../bin/%name%.scr -ofn ../log/%name%.srp
xst -ifn ../bin/%name%.scr -ofn ../log/%name%.srp
ngdbuild -p %target% %name%.ngc
ngdbuild -p %target% %name%.ngc
:builddone
:builddone
move %name%.bld ..\log
move %name%.bld ..\log
map -p %target% -cm speed -c 100 -pr b -timing -tx on -o %name%_map %name%
map -p %target% -cm speed -c 100 -pr b -timing -tx on -o %name%_map %name%
move %name%_map.mrp ..\log\%name%.mrp
move %name%_map.mrp ..\log\%name%.mrp
par -ol 3 -t 1 %name%_map -w %name%
par -ol 3 -t 1 %name%_map -w %name%
move %name%.par ..\log
move %name%.par ..\log
trce %name%.ncd -o ../log/%name%.twr %name%_map.pcf
trce %name%.ncd -o ../log/%name%.twr %name%_map.pcf
bitgen -w %name%
bitgen -w %name%
move %name%.bgn ..\log
move %name%.bgn ..\log
cd ..\run
cd ..\run
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.