summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoruvok2025-12-25 15:09:48 +0100
committeruvok2025-12-25 15:09:48 +0100
commit49cb2811e25f8becd31848642707d98bc94230eb (patch)
treeab3c75cb2bce6dd7e83b6d2d1aa1847cd3dd1420 /Makefile
parent1771756006b8528b3a5a598129ac680a1c095189 (diff)
Add clock constraints file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e30f1e8..e566393 100644
--- a/Makefile
+++ b/Makefile
@@ -64,13 +64,15 @@ clean:
--placed-svg $*.plc.svg \
--routed-svg $*.rt.svg \
-q -l $(PROGRAM).pnr.log \
+ --sdc clock.sdc \
|| \
nextpnr-gowin --json $< --write $@ \
--device GW1NR-LV9QN88PC6/I5 --family GW1N-9C \
--cst $(CST) \
--placed-svg $*.plc.svg \
--routed-svg $*.rt.svg \
- -q -l $(PROGRAM).pnr.log
+ -q -l $(PROGRAM).pnr.log \
+ --sdc clock.sdc
# pack bitstream
%.fs: %.pnr.json