phy/model: update DFITimingsChecker to new SDRAMModule timings format
This commit is contained in:
parent
436bfc4fbd
commit
12d66c119d
|
@ -212,10 +212,10 @@ class DFITimingsChecker(Module):
|
||||||
|
|
||||||
if val is None:
|
if val is None:
|
||||||
val = 0
|
val = 0
|
||||||
elif key in CK_NS:
|
elif key == "tCK":
|
||||||
val = self.ck_ns_to_ps(val, tck)
|
|
||||||
else:
|
|
||||||
val = self.ns_to_ps(val)
|
val = self.ns_to_ps(val)
|
||||||
|
else:
|
||||||
|
val = self.ck_ns_to_ps(val, tck)
|
||||||
|
|
||||||
new_timings[key] = val
|
new_timings[key] = val
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue