From 5aff7bbbc4033dca12066c99f770829e58e28f19 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 2 Dec 2018 15:32:29 -0800 Subject: [PATCH] Fix INIT of pass-thru LUT to be "2" not "1" --- xc7/cells.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xc7/cells.cc b/xc7/cells.cc index 5d9df55a..297c45f1 100644 --- a/xc7/cells.cc +++ b/xc7/cells.cc @@ -319,7 +319,7 @@ void dff_to_lc(const Context *ctx, CellInfo *dff, CellInfo *lc, bool pass_thru_l NPNR_ASSERT(citer == config.end()); if (pass_thru_lut) { - lc->params[ctx->id("INIT")] = "1"; + lc->params[ctx->id("INIT")] = "2"; replace_port(dff, ctx->id("D"), lc, id_I1); }