From dc4ab55b27a2ada341b060bfe12dade99bf94daf Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 3 Aug 2018 16:59:45 +0200 Subject: Adding constraint satisfaction checks for debugging Signed-off-by: David Shah --- common/nextpnr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/nextpnr.h') 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 pins; // placement constraints - CellInfo *constr_parent; + CellInfo *constr_parent = nullptr; std::vector constr_children; const int UNCONSTR = INT_MIN; int constr_x = UNCONSTR; // this.x - parent.x -- cgit v1.2.3 From 3d5dcda12c80175f5bfb2c2615de9cb5fadacb90 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Fri, 3 Aug 2018 19:53:32 -0700 Subject: Auto frequency only if --freq 0 is set --- common/nextpnr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/nextpnr.h') diff --git a/common/nextpnr.h b/common/nextpnr.h index f01173e6..c0d1a918 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -472,7 +472,7 @@ struct Context : Arch, DeterministicRNG bool force = false; bool timing_driven = true; float target_freq = 12e6; - bool user_freq = false; + bool auto_freq = false; int slack_redist_iter = 0; Context(ArchArgs args) : Arch(args) {} -- cgit v1.2.3