diff options
Diffstat (limited to 'fpga_interchange')
| -rw-r--r-- | fpga_interchange/arch.h | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h index 76ad7e00..a5352b60 100644 --- a/fpga_interchange/arch.h +++ b/fpga_interchange/arch.h @@ -900,19 +900,19 @@ struct Arch : ArchAPI<ArchRanges>      BelId get_vcc_bel() const      { -        auto &constants = chip_info->constants; +        auto &constants = *chip_info->constants;          BelId bel; -        bel.tile = constants->vcc_bel_tile; -        bel.index = constants->vcc_bel_index; +        bel.tile = constants.vcc_bel_tile; +        bel.index = constants.vcc_bel_index;          return bel;      }      BelId get_gnd_bel() const      { -        auto &constants = chip_info->constants; +        auto &constants = *chip_info->constants;          BelId bel; -        bel.tile = constants->gnd_bel_tile; -        bel.index = constants->gnd_bel_index; +        bel.tile = constants.gnd_bel_tile; +        bel.index = constants.gnd_bel_index;          return bel;      } | 
