====== Memory components ======
The MSE-Embedded platform contains two SDRAM and one parallel flash memory as indicated in the below figure.
{{ :mse-em-board:mse-em-board_memory.jpg?direct&400 |}}
===== SDRAM information =====
The MSE-Embedded board contains two 16MByte mobile low-power SDR SDRAM. The datasheets can be found {{:mse-em-board:128mb_sdram.pdf| here}}.
These SDRAM can be used with the external SDRAM memory controller of QSYS. The below tables indicate the FPGA-pins to which the SDRAM is connected. And {{:mse-em-board:sdram.tcl|here}} you find an example tcl script that can be used for pin-assignment in Quartus.
**SDRAM U3**
Address bus:
Address bit: |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FPGA-pin: |
PIN_AB4 |
PIN_AA5 |
PIN_U7 |
PIN_Y7 |
PIN_Y10 |
PIN_AA4 |
PIN_W8 |
PIN_W10 |
PIN_Y8 |
PIN_Y6 |
PIN_W6 |
PIN_Y3 |
PIN_Y4 |
Data bus:
Data bit: |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FPGA-pin: |
PIN_AB10 |
PIN_AB9 |
PIN_AA10 |
PIN_AB8 |
PIN_AA9 |
PIN_AB7 |
PIN_AA8 |
PIN_AA7 |
PIN_T11 |
PIN_U9 |
PIN_T10 |
PIN_V8 |
PIN_T9 |
PIN_U8 |
PIN_T8 |
PIN_V7 |
Control signals:
Function: | short: | FPGA-pin: |
Bank Select high | BA[1] | PIN_U11 |
Bank Select low | BA[0] | PIN_V11 |
Byte Select high | DQM[1] | PIN_AB5 |
Byte Select low | DQM[0] | PIN_V9 |
Clock enable | CKE | PIN_W7 |
Clock | CLK | PIN_AA3 |
Colum address select (active low) | nCAS | PIN_V10 |
Row address select (active low) | nRAS | PIN_U10 |
Chip select (active low) | nCS | PIN_V6 |
Write enable (active low) | nWE | PIN_V5 |
**SDRAM U4**
Address bus:
Address bit: |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FPGA-pin: |
PIN_AB15 |
PIN_AA16 |
PIN_V12 |
PIN_Y17 |
PIN_AB14 |
PIN_AA15 |
PIN_AA13 |
PIN_AA14 |
PIN_AB13 |
PIN_W15 |
PIN_W14 |
PIN_W13 |
PIN_Y13 |
Data bus:
Data bit: |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FPGA-pin: |
PIN_AB20 |
PIN_AB19 |
PIN_AA20 |
PIN_AB18 |
PIN_AA19 |
PIN_AB17 |
PIN_AA18 |
PIN_AA17 |
PIN_R15 |
PIN_V14 |
PIN_T14 |
PIN_U14 |
PIN_R14 |
PIN_V13 |
PIN_T13 |
PIN_U13 |
Control signals:
Function: | short: | FPGA-pin: |
Bank Select high | BA[1] | PIN_V16 |
Bank Select low | BA[0] | PIN_U17 |
Byte Select high | DQM[1] | PIN_AB16 |
Byte Select low | DQM[0] | PIN_U15 |
Clock enable | CKE | PIN_W17 |
Clock | CLK | PIN_T16 |
Colum address select (active low) | nCAS | PIN_U16 |
Row address select (active low) | nRAS | PIN_V15 |
Chip select (active low) | nCS | PIN_U12 |
Write enable (active low) | nWE | PIN_T15 |
===== Flash information =====
The MSE-Embedded board contains besides the FPGA-configuration FLASH also a 32MByte parallel FLASH memory. The datasheets of this component is available {{:mse-em-board:parallel_flash_p30-65nm_256mb.pdf|here}}.
{{:mse-em-board:flash_loader_an478.pdf|This application note}} explains the use of the FPGA-based parallel flash loader (PFL) in programming a parallel flash device before configuring an FPGA through the active parallel (AP) configuration scheme.
The below tables indicate the FPGA-pins to which the FLASH is connected. And {{:mse-em-board:flash.tcl|here}} you find an example tcl script that can be used for pin-assignment in Quartus.
**Flash**
Address bus:
Address bit: |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
FPGA-pin: |
PIN_G18 |
PIN_B22 |
PIN_B21 |
PIN_C20 |
PIN_A6 |
PIN_A7 |
PIN_B9 |
PIN_A9 |
Address bit: |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
FPGA-pin: |
PIN_B10 |
PIN_F11 |
PIN_E11 |
PIN_B13 |
PIN_A13 |
PIN_B14 |
PIN_A14 |
PIN_D13 |
Address bit: |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FPGA-pin: |
PIN_C13 |
PIN_B15 |
PIN_A15 |
PIN_F13 |
PIN_E14 |
PIN_B17 |
PIN_A17 |
PIN_B18 |
Data bus:
Data bit: |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FPGA-pin: |
PIN_B6 |
PIN_C8 |
PIN_C7 |
PIN_C4 |
PIN_B3 |
PIN_A3 |
PIN_F8 |
PIN_B4 |
PIN_C6 |
PIN_F10 |
PIN_A5 |
PIN_B7 |
PIN_B8 |
PIN_A8 |
PIN_D1 |
PIN_K1 |
Control signals:
Function: | short: | FPGA-pin: |
Address valid | nADV | PIN_F20 |
Chip enable | nCE | PIN_E2 |
Clock | DCLK | PIN_K2 |
Output enable | nOE | PIN_E21 |
Reset | nRESET | PIN_E4 |
Write enable | nWE | PIN_E22 |
Param Die | ParamDie | PIN_E9 |
Wait: indicates data valid | WAIT | PIN_E7 |