summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok2025-12-24 10:23:49 +0100
committeruvok2025-12-24 10:23:49 +0100
commit002bbb33580189691b61da7bb4078a62a86ce2cc (patch)
tree80299bd1365b811e63d16358bdde0d6ee9989d0e
parente1ab9b20b1df99e87070be0bb5add200f3eda419 (diff)
Write placed and routed SVGs
-rw-r--r--.gitignore2
-rw-r--r--Makefile7
2 files changed, 7 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 15fc2c5..9da71de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
*.json
*.cst*
*.fs
+*.log
+*.svg
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