Merge pull request #20 from bunnie/400mhz-pr

add 400MHz tap setting (valid for -3 and -2/2E speed grades)
This commit is contained in:
enjoy-digital 2018-08-09 08:20:29 +02:00 committed by GitHub
commit 74c3c092ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -76,7 +76,9 @@ class S7DDRPHY(Module, AutoCSR):
iodelay_tap_average = { iodelay_tap_average = {
200e6: 78e-12, 200e6: 78e-12,
300e6: 52e-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])) half_sys8x_taps = math.floor(tck/(4*iodelay_tap_average[iodelay_clk_freq]))
self._half_sys8x_taps = CSRStorage(4, reset=half_sys8x_taps) self._half_sys8x_taps = CSRStorage(4, reset=half_sys8x_taps)