{"id":96,"date":"2021-07-23T21:34:04","date_gmt":"2021-07-23T13:34:04","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=96"},"modified":"2025-05-10T23:30:40","modified_gmt":"2025-05-10T15:30:40","slug":"ebaz02ledwater","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2021\/07\/23\/ebaz02ledwater\/","title":{"rendered":"\u57fa\u4e8eEBAZ4205 \u7684FPGA\u5b9e\u9a8c\u4e8c\u00a0 \u7528ZYNQ\u7684PL(FPGA)\u8bbe\u8ba1\u6d41\u6c34\u706f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5de5\u7a0b1\u5b8c\u6574\u7684\u4ecb\u7ecd\u4e86\u4e00\u4e2a\u5de5\u7a0b\u4ece\u521b\u5efa\u5230\u7f16\u8bd1\u7efc\u5408\uff0c\u6700\u7ec8\u5230\u7a0b\u5e8f\u8fd0\u884c\u7684\u5168\u8fc7\u7a0b\uff0c\u672c\u5de5\u7a0b\u5728\u5de5\u7a0b\u4e00\u7684\u57fa\u7840\u4e0a\u8fdb\u4e00\u6b65\u6df1\u5316\uff0c\u4ee5\u6d41\u6c34\u706f\u7684\u5f62\u5f0f\u540c\u65f6\u70b9\u4eae\u4e09\u4e2aLED\u706f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b9e\u9a8c\u5185\u5bb9\u9002\u7528\u4e8e\u5e02\u9762\u4e0a\u529f\u80fd\u6b63\u5e38\u7684EBAZ4205\u7684\u677f\u5b50<\/strong><\/li>\n\n\n\n<li><strong>\u672c\u6b21\u5b9e\u9a8c\u9700\u8981\u8fde\u63a5\u672c\u7ad9\u70b9\u7684EBAZ4205\u8f6c\u63a5\u677f<\/strong><\/li>\n\n\n\n<li><strong>\u672c\u6b21\u5b9e\u9a8c\u9ed8\u8ba4EBAZ4205\u4e3b\u677f\u4e0a\u5df2\u710a\u63a550M\u6709\u6e90\u6676\u632f<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u5982\u4e3b\u677f\u6ca1\u6709\u710a\u63a5\u6676\u632f\u53ef\u6839\u636e\u4e0b\u6587\u7684\u65b9\u6cd5\u4e3aPL\u7aef\u63d0\u4f9b\u65f6\u949f<a href=\"http:\/\/www.hellofpga.com\/index.php\/2021\/08\/07\/zynq_ps_clk_to_pl\/\" target=\"_blank\" rel=\"noreferrer noopener\">EBAZ4205 ZYNQ \u901a\u8fc7 PS\u90e8\u5206\u6765\u4e3aPL\u903b\u8f91\u63d0\u4f9b\u65f6\u949f\uff08\u6ca1\u6709\u710a\u63a5PL\u6676\u632f\u7684\u677f\u5b50\u53ef\u7528\u6b64\u65b9\u6cd5\uff09<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u672c\u6587\u5728 vivado2018.3\u7248\u672c\u4e0a\u6f14\u793a<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>\u4e00\u3001\u539f\u7406\u56fe\u5206\u6790<\/strong><\/strong> \uff08LED\u706f\u548c\u6309\u952e\u90fd\u5728\u8f6c\u63a5\u677f\u4e0a\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>LED\u706f\uff1a<\/strong>\u4ece\u4e0b\u9762\u7535\u8def\u56fe\u53ef\u4ee5\u770b\u51fa\u4e24\u4e2a\u4fe1\u606f<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"319\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-25.png\" alt=\"\" class=\"wp-image-98\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-25.png 486w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-25-300x197.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><figcaption class=\"wp-element-caption\">EBAZ4205\u6269\u5c55\u677fLED\u90e8\u5206\u539f\u7406\u56fe<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ece\u4e0a\u9762\u7535\u8def\u56fe\u53ef\u4ee5\u770b\u51fa\u4e24\u4e2a\u4fe1\u606f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\uff09\u4e09\u4e2aLED\u706f\u7684\u9634\u6781\u63a5\u7684GND\uff0c \u5219FPGA\u63a5LED\u7684\u7ba1\u811a\u8f93\u51fa\u4e3a\u9ad8\u7535\u5e73\uff0cLED\u706f\u70b9\u4eae\uff0cFPGA\u63a5LED\u7684\u7ba1\u811a\u8f93\u51fa\u4e3a\u4f4e\u7535\u5e73 LED \u7184\u706d  2\uff09LED\u706f\u5206\u522b\u63a5\u5230\u4e3b\u82af\u7247\uff08PL\uff09\u90e8\u5206\u7684E19,K17,H18\u4e09\u4e2a\u7ba1\u811a\u4e0a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"282\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-26.png\" alt=\"\" class=\"wp-image-99\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-26.png 566w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-26-300x149.png 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f6c\u63a5\u677f\u4e0a\u5171\u67094\u4e2a\u6309\u952e\uff0c\u6211\u4eec\u7528\u677f\u5b50\u4e2d\u95f4\u7684\u6309\u952eKEY3\u6765\u5145\u5f53\u590d\u4f4d\u6309\u952e\u7684\u89d2\u8272<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"472\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-27.png\" alt=\"\" class=\"wp-image-100\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-27.png 718w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-27-300x197.png 300w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><figcaption class=\"wp-element-caption\">EBAZ4205\u677f\u5b50\u4e0a\u65f6\u949f\u90e8\u5206\u7535\u8def<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u65f6\u949f\u6211\u4eec\u9009\u62e9\u5728EBAZ4205\u677f\u5b50\u4e0a\u710a\u63a5\u4e00\u4e2a50MHZ\u7684\u6676\u632f\uff0c \u8be5\u6676\u632f\u65f6\u949f\u8f93\u51fa\u7ba1\u811a\u63a5\u5230FPGA\u7684N18\u811a\u4e0a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u5de5\u7a0b\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5de5\u7a0b\u521b\u5efa\u7684\u8fc7\u7a0b\u53ef\u4ee5\u53c2\u8003\u5b9e\u9a8c\u4e00\u4e2d\u7684\u5185\u5bb9\uff0c\u8fd9\u91cc\u4e0d\u8be6\u7ec6\u63cf\u8ff0\u4e86\u3002<a href=\"http:\/\/www.hellofpga.com\/index.php\/2021\/07\/17\/zynqplled\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u57fa\u4e8eEBAZ4205 \u7684FPGA\u5b9e\u9a8c\u4e00 \u7528ZYNQ\u7684PL\u8d44\u6e90\u70b9\u4eae\u4e00\u4e2aLED (\u5b8c\u6574\u56fe\u6587)<\/a> (\u82af\u7247\u578b\u53f7\u9009XC7Z010CLG400-1)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LED\u7684\u9a71\u52a8\u65b9\u5f0f\u6709\u5f88\u591a\u79cd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\uff09\u76f4\u9a71\u65b9\u5f0f\uff0c\u6bd4\u8f83\u7b80\u5355 \u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">module LED(\n\n    output LED1,\n    output LED2\n);\nassign LED1=1'b0;\nassign LED2=1'B1;\n\n    \nendmodule<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u79cd\u65b9\u5f0f\u76f8\u5f53\u4e8e\u628aLED\u7684\u8f93\u51fa\u53e3\u76f4\u63a5\u901a\u8fc7assign \u65b9\u5f0f\u5185\u90e8\u8fde\u63a5\u5230 VCC\uff0c\u548cGND\u4e0a\uff0c   \u5982\u4e0a\u9762\u4ee3\u7801\u4e2dLED1\u8fde\u63a5\u5230\u4e86GND\uff0c\u5904\u4e8e\u7184\u706d\u72b6\u6001\uff0cLED2\u8fde\u63a5\u5230\u4e86\u5185\u90e8\u7684VCC\u4e0a \u5904\u4e8e\u70b9\u4eae\u72b6\u6001<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355 \u6240\u4ee5\u4e0d\u4f5c\u5c55\u5f00<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2\uff09 \u63a5\u4e0b\u6765\u4ecb\u7ecd\u4e00\u79cd\u7528\u8ba1\u6570\u5668\u6765\u5206\u522b\u70b9\u4eae3\u4e2aLED\u706f\u6765\u5b9e\u73b0 \u6d41\u6c34\u706f\u7684\u6548\u679c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7531\u4e8e\u6211\u4eec\u677f\u5b50\u4e0a\u710a\u63a5\u7684\u662f\u4e00\u4e2a50Mhz\u7684\u6676\u632f\uff0c\u6240\u4ee5\u6bcf\u79d2\u949f\u6676\u4f53\u632f\u8361 50_000_000\u6b21\uff0c\u7528\u8ba1\u7b97\u5668\u770b50000000\u6362\u7b97\u6210\u4e8c\u8fdb\u5236\u5171\u5360\u752826\u4f4d\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u5b9a\u4e49\u4e00\u4e2a26bit \u7684\u5bc4\u5b58\u5668\u4f5c\u8ba1\u6570\u5668\u7528<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"319\" height=\"216\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-29.png\" alt=\"\" class=\"wp-image-104\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-29.png 319w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-29-300x203.png 300w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">reg [25:0]time_count; \/\/[25:0]\u4ee3\u886826bit<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">1<strong>\u79d2\u949f\u8ba1\u6570\u5668\u6a21\u5757<\/strong>\uff1a\u63a5\u4e0b\u6765\u662f\u7f16\u5199\u4e00\u4e2a\u5b8c\u6210\u76841\u79d2\u949f\u8ba1\u6570\u5668\u6a21\u5757<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    parameter T1MS = 26'd50_000_000 ; \/\/50M\u6676\u632f\u65f6\u949f\n    reg [25:0]time_count;\n    always@(posedge CLK or negedge RSTn)\n        if(!RSTn)begin\/\/\u5f53\u590d\u4f4d\u6761\u4ef6\u4e0b\uff0c\u8ba1\u6570\u5668\u8d4b\u521d\u503c0\n            time_count&lt;=26'd0;\n        end\n        else begin\/\/\u5f53\u4e0d\u5728\u590d\u4f4d\u6761\u4ef6\u4e0b\n            if(time_count&gt;=T1MS-1'b1)\/\/\u5982\u679c\u8ba1\u6570\u5668\u8fbe\u5230 50_000_000\u5219\u4ee3\u8868\u4e00\u79d2\u949f\u8ba1\u6570\u5b8c\u6210\n                time_count&lt;=26'd0;\n            else time_count&lt;=time_count+1'b1;\/\/\u5176\u4ed6\u60c5\u51b5\u4e0b\u8ba1\u6570\u5668\u81ea\u589e\n        end<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u4e2d parameter T1MS = 26\u2019d50_000_000 ; \u4e3a\u5b9a\u4e49\u4e00\u4e2a\u5e38\u91cf\uff0c\u524d\u9762\u6240\u8bf450M\u6676\u632f\u4e0b\uff0c1\u79d2\u949f\u6676\u4f53\u9707\u836150_000_000\u6b21<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">always@\uff08posedge CLK or negedge RSTn\uff09  \u4ee3\u8868\u6a21\u5757\u8fdb\u5165\u7684\u4e24\u4e2a\u6761\u4ef6\uff0c1\u662f\u7cfb\u7edf\u65f6\u949f\u7684\u4e0a\u5347\u6cbf\uff08posedge\uff09\uff0c\u53e6\u4e00\u79cd\u662f\u590d\u4f4d\u4fe1\u53f7\u7684\u4e0b\u964d\u6cbf(negedge)\uff0c\u4e5f\u5c31\u5f53\u7cfb\u7edf\u590d\u4f4d\u4fe1\u53f7\u6309\u4e0b\u77ac\u95f4\uff0c\u65f6\u949f\u6bcf\u6b21\u4e0a\u5347\u6cbf\u8fdb\u5165\u5e76\u6267\u884calways@\u5757\u4e2d\u7684\u5185\u5bb9<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u590d\u4f4d\u6761\u4ef6\u4e0b if(!RSTn)      \u7cfb\u7edf\u5bf9\u8ba1\u6570\u5668\u6a21\u5757\u8fdb\u884c\u521d\u59cb\u53160\u7684\u64cd\u4f5c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u7cfb\u7edf\u4e0d\u5904\u4e8e\u521d\u59cb\u5316\u60c5\u51b5\uff0c\u6bcf\u4e2a\u65f6\u949f\u4e0a\u5347\u6cbf time_count \u90fd\u81ea\u589e1\uff0c\u5f53 time_count &gt;= T1MS -1&#8217;b1\u65f6\uff0c\u5373\u8ba1\u6570\u8fbe\u52301\u79d2\u949f\u7684\u65f6\u95f4\u7684\u65f6\u5019\uff0c time_count \u518d\u6b21\u6e05\u96f6<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>LED\u706f\u5207\u6362\u6a21\u5757<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    reg [1:0]led_state;<br>    always@(posedge CLK or negedge RSTn)<br>        if(!RSTn)begin\/\/\u5f53\u590d\u4f4d\u6761\u4ef6\u4e0b\uff0c\u8ba1\u6570\u5668\u8d4b\u521d\u503c0<br>             led_state&lt;=2'd0;<br>        end<br>        else begin<br>             if(time_count==T1MS-1'b1)begin<br>                if(led_state>=2'd2)led_state&lt;=2'd0;<br>                else led_state&lt;=led_state+1'b1;    <br>            end<br>        end    <br>      <br>      assign LED1= (led_state==2'd0)?1'b1:1'b0;<br>      assign LED2= (led_state==2'd1)?1'b1:1'b0;<br>      assign LED3= (led_state==2'd2)?1'b1:1'b0;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u91cc\u5b9a\u4e49\u4e86\u4e00\u4e2a2bit\u7684led_state\u5bc4\u5b58\u5668\uff0c\u7528\u6765\u63a7\u5236\u5f53\u524d\u706f\u7684\u663e\u793a\u72b6\u6001\uff0c\u4ece\u7a0b\u5e8f\u4e0a\u53ef\u4ee5\u770b\u51fa\uff0c\u6bcf\u5f53 time_count==T1MS-1&#8217;b1 \u65f6\uff0c led_state \u57280-2\u53cd\u590d\u5faa\u73af\u81ea\u589e\u3002  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> led_state\u4ece0-2\u53cd\u590d\u5faa\u73af\uff0c\u6bcf\u4e00\u79cd\u72b6\u6001\u5bf9\u5e94\u4e00\u4e2aLED\u706f\u7684\u663e\u793a\uff0c\u5982 led_state =0\u65f6\uff0cLED1\u4eae\uff0c\u5f53 led_state =1\u65f6LED2\u4eae\uff0c\u5f53 led_state =3\u65f6LED=3\u4eae\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5de5\u7a0b\u5b8c\u6574\u4ee3\u7801\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">`timescale 1ns \/ 1ps\nmodule LED(\n    input  CLK,\/\/\u65f6\u949f\n    input  RSTn,\/\/\u590d\u4f4d\n    output LED1,\n    output LED2,\n    output LED3\n    );\n    \n    parameter T1MS = 26'd50_000_000 ; \/\/50M\u6676\u632f\u65f6\u949f\n    reg [25:0]time_count;\n    always@(posedge CLK or negedge RSTn)\n        if(!RSTn)begin\/\/\u5f53\u590d\u4f4d\u6761\u4ef6\u4e0b\uff0c\u8ba1\u6570\u5668\u8d4b\u521d\u503c0\n            time_count&lt;=26'd0;\n        end\n        else begin\/\/\u5f53\u4e0d\u5728\u590d\u4f4d\u6761\u4ef6\u4e0b\n            if(time_count&gt;=T1MS-1'b1)\/\/\u5230\u8fbe1\u79d2\u949f\n                time_count&lt;=26'd0;\n            else time_count&lt;=time_count+1'b1;\/\/\u5176\u4ed6\u60c5\u51b5\u4e0b\u8ba1\u6570\u5668\u81ea\u589e\n        end\n        \n    reg [1:0]led_state;\n    always@(posedge CLK or negedge RSTn)\n        if(!RSTn)begin\/\/\u5f53\u590d\u4f4d\u6761\u4ef6\u4e0b\uff0c\u8ba1\u6570\u5668\u8d4b\u521d\u503c0\n             led_state&lt;=2'd0;\n        end\n        else begin\n             if(time_count==T1MS-1'b1)begin\/\/\u4e00\u79d2\u949f\n                if(led_state&gt;=2'd2)led_state&lt;=2'd0;\/\/\u4ece0-2\u53cd\u590d\u5faa\u73af\n                else led_state&lt;=led_state+1'b1;\/\/\u81ea\u589e \n            end\n        end    \n      \n      assign LED1= (led_state==2'd0)?1'b1:1'b0;\n      assign LED2= (led_state==2'd1)?1'b1:1'b0;\n      assign LED3= (led_state==2'd2)?1'b1:1'b0;\n      \nendmodule\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001\u7ba1\u811a\u7ea6\u675f\u6587\u4ef6\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u9762\u7684\u90e8\u5206\u548c\u7b2c\u4e00\u4e2a\u5b9e\u9a8c\u7684\u521b\u5efa\u5927\u81f4\u76f8\u540c\uff0c\u53ef\u4ee5\u53c2\u8003\u5b9e\u9a8c\u4e00\uff0c\u7ea6\u675f\u6587\u4ef6\u90e8\u5206\u5b9e\u9a8c\u4e00\u901a\u8fc7\u56fe\u5f62\u754c\u9762\u8bbe\u7f6e\u81ea\u52a8\u751f\u6210\uff0c \u672c\u5b9e\u9a8c\u6211\u4eec\u7528\u4e0d\u540c\u7684\u65b9\u5f0f\u8fdb\u884c\u7ea6\u675f\u6587\u4ef6\u521b\u5efa\uff0c\u5177\u4f53\u64cd\u4f5c\u5982\u4e0b:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\uff09\u65b0\u5efa\u4e00\u4e2a\u7ea6\u675f\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"415\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-7.png\" alt=\"\" class=\"wp-image-974\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-7.png 703w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-7-300x177.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\uff09 \u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4f9d\u6b21\u70b9create file \u5e76\u4e14\u5728file name\u4e2d\u586b\u5165\u7ea6\u675f\u6587\u4ef6\u7684\u6587\u4ef6\u540d \uff0c\u5b8c\u6210\u540e\u70b9ok \u548cfinish<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"451\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-9.png\" alt=\"\" class=\"wp-image-976\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-9.png 663w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-9-300x204.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><figcaption class=\"wp-element-caption\">\u3001<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3\uff09\u5982\u4e0b\u56fe\u65b9\u5f0f\u6253\u5f00\u7ea6\u675f\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"449\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-37-1024x449.png\" alt=\"\" class=\"wp-image-9731\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-37-1024x449.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-37-300x132.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-37-768x337.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-37.png 1060w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4\uff09\u5728\u7ea6\u675f\u6587\u4ef6\u4e2d\u586b\u5165\u7ea6\u675f\u4fe1\u606f\uff08\u7ba1\u811a\u5b9a\u4e49,\u7ba1\u811a\u7535\u538b\u7b49\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">set_property IOSTANDARD LVCMOS33 [get_ports LED1]<br>set_property IOSTANDARD LVCMOS33 [get_ports LED2]<br>set_property IOSTANDARD LVCMOS33 [get_ports LED3]<br>set_property IOSTANDARD LVCMOS33 [get_ports CLK]<br>set_property IOSTANDARD LVCMOS33 [get_ports RSTn]<br>set_property PACKAGE_PIN H18 [get_ports LED1]<br>set_property PACKAGE_PIN K17 [get_ports LED2]<br>set_property PACKAGE_PIN E19 [get_ports LED3]<br>set_property PACKAGE_PIN N18 [get_ports CLK]<br>set_property PACKAGE_PIN U20 [get_ports RSTn]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u9879\u76ee\u7ea6\u675f\u6587\u4ef6\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5de5\u7a0b\u4e00\u7684\u56fe\u5f62\u754c\u9762\u8bbe\u7f6e\uff0c\u81ea\u52a8\u751f\u6210<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u56db\u3001\u5de5\u7a0b\u7f16\u8bd1\u7efc\u5408\u548c\u4e0b\u8f7d\u8c03\u8bd5<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1\uff09\u5c06\u7a0b\u5e8f\u8fdb\u884c\u7f16\u8bd1\u7efc\u5408\uff0c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"107\" height=\"72\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-10.png\" alt=\"\" class=\"wp-image-983\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"194\" height=\"96\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-11.png\" alt=\"\" class=\"wp-image-985\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\uff09\u5e76\u7528JTAG \u53e3\u5c06\u7a0b\u5e8f\u4e0b\u8f7d\u5230\u677f\u5b50\u4e0a\uff08\u6b65\u9aa4\u53ef\u53c2\u770b\u5b9e\u9a8c\u4e00\uff09, \u53ef\u4ee5\u770b\u5230 \u8f6c\u63a5\u677f\u4e0a3\u4e2a\u706f\u4f9d\u6b21\u6309\u4e00\u79d2\u949f\u7684\u95f4\u9694\u9891\u7387\u95ea\u70c1\uff0c\u5e76\u4e14\u6309\u4e0b\u8f6c\u63a5\u677f\u4e2d\u95f4\u7684\u6309\u952eKEY3(\u7a0b\u5e8f\u5b9a\u4e49\u7684\u590d\u4f4d\u952e\uff09\u706f\u6062\u590d\u5230\u521d\u59cb\u72b6\u6001\uff08\u5907\u6ce8 \u5982\u679c\u4e0b\u8f7d\u7684\u65f6\u5019bit\u6587\u4ef6\u6ca1\u6709\u51fa\u73b0 \u53ef\u4ee5\u624b\u52a8\u6dfb\u52a0bit\u6587\u4ef6\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"592\" height=\"174\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-57.png\" alt=\"\" class=\"wp-image-2426\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-57.png 592w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-57-300x88.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u672c\u7ae0\u8282\u7684\u5de5\u7a0b\uff1a<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u672c\u6587\u7684\u5b8c\u6574\u5de5\u7a0b\u4e0b\u8f7d:\u00a0<a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/02_PL_LED_WATER.zip\">02_PL_LED_WATER<\/a><\/strong><\/li>\n\n\n\n<li><strong>VIVADO\u7684\u7248\u672c\uff1a2018.3<\/strong><\/li>\n\n\n\n<li><strong>\u5de5\u7a0b\u9002\u7528\u4e3b\u677f: EBAZ4205\u4e3b\u677f+\u8f6c\u63a5\u677f<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728EBAZ4205\u5e73\u53f0\u4e0a\u7528PL\u8d44\u6e90\u4ee5\u6d41\u6c34\u706f\u7684\u5f62\u5f0f\u540c\u65f6\u70b9\u4eae\u4e09\u4e2aLED\u706f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-ebaz4205"],"views":1354,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":17,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":9732,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/96\/revisions\/9732"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}