aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/archcheck/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/examples/archcheck/Makefile')
-rw-r--r--fpga_interchange/examples/archcheck/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/fpga_interchange/examples/archcheck/Makefile b/fpga_interchange/examples/archcheck/Makefile
new file mode 100644
index 00000000..cf82013b
--- /dev/null
+++ b/fpga_interchange/examples/archcheck/Makefile
@@ -0,0 +1,16 @@
+include ../common.mk
+
+PACKAGE := csg324
+
+.PHONY: check check_test_data
+
+check: check_test_data
+ $(NEXTPNR_BIN) \
+ --chipdb $(BBA_PATH) \
+ --package $(PACKAGE) \
+ --test
+
+check_test_data:
+ $(NEXTPNR_BIN) \
+ --chipdb $(BBA_PATH) \
+ --run $(NEXTPNR_PATH)/python/check_arch_api.py