From 3ccb164f2aa23a03f1910f891da93f74a6d04a1b Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Thu, 18 Feb 2021 16:57:09 -0800 Subject: Run "make clangformat". Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fpga_interchange/arch.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'fpga_interchange/arch.h') 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 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 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 // 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 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; -- cgit v1.2.3