We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8657ee9 commit a6b6effCopy full SHA for a6b6eff
place_and_route/private/benchmark.bzl
@@ -94,7 +94,8 @@ def benchmark(ctx, open_road_info):
94
struct(
95
area = struct(
96
cell_area_um2 = "${area:=0}",
97
- cell_utilization_fraction = "$(printf %.0f $(bc<<<$util/100.0))",
+ # Use bc -l to set scale, otherwise XX/100 will evaluate to zero.
98
+ cell_utilization_fraction = "$(printf %.3f $(bc -l<<<$util/100.0))",
99
area_sequentials_um2 = "${seq_area:=0}",
100
area_combinationals_um2 = "${combos_area:=0}",
101
area_buffers_um2 = "${buffs_area:=0}",
0 commit comments