{"id":58,"date":"2023-08-28T15:19:30","date_gmt":"2023-08-28T07:19:30","guid":{"rendered":"http:\/\/10.18.1.100\/?p=58"},"modified":"2025-08-11T10:33:06","modified_gmt":"2025-08-11T02:33:06","slug":"58","status":"publish","type":"post","link":"https:\/\/www.nanoexpress.com\/?p=58","title":{"rendered":"\u4e0a\u671f\u6240FPGA\u884c\u60c5U50\u7248\u672c\u53d1\u5e03\uff01"},"content":{"rendered":"<p><span style='color:black;font-size:30px;font-family:\u5fae\u8f6f\u96c5\u9ed1;align:center'><strong>HUNDSUN\u00ae<\/strong><\/span><\/p>\n<p><center><span style=\"color:black;font-size:30px;font-family:\u5fae\u8f6f\u96c5\u9ed1;align:center\"><b>FPGA\u884c\u60c5\u4e0a\u671f\u4f7f\u7528\u6307\u5357<\/b><\/span><\/center><\/p>\n<div style=\"page-break-after:always\"><\/div>\n<h1>\u4e00\u3001\u573a\u666f\u4ecb\u7ecd<\/h1>\n<h2>1.1 \u80cc\u666f\u6982\u8ff0<\/h2>\n<blockquote>\n<p>\u200b     \u7531\u4e8eDMA\u901a\u9053\u53ea\u6709\u4e00\u4e2a\uff0c\u8d44\u6e90\u4e0a\u7684\u9650\u5236\uff0c\u5ba2\u6237\u53ea\u80fd\u542f\u52a8\u4e00\u4e2a\u7a0b\u5e8f\u63a5\u6536\u884c\u60c5\u6570\u636e\u3002\u5ba2\u6237\u7b56\u7565\u5b58\u5728\u591a\u4e2a\u7684\u573a\u666f\uff0c\u76ee\u524d\u662f\u8ba2\u9605\u6240\u6709\u7b56\u7565\u5173\u6ce8\u7684\u54c1\u79cd\u548c\u5408\u7ea6\uff0c\u7136\u540e\u5404\u4e2a\u7b56\u7565\u76f8\u4e92\u8fc7\u6ee4\u4e0d\u9700\u8981\u7684\u884c\u60c5\uff0c\u8fd9\u4e2a\u8fc7\u6ee4\u5b58\u5728\u6027\u80fd\u4e0a\u7684\u635f\u8017\u3002FPGA\u884c\u60c5\u4e0a\u671f\u652f\u6301\u591a\u901a\u9053\u9694\u79bb\uff0c\u6ee1\u8db3\u4e0d\u540c\u7b56\u7565\u4f7f\u7528\u4e0d\u540c\u901a\u9053\u8ba2\u9605\u884c\u60c5\uff0c\u6211\u4eec\u652f\u630116\u4e2aDMA\u901a\u9053\uff0c\u591a\u4e2a\u901a\u9053\u4e4b\u95f4\u72ec\u7acb\u8ba2\u9605\u548c\u4f7f\u7528\u884c\u60c5\uff0c\u4e00\u5f20U50\u677f\u5361\u76f8\u5f53\u4e8e\u540c\u65f6\u62e5\u670916\u4e2aFPGA\u3002\u7b56\u7565\u6bd4\u8f83\u591a\u7684\u573a\u666f\uff0c\u53ef\u4ee5\u4e00\u4e2a\u7b56\u7565\u4e00\u4e2a\u7ebf\u7a0b\u4e00\u4e2a\u901a\u9053\uff0c\u53ea\u8ba2\u9605\u5f53\u524d\u7b56\u7565\u5173\u6ce8\u7684\u884c\u60c5\u3002\u5c31\u4e0d\u7528\u5728\u591a\u4e2a\u7b56\u7565\u4f7f\u7528\u884c\u60c5\u4e0a\u53d6\u5e76\u96c6\uff0c\u7136\u540e\u5404\u4e2a\u7b56\u7565\u518d\u53bb\u8fc7\u6ee4\u3002\u591a\u901a\u9053\u53ef\u4ee5\u628a\u8fd9\u4e2a\u8fc7\u6ee4\u653e\u5230FPGA\u5185\u90e8\uff0c\u540c\u65f6\u652f\u6301\u591a\u7ebf\u7a0b\u548c\u591a\u8fdb\u7a0b\u4f7f\u7528\uff0c\u5145\u5206\u5229\u7528\u591a\u6838CPU\u7684\u4f18\u52bf\u3002<\/p>\n<\/blockquote>\n<h2>1.2 \u8bfb\u8005\u5bf9\u8c61<\/h2>\n<ul>\n<li>\u5f00\u53d1\u5de5\u7a0b\u5e08<\/li>\n<li>\u6280\u672f\u652f\u6301\u5de5\u7a0b\u5e08<\/li>\n<li>\u6d4b\u8bd5\u5de5\u7a0b\u5e08<\/li>\n<li>\u7ef4\u62a4\u5de5\u7a0b\u5e08<\/li>\n<\/ul>\n<div style=\"page-break-after:always\"><\/div>\n<h1>\u4e8c\u3001\u6d4b\u8bd5\u73af\u5883<\/h1>\n<h2>2.1 FPGA\u56fa\u4ef6\u673a\u5668<\/h2>\n<blockquote>\n<p>\u200b     FPGA\u56fa\u4ef6\u673a\u5668\uff0c\u5c06\u6700\u65b0\u96c6\u6210\u56fa\u4ef6\u4e0a\u4f20\u5230\u8be5\u673a\u5668\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5237\u56fa\u4ef6\uff0c<code>--file_path<\/code>\u6307\u5b9a\u56fa\u4ef6rbf\u6587\u4ef6\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\u4f7f\u7528\u6848\u4f8b<\/li>\n<\/ul>\n<pre><code class=\"language-shell\">enyx-firmware-manager --board=0 --file_path=shell_top_xilinx_u50_mem_eth_dyn.rbf --force driver<\/code><\/pre>\n<blockquote>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p>\u91cd\u5237\u56fa\u4ef6\u540e\u9700<code>reboot<\/code>\u3002<\/p>\n<\/blockquote>\n<h2>2.2 tcpreplay\u56de\u653e\u673a\u5668<\/h2>\n<blockquote>\n<p>\u200b         tcpreplay\u5411FPGA\u56fa\u4ef6\u673a\u5668\u53d1\u9001\u56de\u653e\u6570\u636e\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\u4f7f\u7528\u6848\u4f8b<\/li>\n<\/ul>\n<pre><code class=\"language-shell\">tcpreplay -i p4p1 --pps=1000 zt_shfe_20230131_am_end.pcap<\/code><\/pre>\n<blockquote>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p><code>-i<\/code>\u6307\u5b9a\u53d1\u9001\u53e3\uff0c\u9700\u8981\u63d0\u524d\u786e\u8ba4\u63a5\u7ebf\u3002<code>--pps<\/code>\u6307\u5b9a\u53d1\u9001\u901f\u5ea6\u3002<\/p>\n<\/blockquote>\n<h1>\u4e09\u3001\u914d\u7f6e\u8bf4\u660e<\/h1>\n<blockquote>\n<p>\u200b     <code>config.ini<\/code>\u914d\u7f6e\u6587\u4ef6\u53c2\u8003\u5185\u5bb9\u5982\u4e0b<\/p>\n<\/blockquote>\n<div style=\"page-break-after:always\"><\/div>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\n# set cpucore=-1 to disable cpu binding\ncpucore=5\nine2ps=disabled\nshfe2ps=enabled\nshfe4ps=disabled\nine4ps=enabled\n\n# SHFE A\/B 2ps\/4ps, change only if SHFE change them.\nshfe2ps_ip_a=239.3.42.71:21000\nshfe2ps_ip_b=239.4.42.72:21000\nshfe4ps_ip_a=239.3.2.3:21101\nshfe4ps_ip_b=239.4.2.4:21101\n\n# INE A\/B 2ps\/4ps, change only if INE change them.\nine2ps_ip_a=239.3.52.71:25000\nine2ps_ip_b=239.4.52.72:25000\nine4ps_ip_a=239.3.151.91:25101\nine4ps_ip_b=239.4.151.92:25101\n\n# SHFE\/INE topic id, change only if SHFE\/INE change them.\nshfe2ps_topic_id=1000\nshfe4ps_topic_id=1101\nine2ps_topic_id=5000\nine4ps_topic_id=5101\n\n# SHFE\/INE TCP Snap port, change only if SHFE\/INE change them.\nshfe2ps_snap_port=33022\nshfe4ps_snap_port=22000\nine2ps_snap_port=33022\nine4ps_snap_port=22000\n\n# Does the startup wait for the snapshot to initialize the FPGA based on changes in the configuration file crc\ncrc_mux_check=0\n\n# 0 to 15 bit identify whether the corresponding channel has the last tick enabled. Corresponding maximum contract number of the subject.\nlast_tick_channel=0\nshfe2ps_max_inst_no=81000\nshfe4ps_max_inst_no=81101\nine2ps_max_inst_no=85000\nine4ps_max_inst_no=85101\n\n# license key\nlicense=KkRBeU5qSTBPQT49$LWpBeU5URXlNhkU9\n\n# 0 to 3 bits, respectively, are the error, warning, info, and debug log level bits. When the corresponding bit is set to 1, record the corresponding level log information\n# Support specified log path ,must modify all config_*.ini .  eg.  log_path=\/  \nlog_level=15\n\n# Network version configuration item, copying 0 channel subscription contract market push\nDSTMAC=01:00:5E:01:02:03\nDSTIP=224.1.2.3\nDSTPORT=5000\n\nSRCMAC=64:3f:5f:01:02:03\nSRCIP=10.253.1.115\nSRCPORT=1234\n\n[channel0]\n# subscribe instruments, e.g. all to receive all instruments, or ag2201,bu,ag2306P5800\ninsts=all\noptions=recv\n\n[channel1]\ninsts=ag2512P6700,ag2510,ag2509P9,cu2509,fu,ni,rb2507C2800\noptions=recv\n\n[channel2]\ninsts=ag2512P6700,ag2510,ag2509P9\noptions=norecv\n\n[channel3]\ninsts=ag,al,al,au2504,sc25\noptions=norecv\n\n[channel4]\ninsts=all\noptions=recv\n\n#[channel5]\n#insts=pb,ni,fu,cu,au\n#options=norecv<\/code><\/pre>\n<h2>3.1 [config]<\/h2>\n<blockquote>\n<p>\u200b     0\u901a\u9053\u505a\u7edf\u4e00\u8ba2\u9605\u914d\u7f6e\u7ba1\u7406\uff0c1-15\u901a\u9053\u7684\u884c\u60c5\u8ba2\u9605\u5408\u7ea6\uff0c\u57280\u901a\u9053config.ini\u5bf9\u5e94\u201cchannel\u901a\u9053\u7f16\u53f7\u201d\u914d\u7f6e\u5373\u53ef\u3002\u5176\u4ed6\u901a\u9053\u76f8\u4e92\u72ec\u7acb\uff0c\u53ef\u968f\u65f6\u72ec\u7acb\u91cd\u542f\u3002\u5982\u679c\u76d8\u4e2d\u6d89\u53ca\u5230\u8ba2\u9605\u5408\u7ea6\u53d8\u66f4\uff0c\u57280\u901a\u9053config.ini\u4fee\u6539\u540e\u91cd\u542f0\u901a\u9053\u7a0b\u5e8f\uff0c\u5176\u4ed6\u901a\u9053\u7a0b\u5e8f\u65e0\u987b\u91cd\u542f\u30021-15\u901a\u9053\u5c31\u662f\u4e00\u4e2a\u7eafreceiver\uff0c\u53ea\u9700\u5173\u6ce8device\u548ccpucore\u914d\u7f6e\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<ul>\n<li><code>device<\/code>\uff1a\u8bbe\u5907\u914d\u7f6e\uff0c\u6307\u5b9a\u5361\u53f7\u548c\u901a\u9053\u53f7<strong><code>xilinx\u5361\u53f7:\u901a\u9053\u53f7<\/code><\/strong>\uff0c\u5982\u679c\u662f0\u53610\u901a\u9053\uff0c\u914d\u7f6e<strong><code>xilinx0:0<\/code><\/strong><\/li>\n<li><code>cpucore<\/code>\uff1a\u8bbe\u7f6e\u7ed1\u6838\uff0c\u591a\u901a\u9053\u5efa\u8bae\u8bbe\u7f6e\u4e0d\u540c\u7ed1\u6838\u7f16\u53f7\uff08\u7f16\u53f7\u8303\u56f4\u53eflscpu\u67e5\u770b\uff09<\/li>\n<li><code>shfe2ps<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u4e24\u7b14\u662f\u5426\u542f\u7528\u6807\u8bc6\uff0c\u9ed8\u8ba4\u542f\u7528\uff08<code>enabled<\/code>\uff1a\u542f\u7528     <code>disabled<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>shfe4ps<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u56db\u7b14\u662f\u5426\u542f\u7528\u6807\u8bc6\uff0c\u9ed8\u8ba4\u4e0d\u542f\u7528\uff08<code>enabled<\/code>\uff1a\u542f\u7528     <code>disabled<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>ine2ps<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u4e24\u7b14\u662f\u5426\u542f\u7528\u6807\u8bc6\uff0c\u9ed8\u8ba4\u4e0d\u542f\u7528\uff08<code>enabled<\/code>\uff1a\u542f\u7528     <code>disabled<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>ine4ps<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u56db\u7b14\u662f\u5426\u542f\u7528\u6807\u8bc6\uff0c\u9ed8\u8ba4\u542f\u7528\uff08<code>enabled<\/code>\uff1a\u542f\u7528     <code>disabled<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>shfe2ps_ip_a<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u4e24\u7b14A\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.3.42.71:21000<\/code><\/li>\n<li><code>shfe2ps_ip_b<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u4e24\u7b14B\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.4.42.72:21000<\/code><\/li>\n<li><code>shfe4ps_ip_a<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u56db\u7b14A\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.3.2.3:21101<\/code><\/li>\n<li><code>shfe4ps_ip_b<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u56db\u7b14B\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.4.2.4:21101<\/code><\/li>\n<li><code>ine2ps_ip_a<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u4e24\u7b14A\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.3.52.71:25000<\/code><\/li>\n<li><code>ine2ps_ip_b<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u4e24\u7b14B\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.4.52.72:25000<\/code><\/li>\n<li><code>ine4ps_ip_a<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u56db\u7b14A\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.3.151.91:25101<\/code><\/li>\n<li><code>ine4ps_ip_b<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u56db\u7b14B\u8def\u7ec4\u64ad\u5730\u5740\u7aef\u53e3\u914d\u7f6e\uff0c<code>239.4.151.92:25101<\/code><\/li>\n<li><code>shfe2ps_topic_id<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u4e24\u7b14\u884c\u60c5\u4e3b\u9898\uff0c<code>1000<\/code><\/li>\n<li><code>shfe4ps_topic_id<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u56db\u7b14\u884c\u60c5\u4e3b\u9898\uff0c<code>1101<\/code><\/li>\n<li><code>ine2ps_topic_id<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u4e24\u7b14\u884c\u60c5\u4e3b\u9898\uff0c<code>5000<\/code><\/li>\n<li><code>ine4ps_topic_id<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u56db\u7b14\u884c\u60c5\u4e3b\u9898\uff0c<code>5101<\/code><\/li>\n<li><code>shfe2ps_snap_port<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u4e24\u7b14TCP\u5feb\u7167\u7aef\u53e3\uff0c<code>33022<\/code><\/li>\n<li><code>shfe4ps_snap_port<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u56db\u7b14TCP\u5feb\u7167\u7aef\u53e3\uff0c<code>22000<\/code><\/li>\n<li><code>ine2ps_snap_port<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u4e24\u7b14TCP\u5feb\u7167\u7aef\u53e3\uff0c<code>33022<\/code><\/li>\n<li><code>ine4ps_snap_port<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u56db\u7b14TCP\u5feb\u7167\u7aef\u53e3\uff0c<code>22000<\/code><\/li>\n<li><code>crc_mux_check<\/code>\uff1a\u662f\u5426\u68c0\u6d4b\u914d\u7f6e\u6587\u4ef6CRC\u53d8\u5316\uff0c\u65e0\u53d8\u5316\u4e0d\u521d\u59cb\u5316FPGA\uff0c<code>0<\/code><\/li>\n<li><code>last_tick_channel<\/code>\uff1alast tick\u901a\u9053\u4f7f\u80fd\u5f00\u5173\uff0c0~15bit\u5206\u522b\u5bf9\u5e940~15\u901a\u9053\uff0c\u7f6e<code>1<\/code>\u6807\u8bc6\u542f\u7528\uff0c\u5f53tick\u7ed3\u675f\u4f1a\u4e0a\u9001\u4e00\u4e2a\u7ed3\u675f\u62a5\u6587\uff0c\u9ed8\u8ba4\u503c<code>0<\/code><\/li>\n<li><code>shfe2ps_max_inst_no<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u4e24\u7b14\u6700\u5927\u5408\u7ea6\u53f7\uff0clast tick\u901a\u9053\u4f7f\u80fd\uff0c\u5f53tick\u7ed3\u675f\u4f1a\u4e0a\u9001\u4e00\u4e2a\u7ed3\u675f\u62a5\u6587\uff0c\u62a5\u6587max_inst_no\u5b57\u6bb5\u4f1a\u643a\u5e26\u914d\u7f6e\u503c\uff0c\u9ed8\u8ba4\u503c<code>81000<\/code><\/li>\n<li><code>shfe4ps_max_inst_no<\/code>\uff1a\u4e0a\u6d77\u6bcf\u79d2\u56db\u7b14\u6700\u5927\u5408\u7ea6\u53f7\uff0clast tick\u901a\u9053\u4f7f\u80fd\uff0c\u5f53tick\u7ed3\u675f\u4f1a\u4e0a\u9001\u4e00\u4e2a\u7ed3\u675f\u62a5\u6587\uff0c\u62a5\u6587max_inst_no\u5b57\u6bb5\u4f1a\u643a\u5e26\u914d\u7f6e\u503c\uff0c\u9ed8\u8ba4\u503c<code>81101<\/code><\/li>\n<li><code>ine2ps_max_inst_no<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u4e24\u7b14\u6700\u5927\u5408\u7ea6\u53f7\uff0clast tick\u901a\u9053\u4f7f\u80fd\uff0c\u5f53tick\u7ed3\u675f\u4f1a\u4e0a\u9001\u4e00\u4e2a\u7ed3\u675f\u62a5\u6587\uff0c\u62a5\u6587max_inst_no\u5b57\u6bb5\u4f1a\u643a\u5e26\u914d\u7f6e\u503c\uff0c\u9ed8\u8ba4\u503c<code>85000<\/code><\/li>\n<li><code>ine4ps_max_inst_no<\/code>\uff1a\u80fd\u6e90\u6bcf\u79d2\u56db\u7b14\u6700\u5927\u5408\u7ea6\u53f7\uff0clast tick\u901a\u9053\u4f7f\u80fd\uff0c\u5f53tick\u7ed3\u675f\u4f1a\u4e0a\u9001\u4e00\u4e2a\u7ed3\u675f\u62a5\u6587\uff0c\u62a5\u6587max_inst_no\u5b57\u6bb5\u4f1a\u643a\u5e26\u914d\u7f6e\u503c\uff0c\u9ed8\u8ba4\u503c<code>85101<\/code><\/li>\n<li><code>license<\/code>\uff1a\u6388\u6743license\uff0c\u4f7f\u7528\u65f6\u6821\u9a8clicense<\/li>\n<li><code>log_level<\/code>\uff1a\u65e5\u5fd7\u7b49\u7ea7\uff0c[3:0]\u5bf9\u5e94\u4f4d\u7f6e\u4e3a1\uff0c\u5219\u4f9d\u6b21\u8bb0\u5f55debug\u3001info\u3001warning\u3001error\u7b49\u7ea7\u65e5\u5fd7\u4fe1\u606f\u3002\u5982\uff1alog_level=7\uff0c\u5219\u8bb0\u5f55info\u3001warning\u3001error\u65e5\u5fd7\u4fe1\u606f<\/li>\n<li><code>DSTMAC<\/code>\uff1a\u7f51\u7edc\u7248\u914d\u7f6e\uff0c\u76ee\u7684MAC\u5730\u5740<\/li>\n<li><code>DSTIP<\/code>\uff1a\u7f51\u7edc\u7248\u914d\u7f6e\uff0c\u76ee\u7684IP\u5730\u5740<\/li>\n<li><code>DSTPORT<\/code>\uff1a\u7f51\u7edc\u7248\u914d\u7f6e\uff0c\u76ee\u7684\u7aef\u53e3<\/li>\n<li><code>SRCMAC<\/code>\uff1a\u7f51\u7edc\u7248\u914d\u7f6e\uff0c\u6e90MAC\u5730\u5740<\/li>\n<li><code>SRCIP<\/code>\uff1a\u7f51\u7edc\u7248\u914d\u7f6e\uff0c\u6e90IP\u5730\u5740<\/li>\n<li><code>SRCPORT<\/code>\uff1a\u7f51\u7edc\u7248\u914d\u7f6e\uff0c\u6e90\u7aef\u53e3<\/li>\n<li><code>repeat_quote_upload<\/code>\uff1a\u4ef7\u91cf\u4e0d\u53d8\u91cd\u590d\u884c\u60c5\u4e0a\u9001\u4f7f\u80fd\u5f00\u5173\uff0c\u9ed8\u8ba4\u6ce8\u91ca\uff0c\u4e0d\u542f\u7528\uff08<code>1<\/code>\uff1a\u542f\u7528     <code>0<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>event_model_sel<\/code>\uff1a\u67d0\u5408\u7ea6\u51fa\u73b0udp\u9519\u5305\u65f6\u884c\u60c5\u4e0d\u91cd\u542f\uff0c\u7ee7\u7eed\u63a5\u6536\u5176\u4f59\u5408\u7ea6\u884c\u60c5\u4f7f\u80fd\u5f00\u5173\uff0c\u9ed8\u8ba4\u6ce8\u91ca\uff0c\u4e0d\u542f\u7528\uff08<code>1<\/code>\uff1a\u542f\u7528     <code>0<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>shield_price_check<\/code>\uff1a\u8f6f\u4ef6\u521d\u59cb\u5316\u4ef7\u683c\u4fdd\u62a4\u4f7f\u80fd\u5f00\u5173\uff0c\u9ed8\u8ba4\u6ce8\u91ca\uff0c\u542f\u7528\uff08<code>0<\/code>\uff1a\u542f\u7528     <code>1<\/code>\uff1a\u4e0d\u542f\u7528\uff09<\/li>\n<li><code>board_id<\/code>\uff1aU50\u677f\u5361\u7f16\u53f7\uff0c\u5f53\u4e00\u53f0\u673a\u5668\u5b58\u5728\u591a\u5f20U50\u677f\u5361\u65f6\u9700\u8981\u6307\u5b9a\uff0c\u9ed8\u8ba4\u6ce8\u91ca\uff0c\u503c<code>0<\/code><\/li>\n<li><code>log_path<\/code>\uff1a\u914d\u7f6e\u8be5\u901a\u9053\u65e5\u5fd7\u8f93\u51fa\u8def\u5f84\uff0c\u9ed8\u8ba4\u6ce8\u91ca\uff0c\u65e5\u5fd7\u843d\u5728api\u5f53\u524d\u8def\u5f84<\/li>\n<li><code>init_tcpcnt<\/code>\uff1a\u914d\u7f6eTCP\u521d\u59cb\u5316\u6700\u5927\u7b49\u5f85TCP\u8d85\u65f6\u6b21\u6570\uff0c\u9ed8\u8ba4\u6ce8\u91ca\uff0c\u8d85\u65f6\u7b49\u5f853\u6b21<\/li>\n<\/ul>\n<p>\u7f51\u7edc\u7248\u884c\u60c5\u662f\u590d\u7528\u672c\u5730\u72480\u901a\u9053\u8ba2\u9605\u7684\u884c\u60c5\u7136\u540e\u4ece\u7f51\u53e30\u30011\u4ea4\u66ff\u53d1\u9001<\/p>\n<div style=\"page-break-after:always\"><\/div>\n<h2>3.2 [channel]<\/h2>\n<blockquote>\n<p>\u200b     \u6700\u591a\u652f\u630116\u4e2a\u901a\u9053\uff080~15\uff09\uff0c\u914d\u7f6e\u65f6<code>channel\u901a\u9053\u53f7<\/code>\u3002<\/p>\n<\/blockquote>\n<ul>\n<li><code>insts<\/code>\uff1a\u914d\u7f6e\u8ba2\u9605\u5408\u7ea6\uff0c<code>all<\/code>\u6807\u8bc6\u8ba2\u9605\u5168\u91cf\u5408\u7ea6\u3002\u8ba2\u9605\u6307\u5b9a\u5408\u7ea6\u65f6\u591a\u4e2a\u5408\u7ea6\u95f4\u7528\u82f1\u6587<code>,<\/code>\u5206\u9694\u3002<\/li>\n<li><code>options<\/code>\uff1a\u5f53<code>insts<\/code>\u914d\u7f6e\u6709<code>all<\/code>\u3001<code>\u54c1\u79cd<\/code>\u65f6\uff0c\u5f53\u524d\u914d\u7f6e\u9879\u7528\u4e8e\u63a7\u5236\u671f\u6743\u884c\u60c5\u662f\u5426\u63a5\u6536\uff0c\u9ed8\u8ba4<code>norecv<\/code>\u3002\n<ul>\n<li><code>recv<\/code>\uff1a\u671f\u6743\u884c\u60c5\u63a5\u6536<\/li>\n<li><code>norecv<\/code>\uff1a\u671f\u6743\u884c\u60c5\u4e0d\u63a5\u6536<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1>\u56db\u3001<strong>\u4f7f\u7528\u573a\u666f<\/strong><\/h1>\n<h2>4.1 \u6309\u5408\u7ea6\u8ba2\u9605<\/h2>\n<blockquote>\n<p>\u200b <code>insts<\/code>\u652f\u6301\u914d\u7f6e<code>\u54c1\u79cd<\/code>\uff0c\u6807\u8bc6\u8ba2\u9605\u914d\u7f6e\u8be5\u54c1\u79cd\u4e0b\u5168\u91cf\u5408\u7ea6\u884c\u60c5\u3002<code>options<\/code>\u914d\u7f6e<code>recv<\/code>\uff0c\u6807\u8bc6\u671f\u6743\u5408\u7ea6\u53c2\u4e0e\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e\u8ba2\u9605zn,ag,sc\u54c1\u79cd\uff0c\u4e0d\u8ba2\u9605\u671f\u6743\u5408\u7ea6\u884c\u60c5\u3002<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=zn,ag,sc\noptions=norecv<\/code><\/pre>\n<p>\u200b     \u8ba2\u9605zn,ag,sc\u54c1\u79cd\u4e0b\u6240\u6709\u671f\u8d27\u5408\u7ea6\uff0c\u4e0d\u8ba2\u9605\u5bf9\u5e94\u671f\u6743\u5408\u7ea6\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u4e0d\u5b58\u5728\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e\u8ba2\u9605zn\u54c1\u79cd\uff0c\u8ba2\u9605\u671f\u6743\u5408\u7ea6\u884c\u60c5\u3002<\/p>\n<pre><code class=\"language-bash\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=zn\noptions=recv<\/code><\/pre>\n<p>\u200b     \u8ba2\u9605zn\u54c1\u79cd\u4e0b\u6240\u6709\u671f\u8d27\u5408\u7ea6\u548c\u5bf9\u5e94\u671f\u6743\u5408\u7ea6\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u5b58\u5728\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e\u8ba2\u9605cu2510\u5408\u7ea6\uff0c\u4e0d\u8ba2\u9605\u671f\u6743\u5408\u7ea6\u884c\u60c5\u3002<\/p>\n<pre><code class=\"language-bash\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=cu2510\noptions=norecv<\/code><\/pre>\n<p>\u200b     \u8ba2\u9605cu2510\u671f\u8d27\u5408\u7ea6\uff0c\u4e0d\u8ba2\u9605\u5bf9\u5e94\u671f\u6743\u5408\u7ea6\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u4e0d\u5b58\u5728\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e\u8ba2\u9605cu2510\u5408\u7ea6\u548c\u5bf9\u5e94\u671f\u6743\u5408\u7ea6\u884c\u60c5\u3002<\/p>\n<pre><code class=\"language-bash\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=cu2510\noptions=recv<\/code><\/pre>\n<p>\u200b     \u8ba2\u9605cu2510\u671f\u8d27\u5408\u7ea6\u53ca\u5bf9\u5e94\u671f\u6743\u5408\u7ea6\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u5b58\u5728\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e\u8ba2\u9605al2505C10000\u671f\u6743\u5408\u7ea6\u884c\u60c5\u3002<\/p>\n<pre><code class=\"language-bash\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=al2505C10000\noptions=recv<\/code><\/pre>\n<p>\u200b     \u8ba2\u9605al2505C10000\u671f\u6743\u5408\u7ea6\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u5b58\u5728al2505C10000\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e\u8ba2\u9605al2505C10000\u671f\u6743\u5408\u7ea6\u884c\u60c5\u3002<\/p>\n<pre><code class=\"language-bash\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=al2505C10000\noptions=norecv<\/code><\/pre>\n<p>\u200b     \u8ba2\u9605al2505C10000\u671f\u6743\u5408\u7ea6\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u5b58\u5728al2505C10000\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>4.2 \u8ba2\u9605\u5168\u91cf\u5408\u7ea6<\/h2>\n<blockquote>\n<p>\u200b <code>insts<\/code>\u914d\u7f6e<code>all<\/code>\uff0c\u6807\u8bc6\u8ba2\u9605\u5168\u91cf\u5408\u7ea6\u884c\u60c5\u3002<code>options<\/code>\u914d\u7f6e<code>recv<\/code>\uff0c\u6807\u8bc6\u671f\u6743\u5408\u7ea6\u53c2\u4e0e\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=all\noptions=recv<\/code><\/pre>\n<p>\u200b     \u7a0b\u5e8f\u8f93\u51fa\u5185\u5bb9\u5305\u542b\u6240\u6709\u54c1\u79cd\u4e0b\u6240\u6709\u671f\u8d27\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\uff0c\u671f\u6743\u5408\u7ea6\u4e5f\u53c2\u4e0e\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u3002\u884c\u60c5\u8f93\u51fa\u843d\u5730\u6587\u4ef6\u4e2d\u5b58\u5728\u6240\u6709\u54c1\u79cd\u671f\u8d27\u548c\u671f\u6743\u76f8\u5173\u884c\u60c5\u6570\u636e\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image007.png\" alt=\"1692408884266\" \/><\/p>\n<\/li>\n<\/ul>\n<h2>4.3 \u591a\u901a\u9053\u8ba2\u9605\u76f8\u540c\u5408\u7ea6<\/h2>\n<blockquote>\n<p>\u200b     \u6b64\u5904\u4ee5\u56db\u4e2a\u901a\u9053\u4e3a\u4f8b\uff0c\u8ba2\u9605\u76f8\u540c\u5408\u7ea6\u884c\u60c5\uff0c\u6d4b\u8bd5\u4e0d\u540c\u901a\u9053\u95f4\u662f\u5426\u6709\u5408\u7ea6\u4e0a\u9001\u4e71\u4e32(\u5355\u4e2a\u5408\u7ea6\u8bb0\u5f55\u6570\u4e4b\u548c\u662f\u5426\u7b49\u4e8e\u603b\u8bb0\u5f55\u6570)\u6216\u8005\u884c\u60c5\u6570\u636e\u4e22\u5931(\u53ef\u540c\u5168\u91cf\u8ba2\u9605\u8f93\u51fa\u53c2\u7167\u5bf9\u6bd4\u662f\u5426\u6709\u5c11\u8bb0\u5f55\u6570)\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p>\u200b <code>0<\/code>\u901a\u9053\u4f5c\u4e3a\u7ba1\u7406\u901a\u9053\uff0c\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u7edf\u4e00\u7531<code>0<\/code>\u901a\u9053\u5b8c\u6210\uff0c\u5176\u4ed6\u901a\u9053\u4ec5\u8d1f\u8d23\u63a5\u6536\u6570\u636e\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=all\noptions=recv\n\n[channel1]\ninsts=ag2512P6700,ag2510,ag2509P9,cu2509,fu,ni,rb2507C2800\noptions=recv\n\n[channel2]\ninsts=ag2512P6700,ag2510,ag2509P9\noptions=norecv\n\n[channel15]\ninsts=ag,al,al,au2504,sc25\noptions=recv<\/code><\/pre>\n<\/li>\n<li>\n<p>1\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:1\ncpucore=1<\/code><\/pre>\n<\/li>\n<li>\n<p>2\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:2\ncpucore=2<\/code><\/pre>\n<\/li>\n<li>\n<p>15\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:15\ncpucore=15<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>4.4 \u591a\u901a\u9053\u8ba2\u9605\u4e0d\u540c\u5408\u7ea6<\/h2>\n<blockquote>\n<p>\u200b     \u6b64\u5904\u4ee5\u56db\u4e2a\u901a\u9053\u4e3a\u4f8b\uff0c\u8ba2\u9605\u4e0d\u540c\u5408\u7ea6\u884c\u60c5\uff0c\u6d4b\u8bd5\u4e0d\u540c\u901a\u9053\u95f4\u662f\u5426\u6709\u5408\u7ea6\u4e0a\u9001\u4e71\u4e32(\u5355\u4e2a\u5408\u7ea6\u8bb0\u5f55\u6570\u4e4b\u548c\u662f\u5426\u7b49\u4e8e\u603b\u8bb0\u5f55\u6570)\u6216\u8005\u884c\u60c5\u6570\u636e\u4e22\u5931(\u53ef\u540c\u5168\u91cf\u8ba2\u9605\u8f93\u51fa\u53c2\u7167\u5bf9\u6bd4\u662f\u5426\u6709\u5c11\u8bb0\u5f55\u6570)\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p>\u200b <code>0<\/code>\u901a\u9053\u4f5c\u4e3a\u7ba1\u7406\u901a\u9053\uff0c\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u7edf\u4e00\u7531<code>0<\/code>\u901a\u9053\u5b8c\u6210\uff0c\u5176\u4ed6\u901a\u9053\u4ec5\u8d1f\u8d23\u63a5\u6536\u6570\u636e\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=ag2506,al2506,zn2511\noptions=recv\n\n[channel1]\ninsts=au2507,ni2506,rb2507,ru2503,sn2503,zn2508\noptions=recv\n\n[channel2]\ninsts=bu2504,cu2503,fu2505,hc2505\noptions=recv\n\n[channel15]\ninsts=bu2504,bu2507,cu2503,fu2505,hc2505\noptions=recv<\/code><\/pre>\n<\/li>\n<li>\n<p>1\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:1\ncpucore=1<\/code><\/pre>\n<\/li>\n<li>\n<p>2\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:2\ncpucore=2<\/code><\/pre>\n<\/li>\n<li>\n<p>15\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:15\ncpucore=15<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>4.5 <strong>\u591a\u901a\u9053\u9000\u8ba2<\/strong><\/h2>\n<blockquote>\n<p>\u200b     \u6b64\u5904\u4ee5\u56db\u4e2a\u901a\u9053\u4e3a\u4f8b\uff0c\u5728\u539f\u6709\u8ba2\u9605\u5408\u7ea6\u57fa\u7840\u4e0a\u5220\u51cf\u90e8\u5206\u5408\u7ea6\uff0c\u6d4b\u8bd5\u88ab\u5220\u51cf\u5408\u7ea6\u662f\u5426\u8fd8\u4f1a\u6709\u884c\u60c5\u6570\u636e\u4e0a\u9001\u3002\u5e76\u4e14\u9a8c\u8bc1\u4e0d\u540c\u901a\u9053\u95f4\u662f\u5426\u6709\u5408\u7ea6\u4e0a\u9001\u4e71\u4e32(\u5355\u4e2a\u5408\u7ea6\u8bb0\u5f55\u6570\u4e4b\u548c\u662f\u5426\u7b49\u4e8e\u603b\u8bb0\u5f55\u6570)\u6216\u8005\u884c\u60c5\u6570\u636e\u4e22\u5931(\u53ef\u540c\u5168\u91cf\u8ba2\u9605\u8f93\u51fa\u53c2\u7167\u5bf9\u6bd4\u662f\u5426\u6709\u5c11\u8bb0\u5f55\u6570)\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p>\u200b <code>0<\/code>\u901a\u9053\u4f5c\u4e3a\u7ba1\u7406\u901a\u9053\uff0c\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u7edf\u4e00\u7531<code>0<\/code>\u901a\u9053\u5b8c\u6210\uff0c\u5176\u4ed6\u901a\u9053\u4ec5\u8d1f\u8d23\u63a5\u6536\u6570\u636e\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=ag2303,zn2311\noptions=recv\n\n[channel1]\ninsts=au2302,au2304,au2306C392,rb2303,rb2305P4800,ru2305P12500,sn2303,zn2303\noptions=recv\n\n[channel2]\ninsts=bu2304,bu2307,cu2305P62000,hc2305\noptions=recv\n\n[channel15]\ninsts=bu2304,bu2307,cu2305P62000,hc2305\noptions=recv<\/code><\/pre>\n<\/li>\n<li>\n<p>1\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:1\ncpucore=1<\/code><\/pre>\n<\/li>\n<li>\n<p>2\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:2\ncpucore=2\n<\/code><\/pre>\n<\/li>\n<li>\n<p>15\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:15\ncpucore=15<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>4.6 \u591a\u901a\u9053\u65b0\u589e\u8ba2\u9605<\/h2>\n<blockquote>\n<p>\u200b     \u6b64\u5904\u4ee5\u56db\u4e2a\u901a\u9053\u4e3a\u4f8b\uff0c\u5728\u539f\u6709\u8ba2\u9605\u5408\u7ea6\u57fa\u7840\u4e0a\u65b0\u589e\u90e8\u5206\u5408\u7ea6\uff0c\u6d4b\u8bd5\u65b0\u589e\u5408\u7ea6\u662f\u5426\u6709\u884c\u60c5\u6570\u636e\u4e0a\u9001\u3002\u5e76\u4e14\u9a8c\u8bc1\u4e0d\u540c\u901a\u9053\u95f4\u662f\u5426\u6709\u5408\u7ea6\u4e0a\u9001\u4e71\u4e32(\u5355\u4e2a\u5408\u7ea6\u8bb0\u5f55\u6570\u4e4b\u548c\u662f\u5426\u7b49\u4e8e\u603b\u8bb0\u5f55\u6570)\u6216\u8005\u884c\u60c5\u6570\u636e\u4e22\u5931(\u53ef\u540c\u5168\u91cf\u8ba2\u9605\u8f93\u51fa\u53c2\u7167\u5bf9\u6bd4\u662f\u5426\u6709\u5c11\u8bb0\u5f55\u6570)\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p>\u200b <code>0<\/code>\u901a\u9053\u4f5c\u4e3a\u7ba1\u7406\u901a\u9053\uff0c\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\u7edf\u4e00\u7531<code>0<\/code>\u901a\u9053\u5b8c\u6210\uff0c\u5176\u4ed6\u901a\u9053\u4ec5\u8d1f\u8d23\u63a5\u6536\u6570\u636e\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>0\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:0\ncpucore=0\n\n[channel0]\ninsts=ag2306P5800,ag2303,al2303,al2303C17000,zn2311,zn2303P23800\noptions=recv\n\n[channel1]\ninsts=au2302,au2304,au2306C392,ni2306,rb2303,rb2305P4800,ru2303,ru2305P12500,sn2303,zn2303\noptions=recv\n\n[channel2]\ninsts=bu2304,bu2307,cu2303,cu2305P62000,fu2305,hc2305\noptions=recv\n\n[channel15]\ninsts=bu2304,bu2307,cu2303,cu2305P62000,fu2305,hc2305\noptions=recv<\/code><\/pre>\n<\/li>\n<li>\n<p>1\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:1\ncpucore=1<\/code><\/pre>\n<\/li>\n<li>\n<p>2\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:2\ncpucore=2<\/code><\/pre>\n<\/li>\n<li>\n<p>15\u901a\u9053\u914d\u7f6e<\/p>\n<pre><code class=\"language-ini\">[config]\ndevice=xilinx0:15\ncpucore=15<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>4.7 \u5168\u90e8\u901a\u9053\u6d4b\u8bd5<\/h2>\n<blockquote>\n<p>\u200b     \u6240\u6709\u901a\u9053\u5747\u53c2\u4e0e\u8ba2\u9605(\u76ee\u524d0\u901a\u9053\u4e3a\u7ba1\u7406\u901a\u9053\uff0c0~15\u901a\u9053\u5747\u53ef\u53c2\u4e0e\u884c\u60c5\u8ba2\u9605)\uff0c\u67e5\u770b\u5404\u4e2a\u901a\u9053\u884c\u60c5\u8ba2\u9605\u662f\u5426\u6b63\u5e38\uff0c\u4e5f\u53ef\u7ed3\u5408\u4e0a\u8ff0\u573a\u666f\u8fdb\u884c\u5168\u901a\u9053\u8986\u76d6\u6d4b\u8bd5\u3002<\/p>\n<\/blockquote>\n<h1>\u4e94\u3001<strong>\u6d4b\u8bd5\u6b65\u9aa4<\/strong><\/h1>\n<h2>5.1 \u677f\u5361\u70e7\u6700\u65b0\u96c6\u6210\u56fa\u4ef6<\/h2>\n<blockquote>\n<p>\u200b     \u677f\u5361\u70e7\u5236\u8bf7\u8df3\u8f6c\u81f3<a href=\"#2.1 FPGA\u56fa\u4ef6\u673a\u5668\">\u56fa\u4ef6\u70e7\u5236<\/a>\u3002\u9996\u6b21\u70e7\u5236\u5b8c\u6210\uff0c\u540e\u7eed\u6d4b\u8bd5\u65e0\u987b\u70e7\u5236\u3002<\/p>\n<\/blockquote>\n<h2>5.2 \u542f\u52a80\u901a\u9053\u76d1\u542ctcp\u6570\u636e<\/h2>\n<blockquote>\n<p>\u200b     0\u901a\u9053\u4f5c\u4e3a\u521d\u59cb\u5316\u548c\u7ba1\u7406\u901a\u9053\uff0c\u5982\u679c\u9700\u8981\u518d\u6b21\u521d\u59cb\u5316\u9700\u8981\u66f4\u6539<code>config.ini <\/code>\uff0c\u4ee3\u7801\u68c0\u6d4b\u6587\u4ef6CRC\u53d1\u751f\u53d8\u5316\uff0c\u4f1a\u91cd\u65b0REST\u786c\u4ef6\u521d\u59cb\u5316\uff0c\u7136\u540e\u6536\u53d6TCP\u6570\u636e\u8fdb\u884cFPGA\u521d\u59cb\u5316\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>0\u901a\u9053\u542f\u52a8\u8f93\u51fa\uff08\u76d1\u542cTCP\u521d\u59cb\u5316\u6570\u636e\uff09<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image008.png\" alt=\"1692408997381\" \/><\/p>\n<h2>5.3 \u542f\u52a8\u5176\u4ed6\u901a\u9053<\/h2>\n<blockquote>\n<p>\u200b     \u5176\u4ed6\u901a\u9053\u4f5c\u4e3a\u6570\u636e\u63a5\u6536\u8005\uff0c\u542f\u52a8\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>1\u901a\u9053\u542f\u52a8<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image010.png\" alt=\"1692409164151\" \/><\/p>\n<ul>\n<li>2\u901a\u9053\u542f\u52a8<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image011.png\" alt=\"1692409490676\" \/><\/p>\n<ul>\n<li>\n<p>15\u901a\u9053\u542f\u52a8<\/p>\n<p><code>3~14\u901a\u9053\u540c\u7406\uff0c\u6b64\u5904\u4e0d\u505a\u8d58\u8ff0<\/code><\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image012.png\" alt=\"1692412512456\" \/><\/p>\n<h2>5.4 tcpreplay\u56de\u653e\u6570\u636e<\/h2>\n<blockquote>\n<p>\u200b     \u542f\u52a8tcpreplay\u56de\u653e\u751f\u4ea7\u8f6c\u5305\u539f\u59cb\u6570\u636e\uff0c0\u901a\u9053\u83b7\u53d6\u5230TCP\u6570\u636e\u540e\u5f00\u59cb\u89e3\u6790\u5e76\u521d\u59cb\u5316FPGA\u3002<\/p>\n<\/blockquote>\n<pre><code class=\"language-shell\">[root@t5810 zt_pcap]# tcpreplay -i p4p1 --pps=1000 zt_shfe_20230131_am_end.pcap<\/code><\/pre>\n<ul>\n<li>0\u901a\u9053\u6536\u5230TCP\u6570\u636e\u521d\u59cb\u5316FPGA\u5e76\u53d1\u8d77\u5408\u7ea6\u884c\u60c5\u8ba2\u9605<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image013.png\" alt=\"1692412638646\" \/><\/p>\n<h2>5.5 \u5173\u95ed\u8bfb\u5199\u5e76\u5f00\u542fDMA\u4e0a\u9001<\/h2>\n<blockquote>\n<p>\u200b     0\u901a\u9053\u4f5c\u4e3a\u7ba1\u7406\u901a\u9053\uff0c\u5728TCP\u521d\u59cb\u5316\u7ed3\u675f\u540e\u53d1\u8d77\u5408\u7ea6\u884c\u60c5\u8ba2\u9605\uff0c\u7136\u540e\u5173\u95ed\u5bc4\u5b58\u5668\u8bfb\u5199\u529f\u80fd\uff0c\u6700\u540e\u542f\u52a8DMA\u884c\u60c5\u4e0a\u9001\uff0c\u968f\u540e\u5404\u901a\u9053\u4f1a\u6536\u5230MDA\u4e0a\u9001\u7684\u5f53\u524d\u901a\u9053\u8ba2\u9605\u7684\u5408\u7ea6\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>0\u901a\u9053\u5173\u95ed\u5bc4\u5b58\u5668\u8bfb\u5199\u5e76\u5f00\u542fDMA\u4e0a\u9001<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image014.png\" alt=\"1692412714214\" \/><\/p>\n<h2>5.6 \u67e5\u770b\u884c\u60c5\u843d\u5730\u6570\u636e<\/h2>\n<blockquote>\n<p>\u200b     \u5728\u542f\u52a8\u76ee\u5f55\u4e0b\u4f1a\u751f\u6210<code>nano_u50_yyyymmdd_hhmmss.csv<\/code>\u8bb0\u5f55\u5f53\u524d\u901a\u9053\u6536\u53d6\u5230\u7684\u884c\u60c5\u6570\u636e\u3002<\/p>\n<\/blockquote>\n<h2>5.7 \u65e5\u5fd7\u8f93\u51fa<\/h2>\n<blockquote>\n<p>\u200b     \u5728\u542f\u52a8\u76ee\u5f55\u4e0b\u4f1a\u751f\u6210<code>nano_u50_yyyymmdd_hhmmss.log<\/code>\u8bb0\u5f55\u542f\u52a8\u65e5\u5fd7\uff0c\u65e5\u5fd7\u4ec5\u5728\u542f\u52a8\u662f\u8bb0\u5f55\uff0c\u8fd0\u884c\u671f\u95f4\u4e0d\u4f1a\u8bb0\u5f55\u65e5\u5fd7\u4fe1\u606f\u3002<\/p>\n<\/blockquote>\n<h1>\u516d\u3001<strong>\u9644\u5f55<\/strong><\/h1>\n<h2>6.1 \u7ba1\u7406\u901a\u9053<\/h2>\n<blockquote>\n<p>\u200b     0\u901a\u9053\u4f5c\u4e3aTCP\u521d\u59cb\u5316\u548c\u7ba1\u7406\u901a\u9053\uff0c\u542f\u52a8\u65f6\u5982\u679c\u68c0\u6d4b\u5230\u5f53\u524d<code>config.ini<\/code>\u914d\u7f6eCRC\u540c\u4e0a\u6b21\u4e0d\u4e00\u81f4\uff0c\u5c31\u4f1a\u91cd\u65b0Rest\u521d\u59cb\u5316FPGA\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>CRC\u6821\u9a8c\u672a\u53d1\u751f\u53d8\u5316\uff0c\u65e0\u987b\u521d\u59cb\u5316\u3002\u6b64\u5904\u8003\u8651\u5230\u5982\u679c\u5ba2\u6237\u53ea\u662f\u76d8\u4e2d\u91cd\u542f\u4e86\u7a0b\u5e8f\uff0c\u914d\u7f6e\u6ca1\u6709\u53d1\u751f\u53d8\u66f4\uff0c\u65e0\u987b\u7b49\u5f85\u5feb\u7167\u91cd\u65b0\u521d\u59cb\u5316\uff08\u671f\u8d27\u516c\u53f8\u5411\u4ea4\u6613\u6240\u83b7\u53d6\u5feb\u7167\u4e00\u822c\u662f\u4e24\u5206\u949f\u4e00\u6b21\uff0c\u6b64\u573a\u666f\u4e0b\u91cd\u542f\u5c31\u65e0\u987b\u7b49\u5f85\u7740\u4e24\u5206\u949f\uff09<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image015.png\" alt=\"1692412860412\" \/><\/p>\n<ul>\n<li>\u5bf9\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\u64cd\u4f5c\u540e\u91cd\u65b0\u542f\u52a8\uff0c\u4f1a\u91cd\u65b0Rest\u521d\u59cb\u5316FPGA\uff0c\u521d\u59cb\u5316FPGA\u540e\u9700\u91cd\u65b0\u7b49\u5f85TCP\u5feb\u7167\u521d\u59cb\u5316\uff08\u671f\u8d27\u516c\u53f8\u5411\u4ea4\u6613\u6240\u83b7\u53d6\u5feb\u7167\u4e00\u822c\u662f\u4e24\u5206\u949f\u4e00\u6b21\uff09\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image016.png\" alt=\"1692412955733\" \/><\/p>\n<h2>6.2 \u901a\u9053\u91cd\u542f<\/h2>\n<blockquote>\n<p>\u200b     \u5f00\u542fMDA\u4e0a\u9001\u540e\uff0c0~15\u901a\u9053\u5747\u53ef\u968f\u65f6\u91cd\u542f\u3002\u5982\u679c\u76d8\u4e2d\u9700\u8981\u66f4\u6362\u8ba2\u9605\u5408\u7ea6\uff0c\u5fc5\u987b\u4fee\u65390\u901a\u9053\u914d\u7f6e\u540e\u91cd\u65b0\u542f\u52a8\uff0c\u5176\u4ed6\u901a\u9053\u65e0\u987b\u8c03\u6574\u3002<\/p>\n<\/blockquote>\n<h2>6.3 board id\u67e5\u770b<\/h2>\n<blockquote>\n<p>\u200b     \u4f7f\u7528<code>enyx-firmware-manager -l<\/code>\u547d\u4ee4\u5373\u53ef\u67e5\u770bboard id\u3002<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"http:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image017.png\" alt=\"1692413454550\" \/><\/p>\n<h2>6.4 license\u83b7\u53d6<\/h2>\n<blockquote>\n<p>\u200b         \u8bbf\u95ee<code>https:\/\/www.nanoexpress.com\/license<\/code>\u7f51\u7ad9\uff0c\u4f7f\u7528mac\u5730\u5740\u67e5\u8be2\u83b7\u53d6\u3002\u83b7\u53d6\u5230\u7684\u79d8\u94a5\u914d\u7f6e\u52300\u901a\u9053config.ini\u914d\u7f6e\u4e2dlicense\u914d\u7f6e\u9879\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/08\/clip_image001.png\" alt=\"img\" \/>\u6ce8\u610f<\/p>\n<p>\u8fd0\u884cdemo\u5b9e\u4f8b\u7a0b\u5e8f\uff0c\u8f93\u51faDNA\u548cMAC\u5730\u5740\u3002<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/09\/clip_image008.png\" alt=\"1695476730253\" \/><\/p>\n<ul>\n<li>\u53c2\u8003\u5b9e\u4f8b<\/li>\n<\/ul>\n<pre><code class=\"language-ini\"># license key\nlicense=KVRZNU1UVXpORFo9$LWpBeU16RXlNYEk9<\/code><\/pre>\n<h2>6.5 \u5f00\u53d1\u673a\u5668\u7f16\u8bd1<\/h2>\n<blockquote>\n<p>\u200b     \u5982\u679c\u5f00\u53d1\u673a\u5668\u4e0d\u662f\u677f\u5361\u90e8\u7f72\u673a\u5668\uff0c\u7f16\u8bd1\u7a0b\u5e8f\u9700\u8981\u5b89\u88c5U50\u677f\u5361\u9a71\u52a8\u3002\u8be6\u60c5\u8bf7\u53c2\u9605<a href=\"https:\/\/www.nanoexpress.com\/?p=787\">FPGA U50\u884c\u60c5\u90e8\u7f72\u5b89\u88c5<\/a>\u9a71\u52a8\u5b89\u88c5\u90e8\u5206\u3002<\/p>\n<\/blockquote>\n<h2>6.6 DMA\u6293\u5305<\/h2>\n<blockquote>\n<p>\u200b     <code>utils\\reg<\/code>\u76ee\u5f55\u4e0b<code>hs-capture<\/code>, <code>-i<\/code>\u6307\u5b9aDMA\u901a\u9053\u7f16\u53f7\uff0c\u7f16\u53f7\u53d6\u503c[0,15]\u3002<\/p>\n<\/blockquote>\n<pre><code class=\"language-shell\">[tangf@t7810 capture]$ .\/hs-capture -i 8 -H 12 -N -w test.pcap \nlistening port\n<\/code><\/pre>\n<h2>6.7 \u5bc4\u5b58\u5668\u72b6\u6001<\/h2>\n<blockquote>\n<p>\u200b     <code>utils\\reg<\/code>\u76ee\u5f55\u4e0b<code>nano_state<\/code>, \u5373\u53ef\u67e5\u770b\u63a5\u7ebf\u548c\u5bc4\u5b58\u5668\u72b6\u6001\u4fe1\u606f\u3002<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/www.nanoexpress.com\/wp-content\/uploads\/2023\/10\/clip_image007.png\" alt=\"1698757406911\" \/><\/p>\n<h2>6.8 U50 API\u5f00\u53d1\u5305<\/h2>\n<p>U50 API\u8bf7\u8df3\u8f6c\u81f3<a href=\"https:\/\/www.nanoexpress.com\/?page_id=238\">\u53d1\u5e03\u5305\u4e0b\u8f7d<\/a>\u9875\u7b7e\uff0c\u4e0b\u8f7d\u5bf9\u5e94release\u53d1\u5e03\u5305\uff0c\u5305\u5185sample-code\u90e8\u5206\u4e3aAPI\u548c\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<h2>6.9 U50 \u884c\u60c5\u90e8\u7f72\u5b89\u88c5<\/h2>\n<p>\u8be6\u60c5\u8bf7\u53c2\u9605<a href=\"https:\/\/www.nanoexpress.com\/?p=787\">FPGA U50\u884c\u60c5\u90e8\u7f72\u5b89\u88c5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HUNDSUN\u00ae FPGA\u884c\u60c5\u4e0a\u671f\u4f7f\u7528\u6307\u5357 \u4e00\u3001\u573a\u666f\u4ecb\u7ecd 1.1 \u80cc\u666f\u6982\u8ff0 \u200b \u7531\u4e8eDMA\u901a\u9053\u53ea\u6709\u4e00\u4e2a\uff0c\u8d44\u6e90\u4e0a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[9,14,13,8],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-fpga","tag-u50","tag-14","tag-13","tag-fpga"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":39,"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":2123,"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions\/2123"}],"wp:attachment":[{"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nanoexpress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}