{"id":78865,"date":"2026-02-28T13:33:21","date_gmt":"2026-02-28T05:33:21","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/78865.html"},"modified":"2026-02-28T13:33:21","modified_gmt":"2026-02-28T05:33:21","slug":"%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e7%94%a8vitis%e5%9c%a8mpsoc%e4%b8%8a%e6%90%ad%e5%bb%ba%e8%bd%bb%e9%87%8f%e7%ba%a7tcp-ip%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e5%9f%ba%e4%ba%8elwip-2-1-2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/78865.html","title":{"rendered":"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09"},"content":{"rendered":"<h2>\u57fa\u4e8eVitis\u4e0elwIP\u7684MPSoC\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\u5b9e\u6218\u6307\u5357<\/h2>\n<p>\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u7f51\u7edc\u529f\u80fd\u5df2\u6210\u4e3a\u73b0\u4ee3\u667a\u80fd\u8bbe\u5907\u7684\u6807\u914d\u9700\u6c42\u3002Xilinx MPSoC\u7cfb\u5217\u51ed\u501f\u5176\u5f02\u6784\u8ba1\u7b97\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u5916\u8bbe\u8d44\u6e90&#xff0c;\u4e3a\u5d4c\u5165\u5f0f\u7f51\u7edc\u5e94\u7528\u63d0\u4f9b\u4e86\u7406\u60f3\u7684\u786c\u4ef6\u5e73\u53f0\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528Vitis\u5f00\u53d1\u73af\u5883\u548clwIP\u534f\u8bae\u6808&#xff0c;\u5728\u8d44\u6e90\u53d7\u9650\u7684MPSoC\u4e0a\u6784\u5efa\u9ad8\u6027\u80fdTCP\/IP\u670d\u52a1\u5668\u3002<\/p>\n<h3>1. \u73af\u5883\u642d\u5efa\u4e0e\u786c\u4ef6\u914d\u7f6e<\/h3>\n<h4>1.1 \u5f00\u53d1\u5de5\u5177\u94fe\u51c6\u5907<\/h4>\n<p>\u6784\u5efaMPSoC\u7f51\u7edc\u5e94\u7528\u9700\u8981\u5b8c\u6574\u7684\u5de5\u5177\u94fe\u652f\u6301&#xff1a;<\/p>\n<ul>\n<li>Vivado 2021.1\u6216\u66f4\u9ad8\u7248\u672c&#xff1a;\u7528\u4e8e\u786c\u4ef6\u7cfb\u7edf\u8bbe\u8ba1\u4e0eIP\u6838\u914d\u7f6e<\/li>\n<li>Vitis\u7edf\u4e00\u5f00\u53d1\u5e73\u53f0&#xff1a;\u63d0\u4f9b\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u5f00\u53d1\u73af\u5883<\/li>\n<li>PetaLinux\u5de5\u5177&#xff08;\u53ef\u9009&#xff09;&#xff1a;\u7528\u4e8eLinux\u7cfb\u7edf\u5f00\u53d1<\/li>\n<li>JTAG\u8c03\u8bd5\u5668&#xff1a;\u5982Xilinx Platform Cable USB II<\/li>\n<\/ul>\n<p>\u5b89\u88c5\u65f6\u9700\u7279\u522b\u6ce8\u610f\u7ec4\u4ef6\u7248\u672c\u517c\u5bb9\u6027&#xff0c;\u63a8\u8350\u4f7f\u7528Xilinx\u5b98\u65b9\u63d0\u4f9b\u7684\u7edf\u4e00\u5b89\u88c5\u5305\u3002\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u793a\u4f8b&#xff1a;<\/p>\n<p># \u8bbe\u7f6e\u5de5\u5177\u94fe\u8def\u5f84<br \/>\nexport VIVADO_PATH&#061;\/opt\/Xilinx\/Vivado\/2021.1<br \/>\nexport VITIS_PATH&#061;\/opt\/Xilinx\/Vitis\/2021.1<br \/>\nsource $VIVADO_PATH\/settings64.sh<br \/>\nsource $VITIS_PATH\/settings64.sh<\/p>\n<h4>1.2 MPSoC\u786c\u4ef6\u5e73\u53f0\u914d\u7f6e<\/h4>\n<p>\u4ee5Zynq UltraScale&#043; MPSoC\u4e3a\u4f8b&#xff0c;\u5173\u952e\u786c\u4ef6\u63a5\u53e3\u914d\u7f6e\u5982\u4e0b\u8868\u6240\u793a&#xff1a;<\/p>\n<table>\n<tr>\u529f\u80fd\u6a21\u5757\u914d\u7f6e\u53c2\u6570MIO\u5f15\u811a\u5206\u914d<\/tr>\n<tbody>\n<tr>\n<td>\u5343\u5146\u4ee5\u592a\u7f51GEM3<\/td>\n<td>RGMII\u63a5\u53e3&#xff0c;1000Mbps\u5168\u53cc\u5de5<\/td>\n<td>MIO64-MIO75<\/td>\n<\/tr>\n<tr>\n<td>MDIO\u7ba1\u7406\u63a5\u53e3<\/td>\n<td>2.5MHz\u65f6\u949f&#xff0c;PHY\u5bc4\u5b58\u5668\u8bbf\u95ee<\/td>\n<td>MIO76-MIO77<\/td>\n<\/tr>\n<tr>\n<td>UART\u63a7\u5236\u5668<\/td>\n<td>\u7528\u4e8e\u8c03\u8bd5\u8f93\u51fa&#xff0c;\u6ce2\u7279\u7387115200<\/td>\n<td>MIO42-MIO43<\/td>\n<\/tr>\n<tr>\n<td>DDR4\u5b58\u50a8\u5668<\/td>\n<td>4GB\u5bb9\u91cf&#xff0c;\u65f6\u949f\u9891\u73871066MHz<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5728Vivado\u4e2d\u521b\u5efaBlock Design\u65f6&#xff0c;\u9700\u7279\u522b\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9&#xff1a;<\/p>\n<li>\u5728PS-PL\u914d\u7f6e\u4e2d\u542f\u7528GEM3\u63a7\u5236\u5668<\/li>\n<li>\u6b63\u786e\u8bbe\u7f6eRGMII\u63a5\u53e3\u7684I\/O\u7535\u5e73\u6807\u51c6&#xff08;\u901a\u5e38\u4e3a1.8V LVCMOS&#xff09;<\/li>\n<li>\u914d\u7f6eDDR\u63a7\u5236\u5668\u53c2\u6570\u5339\u914d\u5b9e\u9645\u786c\u4ef6<\/li>\n<p>\u63d0\u793a&#xff1a;\u4f7f\u7528Xilinx\u63d0\u4f9b\u7684\u9884\u5b9a\u4e49\u677f\u7ea7\u914d\u7f6e\u6587\u4ef6\u53ef\u4ee5\u5927\u5e45\u51cf\u5c11\u786c\u4ef6\u914d\u7f6e\u65f6\u95f4&#xff0c;\u8fd9\u4e9b\u6587\u4ef6\u901a\u5e38\u4f4d\u4e8e\/opt\/Xilinx\/Vivado\/2021.1\/data\/boards\/board_files\/\u76ee\u5f55\u4e0b\u3002<\/p>\n<h3>2. lwIP\u534f\u8bae\u6808\u6df1\u5ea6\u89e3\u6790<\/h3>\n<h4>2.1 lwIP\u67b6\u6784\u4e0e\u7279\u6027<\/h4>\n<p>lwIP\u4f5c\u4e3a\u8f7b\u91cf\u7ea7TCP\/IP\u534f\u8bae\u6808&#xff0c;\u5176\u6838\u5fc3\u6a21\u5757\u7ec4\u6210\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>\u7f51\u7edc\u63a5\u53e3\u5c42&#xff1a;\u5b9e\u73b0\u4e0e\u786c\u4ef6\u9a71\u52a8\u5bf9\u63a5\u7684netif\u7ed3\u6784<\/li>\n<li>IP\u5c42&#xff1a;\u652f\u6301IPv4\/IPv6\u53cc\u534f\u8bae\u6808<\/li>\n<li>\u4f20\u8f93\u5c42&#xff1a;\u63d0\u4f9bTCP\/UDP\u534f\u8bae\u5b9e\u73b0<\/li>\n<li>\u5e94\u7528\u5c42&#xff1a;\u5305\u542bHTTP\u3001MQTT\u7b49\u5e38\u7528\u534f\u8bae<\/li>\n<\/ul>\n<p>lwIP 2.1.2\u7248\u672c\u7684\u4e3b\u8981\u6027\u80fd\u6307\u6807&#xff1a;<\/p>\n<table>\n<tr>\u7279\u6027\u8d44\u6e90\u5360\u7528\u6027\u80fd\u53c2\u6570<\/tr>\n<tbody>\n<tr>\n<td>\u5185\u5b58\u9700\u6c42<\/td>\n<td>20KB RAM<\/td>\n<td>50KB ROM<\/td>\n<\/tr>\n<tr>\n<td>TCP\u541e\u5410\u91cf<\/td>\n<td>&#8211;<\/td>\n<td>50Mbps&#064;100MHz<\/td>\n<\/tr>\n<tr>\n<td>\u5e76\u53d1\u8fde\u63a5\u6570<\/td>\n<td>\u6700\u5927\u652f\u630120\u4e2a<\/td>\n<td>\u6bcf\u4e2a\u8fde\u63a5\u7ea6\u97002KB\u5185\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5305\u5904\u7406\u5ef6\u8fdf<\/td>\n<td>&lt;100\u03bcs<\/td>\n<td>\u96f6\u62f7\u8d1d\u652f\u6301<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2.2 RAW API\u7f16\u7a0b\u6a21\u5f0f<\/h4>\n<p>\u5728Standalone&#xff08;\u65e0OS&#xff09;\u73af\u5883\u4e0b\u5fc5\u987b\u4f7f\u7528RAW API&#xff0c;\u5176\u5de5\u4f5c\u6d41\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<li>\u5e94\u7528\u7a0b\u5e8f\u6ce8\u518c\u56de\u8c03\u51fd\u6570\u5230\u534f\u8bae\u6808<\/li>\n<li>\u7f51\u7edc\u4e8b\u4ef6\u89e6\u53d1\u65f6\u76f4\u63a5\u8c03\u7528\u56de\u8c03\u51fd\u6570<\/li>\n<li>\u5728\u56de\u8c03\u4e0a\u4e0b\u6587\u4e2d\u5904\u7406\u6570\u636e\u5305<\/li>\n<p>\u5178\u578bTCP\u670d\u52a1\u5668\u521d\u59cb\u5316\u4ee3\u7801\u793a\u4f8b&#xff1a;<\/p>\n<p>struct tcp_pcb *server_pcb;<\/p>\n<p>void tcp_server_init(void) {<br \/>\n    \/\/ \u521b\u5efaTCP\u63a7\u5236\u5757<br \/>\n    server_pcb &#061; tcp_new();<\/p>\n<p>    \/\/ \u7ed1\u5b9a\u5230\u672c\u5730\u7aef\u53e3<br \/>\n    tcp_bind(server_pcb, IP_ADDR_ANY, 7);<\/p>\n<p>    \/\/ \u8fdb\u5165\u76d1\u542c\u72b6\u6001<br \/>\n    server_pcb &#061; tcp_listen(server_pcb);<\/p>\n<p>    \/\/ \u8bbe\u7f6e\u63a5\u53d7\u8fde\u63a5\u56de\u8c03<br \/>\n    tcp_accept(server_pcb, tcp_server_accept);<br \/>\n}<\/p>\n<p>err_t tcp_server_accept(void *arg, struct tcp_pcb *newpcb, err_t err) {<br \/>\n    \/\/ \u8bbe\u7f6e\u63a5\u6536\u6570\u636e\u56de\u8c03<br \/>\n    tcp_recv(newpcb, tcp_server_recv);<br \/>\n    return ERR_OK;<br \/>\n}<\/p>\n<h3>3. Echo\u670d\u52a1\u5668\u5b9e\u73b0\u8be6\u89e3<\/h3>\n<h4>3.1 \u6570\u636e\u6536\u53d1\u6838\u5fc3\u903b\u8f91<\/h4>\n<p>Echo\u670d\u52a1\u5668\u7684\u6838\u5fc3\u529f\u80fd\u662f\u5b9e\u73b0\u6570\u636e\u7684\u539f\u6837\u56de\u4f20&#xff0c;\u5176\u6570\u636e\u5904\u7406\u6d41\u7a0b\u5305\u62ec&#xff1a;<\/p>\n<li>\u63a5\u6536\u5ba2\u6237\u7aefTCP\u8fde\u63a5<\/li>\n<li>\u83b7\u53d6\u8f93\u5165\u6570\u636e\u5e76\u4fdd\u5b58<\/li>\n<li>\u5c06\u76f8\u540c\u6570\u636e\u5199\u56de\u53d1\u9001\u7f13\u51b2\u533a<\/li>\n<li>\u786e\u8ba4\u6570\u636e\u53d1\u9001\u5b8c\u6210<\/li>\n<p>\u5173\u952e\u5b9e\u73b0\u4ee3\u7801\u7247\u6bb5&#xff1a;<\/p>\n<p>err_t tcp_server_recv(void *arg, struct tcp_pcb *tpcb,<br \/>\n                     struct pbuf *p, err_t err) {<br \/>\n    if (p !&#061; NULL) {<br \/>\n        \/\/ \u83b7\u53d6\u63a5\u6536\u6570\u636e\u957f\u5ea6<br \/>\n        u16_t len &#061; p-&gt;len;<\/p>\n<p>        \/\/ \u56de\u4f20\u6570\u636e<br \/>\n        tcp_write(tpcb, p-&gt;payload, len, TCP_WRITE_FLAG_COPY);<\/p>\n<p>        \/\/ \u786e\u8ba4\u63a5\u6536<br \/>\n        tcp_recved(tpcb, len);<\/p>\n<p>        \/\/ \u91ca\u653epbuf<br \/>\n        pbuf_free(p);<br \/>\n    } else if (err &#061;&#061; ERR_OK) {<br \/>\n        \/\/ \u8fde\u63a5\u5173\u95ed\u5904\u7406<br \/>\n        return tcp_close(tpcb);<br \/>\n    }<br \/>\n    return ERR_OK;<br \/>\n}<\/p>\n<h4>3.2 \u6027\u80fd\u4f18\u5316\u6280\u5de7<\/h4>\n<p>\u4e3a\u63d0\u9ad8\u670d\u52a1\u5668\u54cd\u5e94\u901f\u5ea6&#xff0c;\u53ef\u91c7\u7528\u4ee5\u4e0b\u4f18\u5316\u7b56\u7565&#xff1a;<\/p>\n<ul>\n<li>\u96f6\u62f7\u8d1d\u6280\u672f&#xff1a;\u76f4\u63a5\u5f15\u7528\u63a5\u6536\u7f13\u51b2\u533a\u907f\u514d\u6570\u636e\u590d\u5236<\/li>\n<li>\u6ed1\u52a8\u7a97\u53e3\u8c03\u4f18&#xff1a;\u9002\u5f53\u589e\u5927TCP\u7a97\u53e3\u5927\u5c0f<\/li>\n<li>\u4e2d\u65ad\u805a\u5408&#xff1a;\u914d\u7f6eEMAC\u4e2d\u65ad\u9608\u503c\u51cf\u5c11\u5904\u7406\u9891\u7387<\/li>\n<\/ul>\n<p>\u7f51\u7edc\u53c2\u6570\u4f18\u5316\u914d\u7f6e\u793a\u4f8b&#xff1a;<\/p>\n<p>\/\/ \u8bbe\u7f6eTCP\u7a97\u53e3\u5927\u5c0f<br \/>\n#define TCP_WND (4 * TCP_MSS)<\/p>\n<p>\/\/ \u914d\u7f6elwIP\u5185\u5b58\u6c60<br \/>\nMEM_SIZE&#061;16000<br \/>\nPBUF_POOL_SIZE&#061;16<br \/>\nPBUF_POOL_BUFSIZE&#061;1526<\/p>\n<p>\/\/ \u542f\u7528\u6821\u9a8c\u548c\u5378\u8f7d<br \/>\n#define CHECKSUM_GEN_IP        0<br \/>\n#define CHECKSUM_GEN_UDP       0<br \/>\n#define CHECKSUM_GEN_TCP       0<br \/>\n#define CHECKSUM_CHECK_IP      0<br \/>\n#define CHECKSUM_CHECK_UDP     0<br \/>\n#define CHECKSUM_CHECK_TCP     0<\/p>\n<h3>4. \u8c03\u8bd5\u4e0e\u6027\u80fd\u5206\u6790<\/h3>\n<h4>4.1 \u5e38\u89c1\u95ee\u9898\u6392\u67e5\u6307\u5357<\/h4>\n<p>\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u9047\u5230\u7684\u5178\u578b\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<table>\n<tr>\u95ee\u9898\u73b0\u8c61\u53ef\u80fd\u539f\u56e0\u89e3\u51b3\u65b9\u6cd5<\/tr>\n<tbody>\n<tr>\n<td>PHY\u94fe\u8def\u4e0dUP<\/td>\n<td>\u590d\u4f4d\u7535\u8def\u5f02\u5e38\/MDIO\u914d\u7f6e\u9519\u8bef<\/td>\n<td>\u68c0\u67e5PHY\u590d\u4f4d\u4fe1\u53f7\u548c\u5bc4\u5b58\u5668\u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>DHCP\u83b7\u53d6IP\u5931\u8d25<\/td>\n<td>\u7f51\u7edc\u9694\u79bb\/\u5730\u5740\u6c60\u8017\u5c3d<\/td>\n<td>\u6539\u7528\u9759\u6001IP\u6d4b\u8bd5\u57fa\u672c\u529f\u80fd<\/td>\n<\/tr>\n<tr>\n<td>TCP\u8fde\u63a5\u9891\u7e41\u65ad\u5f00<\/td>\n<td>\u770b\u95e8\u72d7\u8d85\u65f6\/\u5185\u5b58\u6cc4\u6f0f<\/td>\n<td>\u68c0\u67e5\u5b9a\u65f6\u5668\u670d\u52a1\u548c\u5185\u5b58\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>\u541e\u5410\u91cf\u4f4e\u4e8e\u9884\u671f<\/td>\n<td>\u7f13\u51b2\u533a\u4e0d\u8db3\/\u4e2d\u65ad\u5ef6\u8fdf<\/td>\n<td>\u4f18\u5316PBUF\u914d\u7f6e\u548c\u4e2d\u65ad\u5904\u7406\u6d41\u7a0b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>4.2 \u6027\u80fd\u6d4b\u8bd5\u65b9\u6cd5\u8bba<\/h4>\n<p>\u4f7f\u7528iperf\u5de5\u5177\u8fdb\u884c\u7f51\u7edc\u6027\u80fd\u6d4b\u8bd5\u7684\u5178\u578b\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u5728MPSoC\u4e0a\u8fd0\u884clwIP iperf\u670d\u52a1\u5668<\/li>\n<li>\u5728\u4e3b\u673a\u7aef\u6267\u884c\u6d4b\u8bd5\u547d\u4ee4&#xff1a;<\/li>\n<p># TCP\u5e26\u5bbd\u6d4b\u8bd5<br \/>\niperf -c 192.168.1.10 -t 30 -i 5<\/p>\n<p># UDP\u5ef6\u8fdf\u6d4b\u8bd5<br \/>\niperf -c 192.168.1.10 -u -b 100M -t 20<\/p>\n<li>\u5206\u6790\u6d4b\u8bd5\u7ed3\u679c\u7684\u5173\u952e\u6307\u6807&#xff1a;<\/li>\n<ul>\n<li>\u5e26\u5bbd&#xff1a;\u53cd\u6620\u6700\u5927\u6570\u636e\u4f20\u8f93\u901f\u7387<\/li>\n<li>\u6296\u52a8&#xff1a;\u663e\u793a\u7f51\u7edc\u5ef6\u8fdf\u53d8\u5316<\/li>\n<li>\u4e22\u5305\u7387&#xff1a;\u8bc4\u4f30\u4f20\u8f93\u53ef\u9760\u6027<\/li>\n<\/ul>\n<p>\u5728\u5b9e\u9645\u9879\u76ee\u4e2d&#xff0c;\u6211\u4eec\u901a\u8fc7\u4f18\u5316\u4e2d\u65ad\u5904\u7406\u4f8b\u7a0b\u548c\u8c03\u6574TCP\u7a97\u53e3\u53c2\u6570&#xff0c;\u6210\u529f\u5c06Zynq MPSoC\u7684TCP\u541e\u5410\u91cf\u4ece\u6700\u521d\u768435Mbps\u63d0\u5347\u5230\u7a33\u5b9a\u8fd0\u884c\u768492Mbps&#xff0c;\u63a5\u8fd1\u5343\u5146\u4ee5\u592a\u7f51\u7684\u7406\u8bba\u6781\u9650\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8eVitis\u4e0elwIP\u7684MPSoC\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\u5b9e\u6218\u6307\u5357<br \/>\n\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u7f51\u7edc\u529f\u80fd\u5df2\u6210\u4e3a\u73b0\u4ee3\u667a\u80fd\u8bbe\u5907\u7684\u6807\u914d\u9700\u6c42\u3002Xilinx MPSoC\u7cfb\u5217\u51ed\u501f\u5176\u5f02\u6784\u8ba1\u7b97\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u5916\u8bbe\u8d44\u6e90&#xff0c;\u4e3a\u5d4c\u5165\u5f0f\u7f51\u7edc\u5e94\u7528\u63d0\u4f9b\u4e86\u7406\u60f3\u7684\u786c\u4ef6\u5e73\u53f0\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528Vitis\u5f00\u53d1\u73af\u5883\u548clwIP\u534f\u8bae\u6808&#xff0c;\u5728\u8d44\u6e90\u53d7\u9650\u7684MPSoC\u4e0a\u6784\u5efa\u9ad8\u6027\u80fdTCP\/IP\u670d\u52a1\u5668\u3002<br \/>\n1. \u73af\u5883\u642d\u5efa\u4e0e\u786c\u4ef6\u914d\u7f6e<br \/>\n1.1 \u5f00\u53d1\u5de5\u5177\u94fe\u51c6\u5907<br \/>\n\u6784\u5efaMPSoC\u7f51\u7edc\u5e94\u7528\u9700\u8981\u5b8c\u6574\u7684\u5de5\u5177\u94fe\u652f\u6301&amp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8552,8734,8733,1740],"topic":[],"class_list":["post-78865","post","type-post","status-publish","format-standard","hentry","category-server","tag-lwip","tag-mpsoc","tag-vitis","tag-fpga"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/78865.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u57fa\u4e8eVitis\u4e0elwIP\u7684MPSoC\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\u5b9e\u6218\u6307\u5357 \u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u7f51\u7edc\u529f\u80fd\u5df2\u6210\u4e3a\u73b0\u4ee3\u667a\u80fd\u8bbe\u5907\u7684\u6807\u914d\u9700\u6c42\u3002Xilinx MPSoC\u7cfb\u5217\u51ed\u501f\u5176\u5f02\u6784\u8ba1\u7b97\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u5916\u8bbe\u8d44\u6e90&#xff0c;\u4e3a\u5d4c\u5165\u5f0f\u7f51\u7edc\u5e94\u7528\u63d0\u4f9b\u4e86\u7406\u60f3\u7684\u786c\u4ef6\u5e73\u53f0\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528Vitis\u5f00\u53d1\u73af\u5883\u548clwIP\u534f\u8bae\u6808&#xff0c;\u5728\u8d44\u6e90\u53d7\u9650\u7684MPSoC\u4e0a\u6784\u5efa\u9ad8\u6027\u80fdTCP\/IP\u670d\u52a1\u5668\u3002 1. \u73af\u5883\u642d\u5efa\u4e0e\u786c\u4ef6\u914d\u7f6e 1.1 \u5f00\u53d1\u5de5\u5177\u94fe\u51c6\u5907 \u6784\u5efaMPSoC\u7f51\u7edc\u5e94\u7528\u9700\u8981\u5b8c\u6574\u7684\u5de5\u5177\u94fe\u652f\u6301&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/78865.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-28T05:33:21+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78865.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/78865.html\",\"name\":\"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-28T05:33:21+00:00\",\"dateModified\":\"2026-02-28T05:33:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/78865.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/78865.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78865.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/78865.html","og_locale":"zh_CN","og_type":"article","og_title":"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u57fa\u4e8eVitis\u4e0elwIP\u7684MPSoC\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\u5b9e\u6218\u6307\u5357 \u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u7f51\u7edc\u529f\u80fd\u5df2\u6210\u4e3a\u73b0\u4ee3\u667a\u80fd\u8bbe\u5907\u7684\u6807\u914d\u9700\u6c42\u3002Xilinx MPSoC\u7cfb\u5217\u51ed\u501f\u5176\u5f02\u6784\u8ba1\u7b97\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u5916\u8bbe\u8d44\u6e90&#xff0c;\u4e3a\u5d4c\u5165\u5f0f\u7f51\u7edc\u5e94\u7528\u63d0\u4f9b\u4e86\u7406\u60f3\u7684\u786c\u4ef6\u5e73\u53f0\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528Vitis\u5f00\u53d1\u73af\u5883\u548clwIP\u534f\u8bae\u6808&#xff0c;\u5728\u8d44\u6e90\u53d7\u9650\u7684MPSoC\u4e0a\u6784\u5efa\u9ad8\u6027\u80fdTCP\/IP\u670d\u52a1\u5668\u3002 1. \u73af\u5883\u642d\u5efa\u4e0e\u786c\u4ef6\u914d\u7f6e 1.1 \u5f00\u53d1\u5de5\u5177\u94fe\u51c6\u5907 \u6784\u5efaMPSoC\u7f51\u7edc\u5e94\u7528\u9700\u8981\u5b8c\u6574\u7684\u5de5\u5177\u94fe\u652f\u6301&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/78865.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-28T05:33:21+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/78865.html","url":"https:\/\/www.wsisp.com\/helps\/78865.html","name":"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-28T05:33:21+00:00","dateModified":"2026-02-28T05:33:21+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/78865.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/78865.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/78865.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u624b\u628a\u624b\u6559\u4f60\u7528Vitis\u5728MPSoC\u4e0a\u642d\u5efa\u8f7b\u91cf\u7ea7TCP\/IP\u670d\u52a1\u5668\uff08\u57fa\u4e8elwIP 2.1.2\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=78865"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78865\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=78865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=78865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=78865"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=78865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}