summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa53ee8..5f51296 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ fpga: pdp8.sof
7 quartus_pgm -c 1 -m JTAG -o "P;$<@1" 7 quartus_pgm -c 1 -m JTAG -o "P;$<@1"
8.PHONY: fpga 8.PHONY: fpga
9 9
10download-%: mem/% 10download-%.bin: mem/%.bin
11 p8bin2uart 1 $< | tool/download.tcl 0 1 11 p8bin2uart 1 $< | tool/download.tcl 0 1
12 p8bin2uart 1 $< | tool/download.tcl 1 1 12 p8bin2uart 1 $< | tool/download.tcl 1 1
13 p8bin2uart 1 $< | tool/download.tcl 2 1 13 p8bin2uart 1 $< | tool/download.tcl 2 1
@@ -25,6 +25,24 @@ download-%: mem/%
25 p8bin2uart 1 $< | tool/download.tcl 14 1 25 p8bin2uart 1 $< | tool/download.tcl 14 1
26 p8bin2uart 1 $< | tool/download.tcl 15 1 26 p8bin2uart 1 $< | tool/download.tcl 15 1
27 27
28download-%.uart: mem/%.uart
29 tool/download.tcl 0 1 < $<
30 tool/download.tcl 1 1 < $<
31 tool/download.tcl 2 1 < $<
32 tool/download.tcl 3 1 < $<
33 tool/download.tcl 4 1 < $<
34 tool/download.tcl 5 1 < $<
35 tool/download.tcl 6 1 < $<
36 tool/download.tcl 7 1 < $<
37 tool/download.tcl 8 1 < $<
38 tool/download.tcl 9 1 < $<
39 tool/download.tcl 10 1 < $<
40 tool/download.tcl 11 1 < $<
41 tool/download.tcl 12 1 < $<
42 tool/download.tcl 13 1 < $<
43 tool/download.tcl 14 1 < $<
44 tool/download.tcl 15 1 < $<
45
28term-mem: 46term-mem:
29 nios2-terminal --instance 0 47 nios2-terminal --instance 0
30.PHONY: term-mem 48.PHONY: term-mem