{"id":10539,"date":"2025-11-14T13:32:49","date_gmt":"2025-11-14T05:32:49","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=10539"},"modified":"2025-11-25T16:05:47","modified_gmt":"2025-11-25T08:05:47","slug":"led_water","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2025\/11\/14\/led_water\/","title":{"rendered":"\u57fa\u4e8eSmart Artix \u7684FPGA\u5b9e\u9a8c\u4e8c \u7528FPGA\u8d44\u6e90\u8bbe\u8ba1\u6d41\u6c34\u706f"},"content":{"rendered":"\n<p>\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\u5206\u65f6\u70b9\u4eae\u4e24\u4e2aLED\u706f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6b64\u7ae0\u8282\u5185\u5bb9\u9002\u7528\u4e8eSmart Artix \u7684\u4e3b\u677f \uff0c\u5982\u662f\u672c\u7ad9\u5176\u4ed6\u677f\u5b50\u8bf7\u770b\u5bf9\u5e94\u677f\u5b50\u76ee\u5f55<\/strong><\/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>\u4e00\u3001\u539f\u7406\u56fe\u5206\u6790<\/strong><\/h2>\n\n\n\n<p><strong>LED\u706f\uff1a<\/strong>\u4ece\u4e0b\u9762\u7535\u8def\u56fe\u53ef\u4ee5\u770b\u51fa\u4e24\u4e2a\u4e2aLED\u706f\u7684\u9634\u6781\u63a5\u7684GND\uff0c \u5219FPGA\u63a5LED\u7684\u7ba1\u811a\u8f93\u51fa\u4e3a\u9ad8\u7535\u5e73LED\u706f\u70b9\u4eae\uff0cFPGA\u63a5LED\u7684\u7ba1\u811a\u8f93\u51fa\u4e3a\u4f4e\u7535\u5e73 LED \u7184\u706d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"573\" height=\"549\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-7.png\" alt=\"\" class=\"wp-image-10541\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-7.png 573w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-7-300x287.png 300w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/figure>\n\n\n\n<p><strong>\u6309\u952e\uff1a<\/strong>\u677f\u5b50\u4e0a\u6709\u4e09\u4e2a\u6309\u952e\uff0c\u5176\u4e2dKEY3\u53ef\u4ee5\u5145\u5f53\u590d\u4f4d\u529f\u80fd\uff08\u4e5f\u5e26RC\u590d\u4f4d\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"846\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-8.png\" alt=\"\" class=\"wp-image-10543\" style=\"width:502px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-8.png 624w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-8-221x300.png 221w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u5de5\u7a0b\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p>\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\/2023\/04\/27\/smart-zynq_sp_sl_01_led\/\"><\/a><a href=\"http:\/\/www.hellofpga.com\/index.php\/2025\/11\/14\/led_test\/\">\u57fa\u4e8eSmart Artix \u7684FPGA\u5b9e\u9a8c\u4e00 \u7528FPGA\u8d44\u6e90\u70b9\u4eae\u4e00\u4e2aLED\uff08\u5b8c\u6574\u56fe\u6587\uff09<\/a>&nbsp;(\u82af\u7247\u578b\u53f7\u9009XC7A50TFGG484-2)<\/p>\n\n\n\n<p>LED\u7684\u9a71\u52a8\u65b9\u5f0f\u6709\u5f88\u591a\u79cd<\/p>\n\n\n\n<p>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(<br><br>    output LED1,<br>    output LED2<br>);<br>assign LED1=1'b0;<br>assign LED2=1'b1;<br><br>endmodule<\/pre>\n\n\n\n<p>\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>\u8fd9\u4e2a\u4ee3\u7801\u6bd4\u8f83\u7b80\u5355 \u6240\u4ee5\u4e0d\u4f5c\u5c55\u5f00<\/p>\n\n\n\n<p>2\uff09 \u63a5\u4e0b\u6765\u4ecb\u7ecd\u4e00\u79cd\u7528\u8ba1\u6570\u5668\u6765\u5206\u522b\u70b9\u4eae\u4e24\u4e2aLED\u706f\u6765\u5b9e\u73b0 \u6d41\u6c34\u706f\u7684\u6548\u679c<\/p>\n\n\n\n<p>\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\"><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>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>\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>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>\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>\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\u2019b1\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><strong>LED\u706f\u5207\u6362\u6a21\u5757<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    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'd1)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;<\/pre>\n\n\n\n<p>\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\u2019b1 \u65f6\uff0c led_state \u57280-1\u53cd\u590d\u5faa\u73af\u81ea\u589e\uff08\u5982\u679c\u6709\u591a\u4e2a\u706f\uff0c\u53ef\u4ee5\u5728\u8fd9\u91cc\u8fdb\u884c\u4fee\u6539\uff0c\u6bd4\u65b9\u8bf43\u4e2a\u706f\u53ef\u4ee5\u4fee\u6539\u6210 0-1-2\uff0c \u591a\u4e2a\u706f\u7684\u60c5\u51b5\u4e0b\u9700\u8981\u5bf9led_state\u4f4d\u5bbd\u8fdb\u884c\u4fee\u6539\uff09\u3002<\/p>\n\n\n\n<p>led_state\u4ece0-1\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\u4f9d\u6b21\u53cd\u590d\u3002<\/p>\n\n\n\n<p><strong>\u5de5\u7a0b\u5b8c\u6574\u4ee3\u7801\u5982\u4e0b<\/strong><\/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    );\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)\/\/\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\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'd1)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      \nendmodule<\/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>\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>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>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>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=\"522\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-9-1024x522.png\" alt=\"\" class=\"wp-image-10548\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-9-1024x522.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-9-300x153.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-9-768x392.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-9.png 1374w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>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\"># Clock Constraints<br>set_property PACKAGE_PIN Y18 [get_ports CLK]<br>set_property IOSTANDARD LVCMOS33 [get_ports CLK]<br><br># Reset Constraints (active-low reset)<br>set_property PACKAGE_PIN T20 [get_ports RSTn]<br>set_property IOSTANDARD LVCMOS33 [get_ports RSTn]<br><br># LED Constraints<br>set_property PACKAGE_PIN R17 [get_ports LED1]<br>set_property IOSTANDARD LVCMOS33 [get_ports LED1]<br>set_property PACKAGE_PIN P16 [get_ports LED2]<br>set_property IOSTANDARD LVCMOS33 [get_ports LED2]<br><br># Define the clock period for 50 MHz<br>create_clock -period 20.000 -name CLK -waveform {0.000 10.000} [get_ports CLK]<\/pre>\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>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>2\uff09\u5e76\u7528TYPE C\u7ebf\u8fde\u63a5JTAG \u53e3\u5c06\u7a0b\u5e8f\u4e0b\u8f7d\u5230\u677f\u5b50\u4e0a\uff08\u6b65\u9aa4\u53ef\u53c2\u770b\u5b9e\u9a8c\u4e00\uff09, \u53ef\u4ee5\u770b\u5230\u4e3b\u4e0a\u4e24\u4e2a\u4e2a\u706f\u4f9d\u6b21\u6309\u4e00\u79d2\u949f\u7684\u95f4\u9694\u9891\u7387\u95ea\u70c1\uff0c\u5e76\u4e14\u6309\u4e0bReset KEY \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 size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"480\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-25.png\" alt=\"\" class=\"wp-image-10687\" style=\"width:465px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-25.png 612w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/image-25-300x235.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/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\uff1a<a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/11\/02_LED_WATER.zip\">02_LED_WATER<\/a> (\u9002\u7528\u4e8eSmart Artix 50T)<\/strong><\/li>\n\n\n\n<li><strong>VIVADO\u7684\u7248\u672c\uff1a2018.3<\/strong><\/li>\n\n\n\n<li><strong>\u5de5\u7a0b\u521b\u5efa\u76ee\u5f55\uff1a E:\\Smart_Artix\\4_Code\\02_LED_WATER<\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LED \u6d41\u6c34\u706fDEMO<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-10539","post","type-post","status-publish","format-standard","hentry","category-smart-artix"],"views":318,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/10539","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=10539"}],"version-history":[{"count":10,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/10539\/revisions"}],"predecessor-version":[{"id":10689,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/10539\/revisions\/10689"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=10539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=10539"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=10539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}