diff options
| author | Julian Blake Kongslie | 2022-06-05 15:34:23 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-05 15:42:26 -0700 |
| commit | 9ce65b7d3573d92e1d98a13b58a5d5763ba073c5 (patch) | |
| tree | 7486552ff9428dcb76e22593f445a657b121f443 /Makefile | |
| parent | SMC micro. (diff) | |
| download | multipdp8-9ce65b7d3573d92e1d98a13b58a5d5763ba073c5.tar.xz | |
Working L1 cache.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,6 +1,5 @@ | |||
| 1 | SOURCES := $(wildcard hdl/**.sv) | 1 | SOURCES := $(wildcard hdl/**.sv) |
| 2 | HEADERS := $(wildcard hdl/**.svh) | 2 | HEADERS := $(wildcard hdl/**.svh) |
| 3 | MEMORIES := $(addprefix build/, $(addsuffix .hex, $(basename $(wildcard mem/**.pal)))) | ||
| 4 | QUARTUS := $(shell find altera tcl -name \*.cdf -o -name \*.sdc -o -name \*.tcl) | 3 | QUARTUS := $(shell find altera tcl -name \*.cdf -o -name \*.sdc -o -name \*.tcl) |
| 5 | 4 | ||
| 6 | fpga: pdp8.sof | 5 | fpga: pdp8.sof |
| @@ -75,7 +74,7 @@ build/%.bin: %.pal | |||
| 75 | palbart $< | 74 | palbart $< |
| 76 | mv -f $*.bin $*.lst $(dir $@) | 75 | mv -f $*.bin $*.lst $(dir $@) |
| 77 | 76 | ||
| 78 | pdp8.sof: $(SOURCES) $(HEADERS) $(MEMORIES) $(QUARTUS) | 77 | pdp8.sof: $(SOURCES) $(HEADERS) $(QUARTUS) |
| 79 | [ ! -e pdp8.qpf ] || quartus_sh -t tcl/clean.tcl | 78 | [ ! -e pdp8.qpf ] || quartus_sh -t tcl/clean.tcl |
| 80 | quartus_sh -t tcl/init.tcl | 79 | quartus_sh -t tcl/init.tcl |
| 81 | quartus_sh --flow compile pdp8.qpf | 80 | quartus_sh --flow compile pdp8.qpf |
