aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:44:55 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:44:55 -0700
commit0a14e20f7332344d4c2f73c7ede54ef0258997f7 (patch)
tree37250740746ae2a6f19fff60891ba42846569f85 /common/nextpnr.h
parent45304d049f1c939ca3ac9782a1108f17e784a1cd (diff)
parent65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (diff)
downloadnextpnr-0a14e20f7332344d4c2f73c7ede54ef0258997f7.tar.gz
nextpnr-0a14e20f7332344d4c2f73c7ede54ef0258997f7.tar.bz2
nextpnr-0a14e20f7332344d4c2f73c7ede54ef0258997f7.zip
Merge branch 'master' into slack_histogram
Conflicts: common/placer1.cc
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