Fix Python metrics in Trace Analyzer

This commit is contained in:
2025-10-10 15:21:41 +02:00
parent 8dc902cd39
commit 29dc3b1539
4 changed files with 10 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ def maximum_data_rate(connection):
# Backwards compatibility for traces where clkMHz was not yet replaced with tCK
clk = None
try:
clk = 1000000 / memspec.getIntValue("memtimingspec", "tCK")
clk = 1000000 / memspec.jsonMemSpec['memspec']['memtimingspec']['tCK']
except:
clk = memspec.getIntValue("memtimingspec", "clkMhz")