From fc7490370b3f81c4b0285fee545142aeb106979b Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 18 Jun 2018 11:43:59 +0200 Subject: Improving code style and fixing dummy Signed-off-by: David Shah --- dummy/arch_place.cc | 5 +++++ dummy/arch_place.h | 3 +++ 2 files changed, 8 insertions(+) (limited to 'dummy') diff --git a/dummy/arch_place.cc b/dummy/arch_place.cc index 15f813ae..07ff53ae 100644 --- a/dummy/arch_place.cc +++ b/dummy/arch_place.cc @@ -26,4 +26,9 @@ bool isValidBelForCell(Design *design, CellInfo *cell, BelId bel) return true; } +bool isBelLocationValid(Design *design, BelId bel) +{ + return true; +} + NEXTPNR_NAMESPACE_END diff --git a/dummy/arch_place.h b/dummy/arch_place.h index 66789b7d..1e14ec68 100644 --- a/dummy/arch_place.h +++ b/dummy/arch_place.h @@ -31,6 +31,9 @@ NEXTPNR_NAMESPACE_BEGIN // such as conflicting set/reset signals, etc bool isValidBelForCell(Design *design, CellInfo *cell, BelId bel); +// Return true whether all Bels at a given location are valid +bool isBelLocationValid(Design *design, BelId bel); + NEXTPNR_NAMESPACE_END #endif -- cgit v1.2.3