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