]> Joshua Wise's Git repositories - fpgaboy.git/blame - Makefile
Start refactoring instructions.
[fpgaboy.git] / Makefile
CommitLineData
81358c71 1VLOGS=Uart.v Timer.v Interrupt.v GBZ80Core.v CPUDCM.v 7seg.v System.v allinsns.v insn_ld_reg_imm8.v
9c834ff2
JW
2
3all: CoreTop.svf CoreTop.twr
4
81358c71 5CoreTop.ngc: CoreTop.xst CoreTop.prj $(VLOGS) CoreTop.ucf
9c834ff2
JW
6 xst -ifn CoreTop.xst -ofn CoreTop.syr
7
8CoreTop.ngd: CoreTop.ngc foo.bmm
9 ngdbuild -dd _ngo -nt timestamp -i -bm "foo.bmm" -p xc3s500e-fg320-5 "CoreTop.ngc" CoreTop.ngd
10
11CoreTop_map.ncd: CoreTop.ngd
12 map -p xc3s500e-fg320-5 -cm area -pr off -k 4 -c 100 -o CoreTop_map.ncd CoreTop.ngd CoreTop.pcf
13
14CoreTop.ncd: CoreTop_map.ncd
15 par -w -ol std -t 1 CoreTop_map.ncd CoreTop.ncd CoreTop.pcf
16
17CoreTop.twr: CoreTop_map.ncd
18 trce -e 3 -s 5 -xml CoreTop CoreTop.ncd -o CoreTop.twr CoreTop.pcf -ucf CoreTop.ucf
19
20CoreTop.bit: CoreTop.ut CoreTop.ncd
21 bitgen -f CoreTop.ut CoreTop.ncd
7028b02c
JW
22
23CoreTop_rom.bit: rom.hex CoreTop.bit foo_bd.bmm
24 data2mem -bm foo_bd.bmm -bd rom.mem -bt CoreTop.bit -o b CoreTop_rom.bit
25
26CoreTop.svf: CoreTop_rom.bit rom.hex impact.cmd
27 impact -batch impact.cmd
28
29rom.o: rom.asm
30 rgbasm -orom.o rom.asm
31
32rom.bin: rom.o rom.lnk
33 xlink rom.lnk
34
35rom.hex: rom.bin
36 ./mashrom < rom.bin > rom.hex
This page took 0.029541 seconds and 4 git commands to generate.