aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-06 14:02:37 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-11 10:41:36 +0200
commit83303bae5aec42ef411478dc2841b28aeecfd5e0 (patch)
tree3ffd8600738a30821cf75f6421aed85d56e59ad4 /ecp5/archdefs.h
parent074df03c593f03ba93ac19804c551e22a404d8d6 (diff)
downloadnextpnr-83303bae5aec42ef411478dc2841b28aeecfd5e0.tar.gz
nextpnr-83303bae5aec42ef411478dc2841b28aeecfd5e0.tar.bz2
nextpnr-83303bae5aec42ef411478dc2841b28aeecfd5e0.zip
ecp5: Implementing (at least stubs) most of arch.cc
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index f913e445..b05ac22c 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -74,7 +74,7 @@ struct Location
bool operator!=(const Location &other) const { return x != other.x || y == other.y; }
};
-Location operator+(const Location &a, const Location &b) { return Location(a.x + b.x, a.y + b.y); }
+inline Location operator+(const Location &a, const Location &b) { return Location(a.x + b.x, a.y + b.y); }
struct BelId
{