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:
6
python/python_test.py
Normal file
6
python/python_test.py
Normal 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))
|
||||
Reference in New Issue
Block a user