diff options
author | David Shah <davey1576@gmail.com> | 2018-06-02 13:33:45 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-02 13:48:28 +0200 |
commit | 363ddd0f3c6e1e2f9e5caf2851ffcacf32765437 (patch) | |
tree | cdba5841cdcbfe126dfd088b8bf6906d33fd4282 /python | |
parent | d3f74eb0567b557f261018131a04ab5eed3ddb7e (diff) | |
download | nextpnr-363ddd0f3c6e1e2f9e5caf2851ffcacf32765437.tar.gz nextpnr-363ddd0f3c6e1e2f9e5caf2851ffcacf32765437.tar.bz2 nextpnr-363ddd0f3c6e1e2f9e5caf2851ffcacf32765437.zip |
Python bindings working on both architectures
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'python')
-rw-r--r-- | python/python_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
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)) |