xmos / lib_sdram

SDRAM library
Other
1 stars 5 forks source link

Bank shift recommendation inconsistent in user guide against reference code #13

Closed ed-xmos closed 7 years ago

ed-xmos commented 7 years ago

In server.xc: #define BANK_SHIFT (13)//FIXME 15 - bank_address_bits In sdram.rst:

Where the Address bus is 12 bits wide and the bank address is 2 bits wide the following setup is in place::

dq_ah[15:0] = DQ[15:0] dq_ah[11:0] = A[11:0] dq_ah[15:14] = BA[1:0]

ed-xmos commented 7 years ago

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