diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-01-28 19:24:00 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-02 07:34:56 -0800 |
commit | 0338368afa369d097dfb35e0705fef10baa3d20e (patch) | |
tree | 961e59d870aa6df324ef723c72dd008390588f16 /common | |
parent | d03d9d839b7e49a4bf3428e949bda85574adf403 (diff) | |
download | nextpnr-0338368afa369d097dfb35e0705fef10baa3d20e.tar.gz nextpnr-0338368afa369d097dfb35e0705fef10baa3d20e.tar.bz2 nextpnr-0338368afa369d097dfb35e0705fef10baa3d20e.zip |
Add Partition APIs to ice40, nexus, gowin archs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/fast_bels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/fast_bels.h b/common/fast_bels.h index 54ac97d9..bc8e39bf 100644 --- a/common/fast_bels.h +++ b/common/fast_bels.h @@ -30,7 +30,7 @@ NEXTPNR_NAMESPACE_BEGIN struct FastBels { struct TypeData { size_t type_index; - size_t number_of_possible_bels; + int number_of_possible_bels; }; FastBels(Context *ctx, int minBelsForGridPick) : ctx(ctx), minBelsForGridPick(minBelsForGridPick) {} @@ -133,7 +133,7 @@ struct FastBels { typedef std::vector<std::vector<std::vector<BelId>>> FastBelsData; - size_t getBelsForCellType(IdString cell_type, FastBelsData **data) { + int getBelsForCellType(IdString cell_type, FastBelsData **data) { auto iter = cell_types.find(cell_type); if(iter == cell_types.end()) { addCellType(cell_type); |