aboutsummaryrefslogtreecommitdiffstats
path: root/dummy
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-18 11:43:59 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-18 11:43:59 +0200
commitfc7490370b3f81c4b0285fee545142aeb106979b (patch)
treeeb371031babdaefb30f5149da889bf0695d92ca4 /dummy
parentb728cb71d11c557da25e438d27c58d62c86b5a3d (diff)
downloadnextpnr-fc7490370b3f81c4b0285fee545142aeb106979b.tar.gz
nextpnr-fc7490370b3f81c4b0285fee545142aeb106979b.tar.bz2
nextpnr-fc7490370b3f81c4b0285fee545142aeb106979b.zip
Improving code style and fixing dummy
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'dummy')
-rw-r--r--dummy/arch_place.cc5
-rw-r--r--dummy/arch_place.h3
2 files changed, 8 insertions, 0 deletions
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