Name Date Size #Lines LOC

..--

NetworkInterface.cHD06-Mar-202414.5 KiB424255

README.txtHD06-Mar-20241.6 KiB4327

uncached_memory.cHD06-Mar-20245 KiB16778

uncached_memory.hHD06-Mar-2024548 235

x_emacpsif.hHD06-Mar-20244.6 KiB15081

x_emacpsif_dma.cHD06-Mar-202422.3 KiB668415

x_emacpsif_hw.cHD06-Mar-20247.2 KiB259177

x_emacpsif_hw.hHD06-Mar-20241.2 KiB4012

x_emacpsif_physpeed.cHD06-Mar-202424.4 KiB666508

x_topology.hHD06-Mar-20241.6 KiB5125

README.txt

1
2
3NetworkInterface for Xilinx' Zynq
4
5Please include the following source files:
6
7	$(PLUS_TCP_PATH)/portable/NetworkInterface/Zynq/NetworkInterface.c
8	$(PLUS_TCP_PATH)/portable/NetworkInterface/Zynq/uncached_memory.c
9	$(PLUS_TCP_PATH)/portable/NetworkInterface/Zynq/x_emacpsif_dma.c
10	$(PLUS_TCP_PATH)/portable/NetworkInterface/Zynq/x_emacpsif_physpeed.c
11	$(PLUS_TCP_PATH)/portable/NetworkInterface/Zynq/x_emacpsif_hw.c
12
13The file uncached_memory.c can also be found in:
14
15	vendors\xilinx\boards\microzed\aws_demos\application_code\xilinx_code
16	vendors\xilinx\boards\microzed\aws_tests\application_code\xilinx_code
17
18And include the following source files from the Xilinx library:
19
20	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps.c
21	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps_control.c
22	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps_g.c
23	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps_intr.c
24
25	E.g. ps7_cortexa9_0/libsrc/emacps_v2_0/src/xemacps_intr.c
26
27The following source files are NOT used for the FreeRTOS+TCP interface:
28
29	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps_bdring.c
30	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps_hw.c
31	$(CPU_PATH)/$(PROCESSOR)/libsrc/emacps_v2_0/src/xemacps_sinit.c
32
33It is recommended to have these defined :
34
35#define ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM    1
36#define ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM    1
37#define ipconfigUSE_LINKED_RX_MESSAGES            1
38
39It is obligatory to define:
40
41#define ipconfigZERO_COPY_RX_DRIVER               1
42#define ipconfigZERO_COPY_TX_DRIVER               1
43