aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-03 16:59:45 +0200
committerDavid Shah <davey1576@gmail.com>2018-08-03 16:59:45 +0200
commitdc4ab55b27a2ada341b060bfe12dade99bf94daf (patch)
tree015644f26c5bfbaeade8ffc9197409dd07db52ae /common/nextpnr.h
parentfd2174149c3e4654dbe1571e129fadb312f29c33 (diff)
downloadnextpnr-dc4ab55b27a2ada341b060bfe12dade99bf94daf.tar.gz
nextpnr-dc4ab55b27a2ada341b060bfe12dade99bf94daf.tar.bz2
nextpnr-dc4ab55b27a2ada341b060bfe12dade99bf94daf.zip
Adding constraint satisfaction checks for debugging
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r--common/nextpnr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index f01173e6..f49b982e 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -281,7 +281,7 @@ struct CellInfo : ArchCellInfo
std::unordered_map<IdString, IdString> pins;
// placement constraints
- CellInfo *constr_parent;
+ CellInfo *constr_parent = nullptr;
std::vector<CellInfo *> constr_children;
const int UNCONSTR = INT_MIN;
int constr_x = UNCONSTR; // this.x - parent.x