mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-26 20:22:44 +00:00
Fix reference copy.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user