External Memory Interfaces (EMIF) IP User Guide: Agilex™ 3 FPGAs and SoCs
A.1.13.1. Restrictions on I/O Bank Usage for Agilex™ 3 EMIF IP with HPS
The following restrictions apply to the I/O bank usage:
- If only one IO96 bank is to be used by HPS-EMIF, it must be the one adjacent to the HPS MPFE. (Bank 3A.)
- Pins that are not used by the HPS-EMIF directly are available for I/O sharing with other protocols, such as GPIO, MIPI, LVDS, or PHYLite, with certain HPS bridge restrictions which are described in the following tables.
- HPS-EMIF and AVSTx16 configuration mode cannot be used simultaneously, because both use bank 3A.
- Reference clock sharing is allowed between HPS-EMIF IP and other IPs in certain cases.
- For multi-channel EMIFs or when multiple EMIFs are used inside HPS-EMIF IP, they must have identical IP parameters.
HPS EMIF Mapping (Both bridges are used)
When using both the F2H bridge and the F2SDRAM bridge, no I/O sharing is allowed. That is, the HPS can access DDR and fabric can access DDR via the F2H and/or F2SDRAM bridge, but no GPIO, etc is allowed.
| Protocol | Banks | Data Width | BL7 | BL6 | BL5 | BL4 | BL3 | BL2 | BL1 | BL0 |
|---|---|---|---|---|---|---|---|---|---|---|
| LPDDR4 | 1 | 1x16 | X | X | X | X | AC1 | AC0 | DQ[1] | DQ[0] |
| 1 | 1x32 | DQ[3] | DQ[2] | X | X | AC1 | AC0 | DQ[1] | DQ[0] | |
| 1 | 2x16 | DQ[1] | DQ[0] | AC1 | AC0 | AC1 | AC0 | DQ[1] | DQ[0] | |
|
||||||||||
HPS EMIF Mapping (Using only the F2SDRAM bridge)
The following table shows the I/O sharing that is allowed when using the F2SDRAM bridge and not using the F2H bridge. The HPS can access DDR and fabric can access DDR via the F2SDRAM bridge only.
| Protocol | Banks | Data Width | BL7 | BL6 | BL5 | BL4 | BL3 | BL2 | BL1 | BL0 |
|---|---|---|---|---|---|---|---|---|---|---|
| LPDDR4 | 1 | 1x16 | GM | GM | RZ | GM | AC1 | AC0 | DQ[1] | DQ[0] |
| 1 | 1x32 | DQ[3] | DQ[2] | RZ | GM | AC1 | AC0 | DQ[1] | DQ[0] | |
| 1 | 2x16 | DQ[1] | DQ[0] | AC1 | AC0 | AC1 | AC0 | DQ[1] | DQ[0] | |
|
||||||||||
HPS EMIF Mapping (Using only the F2H bridge)
The following table shows the I/O sharing permitted when using the F2H bridge and not using the F2SDRAM bridge. The HPS can access DDR and fabric can access DDR via the F2H bridge only.
| Protocol | Banks | Data Width | BL7 | BL6 | BL5 | BL4 | BL3 | BL2 | BL1 | BL0 |
|---|---|---|---|---|---|---|---|---|---|---|
| LPDDR4 | 1 | 1x16 | X | X | X | X | AC1 | AC0 | DQ[1] | DQ[0] |
| 1 | 1x32 | DQ[3] | DQ[2] | X | X | AC1 | AC0 | DQ[1] | DQ[0] | |
| 1 | 2x16 | DQ[1] | DQ[0] | AC1 | AC0 | AC1 | AC0 | DQ[1] | DQ[0] | |
|
||||||||||
HPS EMIF Mapping (No bridges are used)
The following table shows the I/O sharing permitted when using neither the F2H bridge nor the FS2DRAM bridge. The HPS can access DDR, but the fabric cannot.
| Protocol | Banks | Data Width | BL7 | BL6 | BL5 | BL4 | BL3 | BL2 | BL1 | BL0 |
|---|---|---|---|---|---|---|---|---|---|---|
| LPDDR4 | 1 | 1x16 | GM | GM | RZ | GM | AC1 | AC0 | DQ[1] | DQ[0] |
| 1 | 1x32 | DQ[3] | DQ[2] | RZ | GM | AC1 | AC0 | DQ[1] | DQ[0] | |
| 1 | 2x16 | DQ[1] | DQ[0] | AC1 | AC0 | AC1 | AC0 | DQ[1] | DQ[0] | |
|
||||||||||
I/O Sharing versus HPS EMIF DDR Protocol versus Bridge Allowed
The following table summarizes the information from the previous tables, showing which bridge can be used with which I/O sharing and DDR protocol combinations.
| I/O Sharing | Protocol | Banks | Data Width | Bridge Allowed |
|---|---|---|---|---|
| MIPI or PHYLite | LPDDR4 | 1 | 1x16 | F2SDRAM |
| 1 | 1x32 | F2SDRAM | ||
| LVDS | LPDDR4 | 1 | 1x16 | F2SDRAM |
| 1 | 1x32 | F2SDRAM | ||
| GPIO | LPDDR4 | 1 | 1x16 | F2SDRAM |
| 1 | 1x32 | F2SDRAM |