Fix reference copy.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
3ccb164f2a
commit
46b38f8a40
@ -900,19 +900,19 @@ struct Arch : ArchAPI<ArchRanges>
|
|||||||
|
|
||||||
BelId get_vcc_bel() const
|
BelId get_vcc_bel() const
|
||||||
{
|
{
|
||||||
auto &constants = chip_info->constants;
|
auto &constants = *chip_info->constants;
|
||||||
BelId bel;
|
BelId bel;
|
||||||
bel.tile = constants->vcc_bel_tile;
|
bel.tile = constants.vcc_bel_tile;
|
||||||
bel.index = constants->vcc_bel_index;
|
bel.index = constants.vcc_bel_index;
|
||||||
return bel;
|
return bel;
|
||||||
}
|
}
|
||||||
|
|
||||||
BelId get_gnd_bel() const
|
BelId get_gnd_bel() const
|
||||||
{
|
{
|
||||||
auto &constants = chip_info->constants;
|
auto &constants = *chip_info->constants;
|
||||||
BelId bel;
|
BelId bel;
|
||||||
bel.tile = constants->gnd_bel_tile;
|
bel.tile = constants.gnd_bel_tile;
|
||||||
bel.index = constants->gnd_bel_index;
|
bel.index = constants.gnd_bel_index;
|
||||||
return bel;
|
return bel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user