Sign in
foss-fpga-tools
/
third_party
/
nextpnr
/
062091e9e4a15589f7e1d9b2ba50a84c2ff6ec2c
/
.
/
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"
)