diff options
Diffstat (limited to 'cyclonev/arch.cc')
-rw-r--r-- | cyclonev/arch.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cyclonev/arch.cc b/cyclonev/arch.cc index 62acf9e2..8dd21499 100644 --- a/cyclonev/arch.cc +++ b/cyclonev/arch.cc @@ -210,7 +210,8 @@ std::vector<IdString> Arch::getBelPins(BelId bel) const return pins; } -bool Arch::isValidBelForCellType(IdString cell_type, BelId bel) const { +bool Arch::isValidBelForCellType(IdString cell_type, BelId bel) const +{ // Any combinational cell type can - theoretically - be placed at a combinational ALM bel // The precise legality mechanics will be dealt with in isBelLocationValid. IdString bel_type = getBelType(bel); @@ -220,7 +221,8 @@ bool Arch::isValidBelForCellType(IdString cell_type, BelId bel) const { return bel_type == cell_type; } -BelBucketId Arch::getBelBucketForCellType(IdString cell_type) const { +BelBucketId Arch::getBelBucketForCellType(IdString cell_type) const +{ if (is_comb_cell(cell_type)) return id_MISTRAL_COMB; else |