ecp5: Add DCU availability check
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
02736d0680
commit
01e0da16f0
@ -101,6 +101,8 @@ bool Arch::isValidBelForCell(CellInfo *cell, BelId bel) const
|
|||||||
|
|
||||||
bel_cells.push_back(cell);
|
bel_cells.push_back(cell);
|
||||||
return slicesCompatible(bel_cells);
|
return slicesCompatible(bel_cells);
|
||||||
|
} else if (cell->type == id_DCUA || cell->type == id_EXTREFB || cell->type == id_PCSCLKDIV) {
|
||||||
|
return args.type != ArchArgs::LFE5U_25F && args.type != ArchArgs::LFE5U_45F && args.type != ArchArgs::LFE5U_85F;
|
||||||
} else {
|
} else {
|
||||||
// other checks
|
// other checks
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user