<Melkhior>
_florent_: in the DDR3 gist you posted, the code assumes you already know the timings needed if I understand correctly ? bitslip and delay are hard-coded
<_florent_>
Melkhior: yes exactly, I was using fixed bitslip/delays (the one knowing to work with the BIOS)
<_florent_>
we have enough margin to have something usable
<Melkhior>
_florent_: would that work per-design ? I.e. if you calibrate on a specific board, would that still work on a different board of the same make and model ?
<_florent_>
and that's also used by some vendors
<_florent_>
Melkhior: the variation between boards should be negligeable vs the margin we have, so once calibrated on a board, it should work on other similar boards (On Digilent Arty it was the case)
<Melkhior>
OK thanks
<Melkhior>
Just writing values if Forth should be much easier than trying to implement all the testing loops...
<Melkhior>
Although nothing is going to use the SDRAM before the OS has booted on the host anyway :-)
<Melkhior>
Swapping to the FPGA DDR3 controller by litedram with a custom DMA talking to LiteDRAM{Reader,Writer} is a lot faster than swapping to a micro-sd card on a SCSI2SD V6 behing the ESP SCSI controller!
<Melkhior>
Glad I switched from my home-grown VHDL to a Litex SoC and Migen :-)
<Melkhior>
thanks again !!!
<_florent_>
Melkhior: I think I had also had a simple python script to do the DDR3 calibration and find the bitslip/delays over UARTBone, I'll try to find it