aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-04 08:32:42 +0200
committerGitHub <noreply@github.com>2018-08-04 08:32:42 +0200
commit65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (patch)
treed54ab5bb7926e7965cf23bb066c126bfeaa39565 /common/nextpnr.h
parentaffc6da1af7afccba1da8cdf3b9e57a01b1fb5e5 (diff)
parent2215ace1dcc9d16f3661c8f95dff56f5f582b6bc (diff)
downloadnextpnr-65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29.tar.gz
nextpnr-65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29.tar.bz2
nextpnr-65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29.zip
Merge pull request #23 from daveshah1/use_placeconstr
Making use of relative constraints
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