aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ecp5/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/pack.cc b/ecp5/pack.cc
index 02ce5aa1..f65e992e 100644
--- a/ecp5/pack.cc
+++ b/ecp5/pack.cc
@@ -85,7 +85,7 @@ class Ecp5Packer
used_ramwluts += 2;
}
if (is_ff(ctx, ci))
- used_ffs += 2;
+ ++used_ffs;
}
log_info("Logic utilisation before packing:\n");
auto pc = [](int used, int total) { return 100 * used / total; };