Fix Python metrics in Trace Analyzer
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user