diff options
author | gatecat <gatecat@ds0.me> | 2022-03-16 15:44:45 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-03-16 15:44:45 +0000 |
commit | 2635bab2f1b1a32b2505e0918caa2a91c18ce571 (patch) | |
tree | 2f50efc5c383d99551217db848350a62e921c7a7 /ecp5 | |
parent | c278a29a383a0f1c754676e80848678474c62105 (diff) | |
download | nextpnr-2635bab2f1b1a32b2505e0918caa2a91c18ce571.tar.gz nextpnr-2635bab2f1b1a32b2505e0918caa2a91c18ce571.tar.bz2 nextpnr-2635bab2f1b1a32b2505e0918caa2a91c18ce571.zip |
ecp5: Fix double-counting of FFs in report
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/pack.cc | 2 |
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; }; |