ice40: Fix SPRAM and other primitives in corners other than (0, 0)
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
139f7e0903
commit
a09f95bb06
@ -662,7 +662,7 @@ for tile_xy, tile_type in sorted(tiles.items()):
|
||||
add_bel_ec(ec)
|
||||
|
||||
for ec in sorted(extra_cells.keys()):
|
||||
if ec[1] == 0 and ec[2] == 0:
|
||||
if ec[1] in (0, dev_width - 1) and ec[2] in (0, dev_height - 1):
|
||||
add_bel_ec(ec)
|
||||
|
||||
class BinaryBlobAssembler:
|
||||
|
Loading…
Reference in New Issue
Block a user