Sign in
foss-fpga-tools
/
third_party
/
nextpnr
/
8f86ccc412e9e094f785d60269bd3d9c3fa8809a
/
.
/
ice40
/
examples
/
floorplan
/
floorplan.py
blob: 85c53ccd835a148f4460850d39d20c766ccae4f6 [
file
] [
log
] [
blame
]
ctx
.
createRectangularRegion
(
"osc"
,
1
,
1
,
1
,
4
)
for
cell
,
cellinfo
in
ctx
.
cells
:
if
"ringosc"
in
cellinfo
.
attrs
:
print
(
"Floorplanned cell %s"
%
cell
)
ctx
.
constrainCellToRegion
(
cell
,
"osc"
)