diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/nextpnr.h | 3 | ||||
-rw-r--r-- | common/router1.cc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 021772fe..9ee00a50 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -173,6 +173,9 @@ struct Loc bool operator==(const Loc &other) const { return (x == other.x) && (y == other.y) && (z == other.z); } bool operator!=(const Loc &other) const { return (x != other.x) || (y != other.y) || (z == other.z); } + + Loc(int x, int y, int z) : x(x), y(y), z(z) {} + Loc() {} }; NEXTPNR_NAMESPACE_END diff --git a/common/router1.cc b/common/router1.cc index fbf3c467..21c54e4c 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -210,6 +210,7 @@ struct Router else overtimeRevisitCnt++; } + QueuedWire next_qw; next_qw.wire = next_wire; |