1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-01-26 04:02:25 +00:00
Files
YosysHQ.nextpnr/python/python_mod_test.py
2018-06-08 11:17:04 +02:00

8 lines
234 B
Python

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