aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/arch_place.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-18 14:06:37 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-18 14:06:37 +0200
commit8ee149f4fcb66cb61aa729263448c0935fb4d2ad (patch)
tree545282eae56973d52a88600d1cf82196970ecad7 /dummy/arch_place.h
parentad18cdb08787c4ecc88edaec353a96f59135c62d (diff)
downloadnextpnr-8ee149f4fcb66cb61aa729263448c0935fb4d2ad.tar.gz
nextpnr-8ee149f4fcb66cb61aa729263448c0935fb4d2ad.tar.bz2
nextpnr-8ee149f4fcb66cb61aa729263448c0935fb4d2ad.zip
Rename Design to Context, derive from Arch instead of instantiating
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'dummy/arch_place.h')
-rw-r--r--dummy/arch_place.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dummy/arch_place.h b/dummy/arch_place.h
index 1e14ec68..3abd80c5 100644
--- a/dummy/arch_place.h
+++ b/dummy/arch_place.h
@@ -29,10 +29,10 @@ NEXTPNR_NAMESPACE_BEGIN
// Whether or not a given cell can be placed at a given Bel
// This is not intended for Bel type checks, but finer-grained constraints
// such as conflicting set/reset signals, etc
-bool isValidBelForCell(Design *design, CellInfo *cell, BelId bel);
+bool isValidBelForCell(Context *ctx, CellInfo *cell, BelId bel);
// Return true whether all Bels at a given location are valid
-bool isBelLocationValid(Design *design, BelId bel);
+bool isBelLocationValid(Context *ctx, BelId bel);
NEXTPNR_NAMESPACE_END