Skip to content

Commit

Permalink
firmware: make read leveling robust for KUS SDRAM
Browse files Browse the repository at this point in the history
Increases the initial delay step into the valid read window as
with the original delay I was not getting out of the noisy
transition window, as evidenced by seeing read delay windows
of only 8 LSB ~10% of the time, leading to failing memory
tests
  • Loading branch information
cjbe authored and sbourdeauducq committed Jan 12, 2018
1 parent 5a79c9b commit 7429ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/firmware/libboard/sdram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ mod ddr {

// Get a bit further into the working zone
#[cfg(kusddrphy)]
for _ in 0..8 {
for _ in 0..16 {
delay.set(delay.get() + 1);
ddrphy::rdly_dq_inc_write(1);
}
Expand Down

0 comments on commit 7429ee4

Please sign in to comment.