Skip to content

Commit

Permalink
Fix correct column value in Total On-Chip Power analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
FilippoCarloni committed Aug 19, 2024
1 parent aacac23 commit f26acab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/synth/extract_usage_and_timings.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def synth_res_zynq(build_folder):

with open(power_file, 'r') as file:
file_lines = file.read().split('\n')
total_power = extract_from_table(file_lines, "Total On-Chip Power (W)", 4, 1)
total_power = extract_from_table(file_lines, "Total On-Chip Power (W)", 4, 2)

return CLB_LUTS, CLB_REG, BRAM, total_power, clock_max_frequency

Expand Down

0 comments on commit f26acab

Please sign in to comment.