mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
phy/s7ddrphy: add assert to make sure cmd/dat phases are not identical
This commit is contained in:
parent
f560b9c182
commit
f0f067fe7d
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ def get_sys_phases(nphases, sys_latency, cas_latency, write=False):
|
|||
diff_phase = dat_phase - cmd_phase
|
||||
else:
|
||||
diff_phase = cmd_phase - dat_phase
|
||||
assert cmd_phase != dat_phase
|
||||
return cmd_phase, dat_phase
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue