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

Subversion Repositories t80

[/] [t80/] [trunk/] [syn/] [xilinx/] [run/] [t80debug.bat] - Blame information for rev 47

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 jesus
set name=t80debug
2
rem set target=xc2v250-cs144-6
3
rem set target=xcv300e-pq240-8
4
set target=xc2s200-pq208-5
5
 
6
if "%2" == "" goto default
7
set target=%2
8
:default
9
 
10
cd ..\out
11
 
12
if "%1" == "" goto xst
13
 
14
set name=t80debug_leo
15
 
16
copy ..\bin\t80debug.pin %name%.ucf
17
 
18
ngdbuild -p %target% %1 %name%.ngd
19
 
20
goto builddone
21
 
22
:xst
23
 
24 21 jesus
xrom MonZ80 11 8 > ..\src\MonZ80.vhd
25
hex2rom ..\..\..\sw\monitor.hex MonZ80 11b8u > MonZ80.ini
26
copy ..\out\MonZ80.ini + ..\bin\%name%.pin %name%.ucf
27 13 jesus
 
28
xst -ifn ../bin/%name%.scr -ofn ../log/%name%.srp
29
ngdbuild -p %target% %name%.ngc
30
 
31
:builddone
32
 
33
move %name%.bld ..\log
34
 
35
map -p %target% -cm speed -c 100 -pr b -timing -tx on -o %name%_map %name%
36
move %name%_map.mrp ..\log\%name%.mrp
37
 
38 35 jesus
par -ol 3 -t 1 %name%_map -w %name%
39 13 jesus
move %name%.par ..\log
40
 
41
trce %name%.ncd -o ../log/%name%.twr %name%_map.pcf
42
 
43
bitgen -w %name%
44
move %name%.bgn ..\log
45
 
46
cd ..\run

powered by: WebSVN 2.1.0

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