From f26acabb11508a6f8fc2bdce8e7ca9f58769f07f Mon Sep 17 00:00:00 2001 From: Filippo Date: Mon, 19 Aug 2024 11:34:21 -0400 Subject: [PATCH] Fix correct column value in Total On-Chip Power analysis --- scripts/synth/extract_usage_and_timings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/synth/extract_usage_and_timings.py b/scripts/synth/extract_usage_and_timings.py index ae439da..fae8ce6 100644 --- a/scripts/synth/extract_usage_and_timings.py +++ b/scripts/synth/extract_usage_and_timings.py @@ -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