aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/cells.cc
diff options
context:
space:
mode:
Diffstat (limited to 'machxo2/cells.cc')
-rw-r--r--machxo2/cells.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/machxo2/cells.cc b/machxo2/cells.cc
index 5dea36e2..03ba0a41 100644
--- a/machxo2/cells.cc
+++ b/machxo2/cells.cc
@@ -165,8 +165,9 @@ void dff_to_lc(Context *ctx, CellInfo *dff, CellInfo *lc, bool pass_thru_lut)
// If a register's DI port is fed by a constant, options for placing are
// limited. Use the LUT to get around this.
- if(pass_thru_lut) {
- lc->params[ctx->id("LUT0_INITVAL")] = Property(0xAAAA, 16);;
+ if (pass_thru_lut) {
+ lc->params[ctx->id("LUT0_INITVAL")] = Property(0xAAAA, 16);
+ ;
replace_port(dff, ctx->id("DI"), lc, ctx->id("A0"));
connect_ports(ctx, lc, ctx->id("F0"), lc, ctx->id("DI0"));
} else {