aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/chipdb.h
diff options
context:
space:
mode:
authorMaciej Dudek <mdudek@antmicro.com>2021-09-27 16:16:33 +0200
committerMaciej Dudek <mdudek@antmicro.com>2021-09-27 16:16:33 +0200
commitea489f6d934ac6e649bcd81e10856e809f6b30d2 (patch)
tree54c7619fc75d7e2100b970112d1aa78f75451867 /fpga_interchange/chipdb.h
parent439ae9609b8245e56cda9c8f38f8d6a4bde90d5b (diff)
downloadnextpnr-ea489f6d934ac6e649bcd81e10856e809f6b30d2.tar.gz
nextpnr-ea489f6d934ac6e649bcd81e10856e809f6b30d2.tar.bz2
nextpnr-ea489f6d934ac6e649bcd81e10856e809f6b30d2.zip
Fix small isses and code formatting
Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
Diffstat (limited to 'fpga_interchange/chipdb.h')
-rw-r--r--fpga_interchange/chipdb.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/fpga_interchange/chipdb.h b/fpga_interchange/chipdb.h
index 4e09f704..7ef0914d 100644
--- a/fpga_interchange/chipdb.h
+++ b/fpga_interchange/chipdb.h
@@ -423,39 +423,35 @@ NPNR_PACKED_STRUCT(struct ChainablePortPOD {
int16_t avg_y_offset;
});
-NPNR_PACKED_STRUCT(struct ClusterRequiredCellPOD{
+NPNR_PACKED_STRUCT(struct ClusterRequiredCellPOD {
uint32_t name;
uint32_t count;
});
-NPNR_PACKED_STRUCT(struct ClusterUsedPortPOD{
- uint32_t name;
-});
+NPNR_PACKED_STRUCT(struct ClusterUsedPortPOD { uint32_t name; });
-NPNR_PACKED_STRUCT(struct ClusterEdgePOD{
+NPNR_PACKED_STRUCT(struct ClusterEdgePOD {
uint32_t dir;
uint32_t cell_pin;
uint32_t other_cell_pin;
uint32_t other_cell_type;
});
-NPNR_PACKED_STRUCT(struct ClusterConnectionsPOD{
+NPNR_PACKED_STRUCT(struct ClusterConnectionsPOD {
uint32_t target_idx;
RelSlice<ClusterEdgePOD> edges;
});
-NPNR_PACKED_STRUCT(struct ClusterConnectionGraphPOD{
+NPNR_PACKED_STRUCT(struct ClusterConnectionGraphPOD {
uint32_t idx;
uint32_t cell_type;
RelSlice<ClusterConnectionsPOD> connections;
RelSlice<ClusterUsedPortPOD> used_ports;
});
-NPNR_PACKED_STRUCT(struct ClusterPhysicalPlacementEntryPOD{
- RelSlice<uint32_t> bels;
-});
+NPNR_PACKED_STRUCT(struct ClusterPhysicalPlacementEntryPOD { RelSlice<uint32_t> bels; });
-NPNR_PACKED_STRUCT(struct ClusterPhysicalPlacementsPOD{
+NPNR_PACKED_STRUCT(struct ClusterPhysicalPlacementsPOD {
uint32_t site_type;
RelSlice<ClusterPhysicalPlacementEntryPOD> places;
});