Skip to content

Commit

Permalink
Merge pull request #20 from bunnie/400mhz-pr
Browse files Browse the repository at this point in the history
add 400MHz tap setting (valid for -3 and -2/2E speed grades)
  • Loading branch information
enjoy-digital authored Aug 9, 2018
2 parents e02a251 + 4823058 commit 74c3c09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litedram/phy/s7ddrphy.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def __init__(self, pads, with_odelay, memtype="DDR3", nphases=4, sys_clk_freq=10
iodelay_tap_average = {
200e6: 78e-12,
300e6: 52e-12,
400e6: 39e-12, # Only valid for -3 and -2/2E speed grades
}

half_sys8x_taps = math.floor(tck/(4*iodelay_tap_average[iodelay_clk_freq]))
self._half_sys8x_taps = CSRStorage(4, reset=half_sys8x_taps)

Expand Down

0 comments on commit 74c3c09

Please sign in to comment.