diff options
author | Aki Van Ness <aki@lethalbit.net> | 2022-09-15 06:32:45 -0400 |
---|---|---|
committer | Aki Van Ness <aki@lethalbit.net> | 2022-09-15 06:32:45 -0400 |
commit | ca43729f124466b816f922842353feeb3f6f8e84 (patch) | |
tree | dcb5191f0f33237ae561bfad064bd20fc397e728 /examples/hx8kboard/Makefile | |
parent | 2bc541743ada3542c6da36a50e66303b9cbd2059 (diff) | |
download | icestorm-ca43729f124466b816f922842353feeb3f6f8e84.tar.gz icestorm-ca43729f124466b816f922842353feeb3f6f8e84.tar.bz2 icestorm-ca43729f124466b816f922842353feeb3f6f8e84.zip |
Replaced instances of `arachne-pnr` with the `nextpnr-ice40` equivalent
Diffstat (limited to 'examples/hx8kboard/Makefile')
-rw-r--r-- | examples/hx8kboard/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/hx8kboard/Makefile b/examples/hx8kboard/Makefile index bcecdf2..eea99c4 100644 --- a/examples/hx8kboard/Makefile +++ b/examples/hx8kboard/Makefile @@ -1,14 +1,15 @@ PROJ = example PIN_DEF = hx8kboard.pcf DEVICE = hx8k +PACKAGE = ct256 all: $(PROJ).rpt $(PROJ).bin -%.blif: %.v - yosys -p 'synth_ice40 -top top -blif $@' $< +%.json: %.v + yosys -p 'synth_ice40 -top top -json $@' $< -%.asc: $(PIN_DEF) %.blif - arachne-pnr -d $(subst hx,,$(subst lp,,$(DEVICE))) -o $@ -p $^ +%.asc: $(PIN_DEF) %.json + nextpnr-ice40 --$(DEVICE) --package $(PACKAGE) --asc $@ --pcf $< --json $*.json %.bin: %.asc icepack $< $@ @@ -24,7 +25,7 @@ sudo-prog: $(PROJ).bin sudo iceprog $< clean: - rm -f $(PROJ).blif $(PROJ).asc $(PROJ).rpt $(PROJ).bin + rm -f $(PROJ).json $(PROJ).asc $(PROJ).rpt $(PROJ).bin .SECONDARY: .PHONY: all prog clean |