aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/ram/basys3.pcf
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-22 17:59:20 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-25 17:14:53 -0700
commit22fb2c1548d8451e2247a160e71ca1667022204a (patch)
treedf9db1d9d5b5ffc9ae933f1359f9806daa6a72f6 /fpga_interchange/examples/tests/ram/basys3.pcf
parent7b1df27c1a75c64e14e50d5f435287ca184425ab (diff)
downloadnextpnr-22fb2c1548d8451e2247a160e71ca1667022204a.tar.gz
nextpnr-22fb2c1548d8451e2247a160e71ca1667022204a.tar.bz2
nextpnr-22fb2c1548d8451e2247a160e71ca1667022204a.zip
Enable counter tests and add RAM tests.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/examples/tests/ram/basys3.pcf')
-rw-r--r--fpga_interchange/examples/tests/ram/basys3.pcf41
1 files changed, 41 insertions, 0 deletions
diff --git a/fpga_interchange/examples/tests/ram/basys3.pcf b/fpga_interchange/examples/tests/ram/basys3.pcf
new file mode 100644
index 00000000..cb4191cc
--- /dev/null
+++ b/fpga_interchange/examples/tests/ram/basys3.pcf
@@ -0,0 +1,41 @@
+# basys3 100 MHz CLK
+set_io clk W5
+
+set_io tx A18
+set_io rx B18
+#
+# in[0:15] correspond with SW0-SW15 on the basys3
+set_io sw[0] V17
+set_io sw[1] V16
+set_io sw[2] W16
+set_io sw[3] W17
+set_io sw[4] W15
+set_io sw[5] V15
+set_io sw[6] W14
+set_io sw[7] W13
+set_io sw[8] V2
+set_io sw[9] T3
+set_io sw[10] T2
+set_io sw[11] R3
+set_io sw[12] W2
+set_io sw[13] U1
+set_io sw[14] T1
+set_io sw[15] R2
+
+# out[0:15] correspond with LD0-LD15 on the basys3
+set_io led[0] U16
+set_io led[1] E19
+set_io led[2] U19
+set_io led[3] V19
+set_io led[4] W18
+set_io led[5] U15
+set_io led[6] U14
+set_io led[7] V14
+set_io led[8] V13
+set_io led[9] V3
+set_io led[10] W3
+set_io led[11] U3
+set_io led[12] P3
+set_io led[13] N3
+set_io led[14] P1
+set_io led[15] L1