Sign in
foss-fpga-tools
/
third_party
/
nextpnr
/
f0abbc71b56a54e1de0a5e775f77a1d14dfea681
/
.
/
ice40
/
examples
/
floorplan
/
floorplan.py
blob: 85c53ccd835a148f4460850d39d20c766ccae4f6 [
file
]
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"
)