aboutsummaryrefslogtreecommitdiffstats
path: root/generic/examples/simple_config.py
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-04-17 11:00:23 +0100
committerDavid Shah <dave@ds0.me>2019-04-17 11:00:23 +0100
commit48c4c1ed0561e643a591ed7fca21c69954abd8d2 (patch)
treee5a91b0f2f5b090a0109a278343c54e34b5dada0 /generic/examples/simple_config.py
parent90ceb829f347372975310d40d2bb6bade0352890 (diff)
downloadnextpnr-48c4c1ed0561e643a591ed7fca21c69954abd8d2.tar.gz
nextpnr-48c4c1ed0561e643a591ed7fca21c69954abd8d2.tar.bz2
nextpnr-48c4c1ed0561e643a591ed7fca21c69954abd8d2.zip
generic/examples: Add FASM writer Python script
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'generic/examples/simple_config.py')
-rw-r--r--generic/examples/simple_config.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/generic/examples/simple_config.py b/generic/examples/simple_config.py
new file mode 100644
index 00000000..dfb38f1c
--- /dev/null
+++ b/generic/examples/simple_config.py
@@ -0,0 +1,15 @@
+# Grid size including IOBs at edges
+X = 12
+Y = 12
+# SLICEs per tile
+N = 8
+# LUT input count
+K = 4
+# Number of local wires
+Wl = N*(K+1) + 8
+# 1/Fc for bel input wire pips
+Si = 4
+# 1/Fc for Q to local wire pips
+Sq = 4
+# ~1/Fc local to neighbour local wire pips
+Sl = 8 \ No newline at end of file