1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-01-26 04:02:25 +00:00

Python bindings working on both architectures

Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
David Shah
2018-06-02 13:33:45 +02:00
parent d3f74eb056
commit 363ddd0f3c
5 changed files with 90 additions and 78 deletions

6
python/python_test.py Normal file
View File

@@ -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))