Skip to content

Commit

Permalink
Compatibility fix after OpenROAD report_cell_usage change.
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Inouye <[email protected]>
  • Loading branch information
mikesinouye committed Aug 7, 2024
1 parent 14d8a36 commit fb1fa71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions place_and_route/private/benchmark.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ def benchmark(ctx, open_road_info):
("}", "'')"),
("area_micro_meters_squared:", "'/Design area/ {{ print $3 }}')"),
("area_utilization_percentage:", "-F '[ %]' '/Design area/ {{ print $5 }}')"),
("num_combinational_gates:", "'/combinational cells:/ {{ print $4 }}')"),
("num_flops:", "'/Sequential cells:/ {{ print $3 }}')"),
("num_buffers:", "'/Buffer/ {{ buffers=$2; exit }} END {{ print buffers }}')"),
("num_timing_buffers:", "'/Timing Repair/ {{ print $4 }}')"),
("num_combinational_gates:", "'/combinational cell/ {{ print 0 + $4 }}')"),
("num_flops:", "'/Sequential cell/ {{ print 0 + $3 }}')"),
("num_buffers:", "'/Buffer/ {{ buffer=$2; exit }} END {{ print 0 + buffers }}')"),
("num_timing_buffers:", "'/Timing Repair/ {{ print 0 + $4 }}')"),
]
cmds.extend([prefix + cmd + suffix.format(field = field, out = benchmark_path) for field, cmd in awk_cmds])

Expand Down

0 comments on commit fb1fa71

Please sign in to comment.