Skip to content

Commit

Permalink
Fix place_and_route() benchmarking when timing repair inverters are u…
Browse files Browse the repository at this point in the history
…sed. (#351)

Signed-off-by: Mike Inouye <[email protected]>
  • Loading branch information
mikesinouye authored Sep 9, 2024
1 parent 22164ac commit acf12a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion place_and_route/private/benchmark.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def benchmark(ctx, open_road_info):
"combos=$(cat {log} | awk '/combinational cell/ {{ print 0 + $4 }}');",
"flops=$(cat {log} | awk '/Sequential cell/ {{ print 0 + $3 }}');",
"buffs=$(cat {log} | awk '/Buffer/ {{ buffer=$2; exit }} END {{ print 0 + buffers }}');",
"tbuffs=$(cat {log} | awk '/Timing Repair/ {{ print 0 + $4 }}');",
"tbuffs=$(cat {log} | awk '/Timing Repair Buffer/ {{ print 0 + $4 }}');",
"wns=$(cat {log} | awk '/wns/ {{ print $2 }}');",
"tns=$(cat {log} | awk '/tns/ {{ print $2 }}');",
"tot_pow=$(cat {log} | awk '/^Total / {{ total_power=$5 }} END {{ print total_power }}');",
Expand Down

0 comments on commit acf12a9

Please sign in to comment.