Customizing the PCIe SGDMA
The core has parameters so you can customize its function. You set the parameters in the General and BAR Space Configuration tabs of the core's IP Configuration window.
|
Parameter
|
Options
|
Description |
|---|---|---|
| AXI Data Width | 256 | AXI data width on the user side |
| SGDMA User Interface | AXI4-MM, AXI4-Stream | SGDMA user interface option: Default: AXI4-MM |
| APB3 Slave Interface | Enable, Disable | APB3 slave interface: Default: Enable |
| APB3 Master Interface | Enable, Disable | APB3 master interface: Default: Enable |
| SGDMA Bypass Interface | Enable, Disable | BYPASS interface: Default: Enable |
| Number of User IRQs | 1–16 | Number of user interrupt requests:
Default: 4
|
| MSI-X Vector Count | 1–32 | Enable vector, maximum number of 32. Typically, Linux uses only one vector for
MSI. This option can be disabled with >(CTH_CH_NUM + HTC_CH_NUM + USR_INT_NUM).
Default: 32 |
| Number of CTH Channels | 1–4 | Number of SGDMA write channels Default: 1 |
| Number of HTC Channels | 1–4 | Number of SGDMA Read channels Default: 1 |
| Parameter | Options | Description |
|---|---|---|
| BAR0 Space Base Address | 64'h0–64'hFFFFFFFFFFFFFFFF | BAR0 space base address, used by the host driver to configure SGDMA registers;
corresponds to the AXI inbound BAR0 register configuration. Default:
64'h0 |
| BAR0 Space Size | 128 B, 256 B, 512 B, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB, 8 MB, 16 MB, 32 MB, 64 MB, 128 MB, 256 MB, 512 MB, 1 GB, 2 GB, 4 GB, 8 GB, 16 GB, 32 GB, 64 GB, 128 GB, 256 GB | BAR0 space size corresponds to the hard IP BAR0 space configuration. Default:
512 KB |
| BAR4 Space Base Address | 64'h0–64'hFFFFFFFFFFFFFFFF | BAR4 space base address, used by the host driver via the SGDMA APB master
interface to configure user logic; corresponds to the AXI inbound BAR4 register
configuration. Default: 64'ha0000 |
| BAR4 Space Size | 128 B, 256 B, 512 B, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB, 8 MB, 16 MB, 32 MB, 64 MB, 128 MB, 256 MB, 512 MB, 1 GB, 2 GB, 4 GB, 8 GB, 16 GB, 32 GB, 64 GB, 128 GB, 256 GB | BAR4 space size corresponds to the hard IP BAR4 space configuration. Default:
4 KB |
| BAR2 Space Base Address | 64'h0–64'hFFFFFFFFFFFFFFFF | BAR2 space base address, used as the AXI address space for SGDMA bypass
(bypassing the SGDMA engine for traffic); corresponds to the AXI inbound BAR2 register
configuration. Default: 64'h90000 |
| BAR2 Space Size | 128 B, 256 B, 512 B, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB, 8 MB, 16 MB, 32 MB, 64 MB, 128 MB, 256 MB, 512 MB, 1 GB, 2 GB, 4 GB, 8 GB, 16 GB, 32 GB, 64 GB, 128 GB, 256 GB | BAR2 space size corresponds to the hard IP BAR2 space configuration. Default:
4 KB |