aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:43:53 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:43:53 -0700
commitd66edf522348d1475f1b65d79804f37a751274b3 (patch)
tree4b881ed0409bae10ac553dc5fe1771feb228712e /common/nextpnr.h
parent3d5dcda12c80175f5bfb2c2615de9cb5fadacb90 (diff)
parent65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (diff)
downloadnextpnr-d66edf522348d1475f1b65d79804f37a751274b3.tar.gz
nextpnr-d66edf522348d1475f1b65d79804f37a751274b3.tar.bz2
nextpnr-d66edf522348d1475f1b65d79804f37a751274b3.zip
Merge branch 'master' into slack_redist_freq
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 c0d1a918..c87a98d9 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