diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-16 12:24:15 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-17 12:03:16 -0800 |
commit | 5a7f83c705d6ea52e9e5bb7b182b32040d15a13a (patch) | |
tree | 7e9d54dca77f867e76d034923dba95e1f52980ef /fpga_interchange/examples/archcheck | |
parent | 7c1544f4d8e5dc75d6d6a8cf973888f5c94bd1b9 (diff) | |
download | nextpnr-5a7f83c705d6ea52e9e5bb7b182b32040d15a13a.tar.gz nextpnr-5a7f83c705d6ea52e9e5bb7b182b32040d15a13a.tar.bz2 nextpnr-5a7f83c705d6ea52e9e5bb7b182b32040d15a13a.zip |
Add examples invoking FPGA interchange nextpnr.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/examples/archcheck')
-rw-r--r-- | fpga_interchange/examples/archcheck/Makefile | 16 | ||||
-rw-r--r-- | fpga_interchange/examples/archcheck/test_data.yaml | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/fpga_interchange/examples/archcheck/Makefile b/fpga_interchange/examples/archcheck/Makefile new file mode 100644 index 00000000..8984e1b4 --- /dev/null +++ b/fpga_interchange/examples/archcheck/Makefile @@ -0,0 +1,16 @@ +NEXTPNR_PATH := $(shell echo ~/cat_x/nextpnr) +NEXTPNR_BIN := $(NEXTPNR_PATH)/build/nextpnr-fpga_interchange +BBA_PATH := $(NEXTPNR_PATH)/build/test.bin + +PACKAGE := csg324 + +.PHONY: + +check: + $(NEXTPNR_BIN) \ + --chipdb $(BBA_PATH) \ + --package $(PACKAGE) \ + --test + $(NEXTPNR_BIN) \ + --chipdb $(BBA_PATH) \ + --run $(NEXTPNR_PATH)/python/check_arch_api.py diff --git a/fpga_interchange/examples/archcheck/test_data.yaml b/fpga_interchange/examples/archcheck/test_data.yaml new file mode 100644 index 00000000..b41112cf --- /dev/null +++ b/fpga_interchange/examples/archcheck/test_data.yaml @@ -0,0 +1,7 @@ +pip_test: + - src_wire: CLBLM_R_X11Y93/CLBLM_L_D3 + dst_wire: SLICE_X15Y93.SLICEL/D3 +bel_pin_test: + - bel: SLICE_X15Y93.SLICEL/D6LUT + pin: A3 + wire: SLICE_X15Y93.SLICEL/D3 |