diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
| @@ -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 | ||
| 10 | download-%: mem/% | 10 | download-%.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 | ||
| 28 | download-%.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 | |||
| 28 | term-mem: | 46 | term-mem: |
| 29 | nios2-terminal --instance 0 | 47 | nios2-terminal --instance 0 |
| 30 | .PHONY: term-mem | 48 | .PHONY: term-mem |
