aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-20 18:09:22 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-20 18:09:22 +0200
commitfd8239e170a7391d9c25d8681083507d9960abef (patch)
treea051a9eef682ab922c474850d235f301c2c708fd /ice40/arch.h
parentf6fa0300ae95a0896a12b9acf0c7e76851c13d37 (diff)
downloadnextpnr-fd8239e170a7391d9c25d8681083507d9960abef.tar.gz
nextpnr-fd8239e170a7391d9c25d8681083507d9960abef.tar.bz2
nextpnr-fd8239e170a7391d9c25d8681083507d9960abef.zip
Add Location APIs to generic arch
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index f86428a9..beba2ccf 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -450,7 +450,7 @@ struct Arch : BaseCtx
return loc;
}
- BelId getBelByLocation(int x, int y, int z) const;
+ BelId getBelByLocation(Loc loc) const;
BelRange getBelsByTile(int x, int y) const;
bool getBelGlobalBuf(BelId bel) const