Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract the correct power totals from the logfile. #333

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions place_and_route/private/benchmark.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ def benchmark(ctx, open_road_info):
("worst_slack_max:", "'/wns/ {{ print $2 }}')"),
("total_negative_slack_max:", "'/tns/ {{ print $2 }}')"),
("power_total {", "'')"),
(" internal_package_watts:", "'/Total/ {{ intern_power=$2 }} END {{ print intern_power }}')"),
(" switching_package_watts:", "'/Total/ {{ switch_power=$3 }} END {{ print switch_power }}')"),
(" total_package_watts:", "'/Total/ {{ total_power=$5 }} END {{ print total_power }}')"),
(" internal_package_watts:", "'/^Total / {{ intern_power=$2 }} END {{ print intern_power }}')"),
(" switching_package_watts:", "'/^Total / {{ switch_power=$3 }} END {{ print switch_power }}')"),
(" total_package_watts:", "'/^Total / {{ total_power=$5 }} END {{ print total_power }}')"),
("}", "'')"),
("area_micro_meters_squared:", "'/Design area/ {{ print $3 }}')"),
("area_utilization_percentage:", "-F '[ %]' '/Design area/ {{ print $5 }}')"),
("num_combinational_gates:", "'/Complex combinational cells:/ {{ print $4 }}')"),
("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 }}')"),
Expand Down
Loading