From 363ddd0f3c6e1e2f9e5caf2851ffcacf32765437 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 2 Jun 2018 13:33:45 +0200 Subject: Python bindings working on both architectures Signed-off-by: David Shah --- python/python_test.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 python/python_test.py (limited to 'python') diff --git a/python/python_test.py b/python/python_test.py new file mode 100644 index 00000000..1a6ebfc6 --- /dev/null +++ b/python/python_test.py @@ -0,0 +1,6 @@ +from nextpnrpy_ice40 import Chip, ChipArgs, iCE40Type +args = ChipArgs() +args.type = iCE40Type.LP384 +chip = Chip(args) +for wire in chip.getWires(): + print(chip.getWireName(wire)) -- cgit v1.2.3