aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/chipdb.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-23 09:41:45 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-23 09:41:45 -0700
commit720f64ea6017fa3e42f80eba64cc615c64788914 (patch)
tree075d573940a92498d1a63aa2a46ca6c100f6a68c /fpga_interchange/chipdb.h
parent831b94cdac7af66e11d0e3d67fa3bbff29678d05 (diff)
downloadnextpnr-720f64ea6017fa3e42f80eba64cc615c64788914.tar.gz
nextpnr-720f64ea6017fa3e42f80eba64cc615c64788914.tar.bz2
nextpnr-720f64ea6017fa3e42f80eba64cc615c64788914.zip
[FPGA interchange] Add support for global buffers from chipdb.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/chipdb.h')
-rw-r--r--fpga_interchange/chipdb.h9
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;