diff options
author | gatecat <gatecat@ds0.me> | 2021-03-23 17:33:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 17:33:55 +0000 |
commit | 3cc50a5744beeae63ffb9ecd2064666e90d26be4 (patch) | |
tree | c8e66be71668d0baf20f2e92bc1755d8ebbabafa /fpga_interchange/chipdb.h | |
parent | 323da87dec3819a100b7d5d19a1ddd2340f26caa (diff) | |
parent | 720f64ea6017fa3e42f80eba64cc615c64788914 (diff) | |
download | nextpnr-3cc50a5744beeae63ffb9ecd2064666e90d26be4.tar.gz nextpnr-3cc50a5744beeae63ffb9ecd2064666e90d26be4.tar.bz2 nextpnr-3cc50a5744beeae63ffb9ecd2064666e90d26be4.zip |
Merge pull request #644 from litghost/add_global_buffers
[FPGA interchange] Add support for global buffers from chipdb.
Diffstat (limited to 'fpga_interchange/chipdb.h')
-rw-r--r-- | fpga_interchange/chipdb.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fpga_interchange/chipdb.h b/fpga_interchange/chipdb.h index 5c9a9c52..d78e3b61 100644 --- a/fpga_interchange/chipdb.h +++ b/fpga_interchange/chipdb.h @@ -34,7 +34,7 @@ NEXTPNR_NAMESPACE_BEGIN * kExpectedChipInfoVersion */ -static constexpr int32_t kExpectedChipInfoVersion = 4; +static constexpr int32_t kExpectedChipInfoVersion = 5; // Flattened site indexing. // @@ -229,7 +229,12 @@ NPNR_PACKED_STRUCT(struct LutCellPOD { NPNR_PACKED_STRUCT(struct CellMapPOD { // Cell names supported in this arch. - RelSlice<int32_t> cell_names; // constids + RelSlice<int32_t> cell_names; // constids + + // BEL names that are global buffers. + RelSlice<int32_t> global_buffers; // constids + + // Name of BelBuckets. RelSlice<int32_t> cell_bel_buckets; // constids RelSlice<CellBelMapPOD> cell_bel_map; |