aboutsummaryrefslogtreecommitdiffstats
path: root/python/python_mod_test.py
blob: e7a8de94f5cff944b93d75458a15b71d60797707 (plain)
1
2
3
4
5
6
7
# Run: PYTHONPATH=. python3 python/python_mod_test.py
from nextpnrpy_ice40 import Chip, ChipArgs, iCE40Type
args = ChipArgs()
args.type = iCE40Type.HX1K
chip = Chip(args)
for wire in chip.getWires():
    print(chip.getWireName(wire))