clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
0dafcc44ff
commit
a933f82845
@ -624,7 +624,8 @@ struct Arch : BaseArch<ArchRanges>
|
|||||||
|
|
||||||
uint32_t getWireChecksum(WireId wire) const override { return wire.index; }
|
uint32_t getWireChecksum(WireId wire) const override { return wire.index; }
|
||||||
|
|
||||||
uint32_t get_wire_vecidx(const WireId & e) const {
|
uint32_t get_wire_vecidx(const WireId &e) const
|
||||||
|
{
|
||||||
uint32_t tile = e.location.y * chip_info->width + e.location.x;
|
uint32_t tile = e.location.y * chip_info->width + e.location.x;
|
||||||
int32_t base = wire_tile_vecidx.at(tile);
|
int32_t base = wire_tile_vecidx.at(tile);
|
||||||
NPNR_ASSERT(base != -1);
|
NPNR_ASSERT(base != -1);
|
||||||
@ -702,7 +703,8 @@ struct Arch : BaseArch<ArchRanges>
|
|||||||
|
|
||||||
uint32_t getPipChecksum(PipId pip) const override { return pip.index; }
|
uint32_t getPipChecksum(PipId pip) const override { return pip.index; }
|
||||||
|
|
||||||
uint32_t get_pip_vecidx(const PipId & e) const {
|
uint32_t get_pip_vecidx(const PipId &e) const
|
||||||
|
{
|
||||||
uint32_t tile = e.location.y * chip_info->width + e.location.x;
|
uint32_t tile = e.location.y * chip_info->width + e.location.x;
|
||||||
int32_t base = pip_tile_vecidx.at(tile);
|
int32_t base = pip_tile_vecidx.at(tile);
|
||||||
NPNR_ASSERT(base != -1);
|
NPNR_ASSERT(base != -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user