aboutsummaryrefslogtreecommitdiffstats
path: root/generic/flow/bel-pin/post_route.py
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-15 16:19:17 +0000
committerGitHub <noreply@github.com>2021-02-15 16:19:17 +0000
commitf16089b33b980703db5e11e80368b2248919652b (patch)
treeb3702e08795c33d1711d6fdcdd930a9530d0baf8 /generic/flow/bel-pin/post_route.py
parent31648368460b9e216479ce7c38e6fed883c380c4 (diff)
parent7673d60124707346de001367afcbab6be466f405 (diff)
downloadnextpnr-tests-f16089b33b980703db5e11e80368b2248919652b.tar.gz
nextpnr-tests-f16089b33b980703db5e11e80368b2248919652b.tar.bz2
nextpnr-tests-f16089b33b980703db5e11e80368b2248919652b.zip
Merge pull request #4 from YosysHQ/gatecat/generic-belpin
generic: Add test of bel pin mapping
Diffstat (limited to 'generic/flow/bel-pin/post_route.py')
-rw-r--r--generic/flow/bel-pin/post_route.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/flow/bel-pin/post_route.py b/generic/flow/bel-pin/post_route.py
new file mode 100644
index 0000000..9243c1b
--- /dev/null
+++ b/generic/flow/bel-pin/post_route.py
@@ -0,0 +1,2 @@
+assert "BEL_A0" in ctx.nets["q"].wires
+assert "BEL_A1" in ctx.nets["q"].wires