ecp5: Fix double-counting of FFs in report
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
c278a29a38
commit
2635bab2f1
@ -85,7 +85,7 @@ class Ecp5Packer
|
|||||||
used_ramwluts += 2;
|
used_ramwluts += 2;
|
||||||
}
|
}
|
||||||
if (is_ff(ctx, ci))
|
if (is_ff(ctx, ci))
|
||||||
used_ffs += 2;
|
++used_ffs;
|
||||||
}
|
}
|
||||||
log_info("Logic utilisation before packing:\n");
|
log_info("Logic utilisation before packing:\n");
|
||||||
auto pc = [](int used, int total) { return 100 * used / total; };
|
auto pc = [](int used, int total) { return 100 * used / total; };
|
||||||
|
Loading…
Reference in New Issue
Block a user