aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-18 16:57:09 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-23 14:09:27 -0800
commit3ccb164f2aa23a03f1910f891da93f74a6d04a1b (patch)
tree06d883c3c65ea7c5e9a632c7cf71dc43c6cd2105 /fpga_interchange/arch.h
parent15459cae91276f956d2a4734f42162d6afaf1128 (diff)
downloadnextpnr-3ccb164f2aa23a03f1910f891da93f74a6d04a1b.tar.gz
nextpnr-3ccb164f2aa23a03f1910f891da93f74a6d04a1b.tar.bz2
nextpnr-3ccb164f2aa23a03f1910f891da93f74a6d04a1b.zip
Run "make clangformat".
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 0248bf24..76ad7e00 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -217,11 +217,11 @@ NPNR_PACKED_STRUCT(struct ConstantsPOD {
int32_t gnd_bel_tile;
int32_t gnd_bel_index;
- int32_t gnd_bel_pin; // constid
+ int32_t gnd_bel_pin; // constid
int32_t vcc_bel_tile;
int32_t vcc_bel_index;
- int32_t vcc_bel_pin; // constid
+ int32_t vcc_bel_pin; // constid
// Name to use for the global GND constant net
int32_t gnd_net_name; // constid
@@ -898,7 +898,8 @@ struct Arch : ArchAPI<ArchRanges>
return tile_status.sites.at(bel_data.site);
}
- BelId get_vcc_bel() const {
+ BelId get_vcc_bel() const
+ {
auto &constants = chip_info->constants;
BelId bel;
bel.tile = constants->vcc_bel_tile;
@@ -906,7 +907,8 @@ struct Arch : ArchAPI<ArchRanges>
return bel;
}
- BelId get_gnd_bel() const {
+ BelId get_gnd_bel() const
+ {
auto &constants = chip_info->constants;
BelId bel;
bel.tile = constants->gnd_bel_tile;
@@ -1689,7 +1691,7 @@ struct Arch : ArchAPI<ArchRanges>
// static partitions.
bool is_bel_synthetic(BelId bel) const
{
- const BelInfoPOD & bel_data = bel_info(chip_info, bel);
+ const BelInfoPOD &bel_data = bel_info(chip_info, bel);
return bel_data.synthetic != 0;
}
@@ -1701,7 +1703,7 @@ struct Arch : ArchAPI<ArchRanges>
bool is_pip_synthetic(PipId pip) const
{
auto &pip_data = pip_info(chip_info, pip);
- if(pip_data.site == -1) {
+ if (pip_data.site == -1) {
return pip_data.extra_data == -1;
} else {
BelId bel;