nextpnr/python/python_test.py
David Shah 363ddd0f3c Python bindings working on both architectures
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-02 13:48:28 +02:00

7 lines
181 B
Python

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