summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bd8a62b..607aa6a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,10 @@ tangnano9k.cst:
%.pnr.json: %.json tangnano9k.cst
nextpnr-himbaechel --json $< --write $@ \
--device GW1NR-LV9QN88PC6/I5 --vopt family=GW1N-9C \
- --vopt cst=tangnano9k.cst || \
+ --vopt cst=tangnano9k.cst \
+ --placed-svg $*.plc.svg \
+ --routed-svg $*.rt.svg \
+ || \
nextpnr-gowin --json $< --write $@ \
--device GW1NR-LV9QN88PC6/I5 --family GW1N-9C \
--cst tangnano9k.cst
@@ -26,4 +29,4 @@ flash: led.fs
openFPGALoader -b tangnano9k -f led.fs
clean:
- rm -rf *.json *.fs
+ rm -rf *.json *.fs *.svg *.log