From 2c9d4ba9ae8123e6aea2a690ec03b052ea7a53af Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Sun, 31 Jan 2021 19:05:36 -0500 Subject: machxo2: Fix reversed interpretation of REG_SD config bits. --- machxo2/cells.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/machxo2/cells.cc b/machxo2/cells.cc index 6b6aeda2..dd673c38 100644 --- a/machxo2/cells.cc +++ b/machxo2/cells.cc @@ -157,12 +157,6 @@ void lut_to_lc(const Context *ctx, CellInfo *lut, CellInfo *lc, bool no_dff) void dff_to_lc(const Context *ctx, CellInfo *dff, CellInfo *lc, bool pass_thru_lut) { - // By this point, we have shown that LUT4 Z is attached to FACADE_FF DI. - // This connection will be preserved by port replacement, but the SD mux - // which selects the actual DFF input needs to be told to use the - // FACADE_SLICE DI input instead of the FACADE_SLICE M input. - lc->params[ctx->id("REG0_SD")] = std::string("0"); - // FIXME: This will have to change once we support FFs with reset value of 1. lc->params[ctx->id("REG0_REGSET")] = std::string("RESET"); -- cgit v1.2.3