xmos / lib_sdram

SDRAM library
Other
1 stars 5 forks source link

Latency for read/writes is very long #14

Closed ed-xmos closed 7 years ago

ed-xmos commented 7 years ago

Currently set to 700/800us:

define WRITE_SETUP_LATENCY (80)

define READ_SETUP_LATENCY (70)

These numbers seem conservative as it just needs to hide the time for the function call overhead and ASM preamble before the inner loop. A subjective look suggests that around 40 clocks should be OK, but this is not tested

ed-xmos commented 7 years ago

Addressed by 3.2.0 / https://github.com/xmos/lib_sdram/pull/18