diff options
| author | Clifford Wolf <clifford@clifford.at> | 2016-01-17 11:40:22 +0100 |
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2016-01-17 11:40:22 +0100 |
| commit | 7902d3ac3d0a519a07cb7c927e0722335a770f32 (patch) | |
| tree | a19d501a0b4e767a66320f2ba5d393c58033ddcb /examples/hx8kboard/Makefile | |
| parent | 7b7f75e44f17f704e2e46b29f1b866c7cbf56d00 (diff) | |
Added icetime to examples
Diffstat (limited to 'examples/hx8kboard/Makefile')
| -rw-r--r-- | examples/hx8kboard/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/hx8kboard/Makefile b/examples/hx8kboard/Makefile index 9795cdf..2e21206 100644 --- a/examples/hx8kboard/Makefile +++ b/examples/hx8kboard/Makefile @@ -2,7 +2,7 @@ PROJ = example PIN_DEF = hx8kboard.pcf DEVICE = 8k -all: $(PROJ).bin +all: $(PROJ).rpt $(PROJ).bin %.blif: %.v yosys -p 'synth_ice40 -top top -blif $@' $< @@ -13,6 +13,9 @@ all: $(PROJ).bin %.bin: %.asc icepack $< $@ +%.rpt: %.asc + icetime -mt $< | tee $@ + prog: $(PROJ).bin iceprog $< @@ -21,6 +24,7 @@ sudo-prog: $(PROJ).bin sudo iceprog $< clean: - rm -f $(PROJ).blif $(PROJ).asc $(PROJ).bin + rm -f $(PROJ).blif $(PROJ).asc $(PROJ).rpt $(PROJ).bin +.SECONDARY: .PHONY: all prog clean |
