summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoruvok2025-12-24 19:05:11 +0100
committeruvok2025-12-24 19:05:11 +0100
commit3da62eabcde20b1047cb3ca985675235d8d8159f (patch)
tree8ed70353c31245baf4d38776f6d32e188d49eea4 /Makefile
parent176fa71eadb39e5dd0628e012fa5f99c697e900b (diff)
add show command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c2824e5..f814a02 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,9 @@ tangnano9k.cst:
%.json: %.v
yosys -p "read_verilog $<; synth_gowin -top $* -json $@"
+show: $(PROGRAM).v
+ yosys -p "read_verilog $<; show $(PROGRAM)"
+
%.pnr.json: %.json tangnano9k.cst
nextpnr-himbaechel --json $< --write $@ \
--device GW1NR-LV9QN88PC6/I5 --vopt family=GW1N-9C \