From 002bbb33580189691b61da7bb4078a62a86ce2cc Mon Sep 17 00:00:00 2001 From: uvok Date: Wed, 24 Dec 2025 10:23:49 +0100 Subject: Write placed and routed SVGs --- .gitignore | 2 ++ Makefile | 7 +++++-- 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 -- cgit v1.2.3