{"id":8404,"date":"2024-10-24T21:11:11","date_gmt":"2024-10-24T13:11:11","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=8404"},"modified":"2025-02-22T20:15:32","modified_gmt":"2025-02-22T12:15:32","slug":"lemon_zynq_petalinux_01","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2024\/10\/24\/lemon_zynq_petalinux_01\/","title":{"rendered":"\u57fa\u4e8eLemon Zynq \u7684Petalinux\u5f00\u53d1 \u7ae0\u8282\u4e00 Vivado \u57fa\u7840\u786c\u4ef6\u5de5\u7a0b\u642d\u5efa"},"content":{"rendered":"\n<p>\u672c\u6587\u4e3b\u8981\u6f14\u793a\u9488\u5bf9Petalinux \u57fa\u7840\u529f\u80fd\u7684 Vivado \u786c\u4ef6\u5de5\u7a0b\u642d\u5efa<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6b64\u7ae0\u8282\u5185\u5bb9\u9002\u7528\u4e8eLemon ZYNQ\u4e3b\u677f\uff0c\u5982\u662f\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 \u4ee5\u53ca Petalinux2018.3 \u7248\u672c\u4e0a\u8fdb\u884c\u6f14\u793a<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Lemon Zynq\u7684Petalinux \u7684\u57fa\u7840\u786c\u4ef6\u5de5\u7a0b\u5c06\u4e0d\u518d\u7ec6\u5206\u6bcf\u4e00\u4e2a\u529f\u80fd\u6a21\u5757\uff0c\u800c\u662f\u5c06Petalinux \u53ef\u80fd\u7528\u5230\u7684\u57fa\u7840\u529f\u80fd\u5305\u62ec UART\uff0c\u5343\u5146\u7f51\u7edcNET\uff0cUSB HOST\uff0cSD\uff0cFLASH\uff0cLED \u548c\u6309\u952e\u7b49\u57fa\u7840\u529f\u80fd\u90fd\u4e00\u5e76\u8fdb\u884c\u6dfb\u52a0\uff0c\u6765\u65b9\u4fbf\u5927\u5bb6\u5728\u6700\u77ed\u7684\u65f6\u95f4\u5185\u5c06Petalinux\u7684\u57fa\u7840\u529f\u80fd\u8dd1\u8d77\u6765\u3002 \u7b49\u719f\u6089\u8fd9\u4e2a\u6d41\u7a0b\u540e\uff0c\u5927\u5bb6\u5c31\u53ef\u4ee5\u5728\u8fd9\u4e2a\u5de5\u7a0b\u7684\u57fa\u7840\u4e0a\u518d\u8fdb\u884c\u5176\u4ed6\u529f\u80fd\u7684\u4e8c\u6b21\u5f00\u53d1\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u672c\u6b21\u57fa\u7840\u5de5\u7a0b\u5c06\u6dfb\u52a0\u4e0b\u5217\u786c\u4ef6\u529f\u80fd\uff1a<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>512MB DDR\u8bbe\u7f6e <\/li>\n\n\n\n<li>QSPI FLASH   <\/li>\n\n\n\n<li>SD  <\/li>\n\n\n\n<li>USB  <\/li>\n\n\n\n<li>UART<\/li>\n\n\n\n<li>Emio X8 \uff08LED X4  , KEY X4\uff09<\/li>\n\n\n\n<li>NET<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001Vivado\u5de5\u7a0b\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p>1\uff09\u6253\u5f00Vivado \u65b0\u5efa\u4e00\u4e2a\u9879\u76ee\uff0c \u65b0\u5efa\u4e00\u4e2aVIVADO \u5de5\u7a0b\uff0c\u6253\u5f00\u8f6f\u4ef6 \u9009\u4e2dCreate Project, \u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"230\" height=\"136\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/Create-Project.png\" alt=\"\" class=\"wp-image-35\"\/><\/figure>\n\n\n\n<p>2\uff09\u70b9\u51fbNEXT \uff0c\u5728\u51fa\u73b0\u7684\u7b2c\u4e8c\u4e2a\u5bf9\u8bdd\u6846\u201cProject name\u201d\u4e2d\u8f93\u5165\u5de5\u7a0b\u540d\uff1b\u5728\u201cProject location\u201d\u4e2d\u9009\u62e9\u4fdd\u5b58\u8def\u5f84\uff1b\u52fe\u9009\u201cCreate project subdirectory\u201d\uff08\u9ed8\u8ba4\uff09\uff0c\u6700\u540e\u70b9\u51fb\u201cNext\u201d&nbsp;<strong>\u5907\u6ce8\uff0c\u6240\u6709\u7684\u8def\u5f84\u5747\u4e0d\u80fd\u51fa\u73b0\u4e2d\u6587\u540d\u79f0<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"353\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-101-1024x353.png\" alt=\"\" class=\"wp-image-8414\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-101-1024x353.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-101-300x104.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-101-768x265.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-101.png 1156w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3)\u70b9\u51fb RTL PROJECT \u9009\u9879\uff0c\u70b9\u51fbNEXT<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"466\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image.png\" alt=\"\" class=\"wp-image-40\" style=\"width:586px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image.png 681w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-300x205.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>4\uff09 \u7b2c\u56db\u6b65Add Sources \u9009\u9879\u76f4\u63a5\u7559\u7a7a\uff0cNEXT<\/p>\n\n\n\n<p>5\uff09\u7b2c\u4e94\u6b65Add Constraints \u9009\u9879\u76f4\u63a5\u7559\u7a7a\uff0cNEXT<\/p>\n\n\n\n<p id=\"block-a1671c8c-383c-405f-a6b9-0831d593dfff\">6) \u9009\u62e9\u82af\u7247\u578b\u53f7\u00a0 \u677f\u5b50\u7684\u82af\u7247\u578b\u53f7\u4e3a XC7Z020 \u5c01\u88c5\u662fCLG400 \u6240\u4ee5\u578b\u53f7\u6211\u4eec\u9009\u62e9 xc7z020clg400-1 \uff08\u5982\u679c\u662fXA7Z020\u7684\u8f66\u89c4\u7ea7\u82af\u7247\u7248\u672c\uff0c\u8fd9\u91cc\u4e5f\u9009xc7z020clg400-1\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-3-1024x562.png\" alt=\"\" class=\"wp-image-7287\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-3-1024x562.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-3-300x165.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-3-768x421.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-3.png 1152w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>7\uff09\u786e\u8ba4\u6240\u9009\u4fe1\u606f \u70b9\u51fb\u201cFinish\u201d\uff0c\u5b8c\u6210vivado\u7684\u5de5\u7a0b\u521b\u5efa<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"987\" height=\"453\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-103.png\" alt=\"\" class=\"wp-image-8416\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-103.png 987w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-103-300x138.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-103-768x352.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e \u5de5\u7a0b\u5c31\u65b0\u5efa\u597d\u4e86\uff0c vivado \u8fdb\u5165\u5230\u5f00\u53d1\u754c\u9762<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"541\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-104-1024x541.png\" alt=\"\" class=\"wp-image-8417\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-104-1024x541.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-104-300x159.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-104-768x406.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-104-1536x812.png 1536w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-104-2048x1083.png 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u521b\u5efa\u4e00\u4e2aBLOCK\u8bbe\u8ba1<\/strong><\/h2>\n\n\n\n<p>1\uff09IP INTEGRATOR\u2192Create Block Design\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u8f93\u5165\u8bbe\u8ba1\u540d\uff0c\u6700\u540e\u70b9\u51fb\u201cOK\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"283\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-1.png\" alt=\"\" class=\"wp-image-183\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-1.png 599w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-1-300x142.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/figure>\n\n\n\n<p>2) \u5728\u53f3\u4fa7\u7684\u7a97\u53e3\u91cc \uff0c\u70b9\u51fb\u52a0\u53f7\uff0c\u5728\u9009\u62e9\u6846\u91cc\u641c\u7d22ZYNQ\uff0c\u5e76\u627e\u5230ZYNQ7 PROCESSING SYSTEM \uff0c\u53cc\u51fb\u5e76\u6253\u5f00<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"477\" height=\"271\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-2.png\" alt=\"\" class=\"wp-image-184\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-2.png 477w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-2-300x170.png 300w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/figure>\n\n\n\n<p>3\uff09\u8f6f\u4ef6\u81ea\u52a8\u751f\u6210\u4e86\u4e00\u4e2a zynq\u7684block \u5982\u4e0b\u56fe\u6240\u793a\uff0c\u63a5\u4e0b\u6765\u8981\u505a\u4e00\u4e9b\u76f8\u5e94\u7684\u8bbe\u7f6e\uff0c\u53cc\u51fb\u4e0b\u56fe\u4e2d\u7684ZYNQ\u6838<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"266\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3.png\" alt=\"\" class=\"wp-image-186\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3.png 505w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3-300x158.png 300w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" \/><\/figure>\n\n\n\n<p>4\uff09\u4f9d\u6b21\u5728\u5f39\u7a97\u91cc\u627e\u5230DDR Configuration\u2192DDR Controller Configuration\u2192DDR3\uff0c\u5728Memory Part\u4e0b\u62c9\u83dc\u5355\u4e2d\u6839\u636e\u81ea\u5df1\u677f\u5b50\u4e0a\u7684DDR\u6765\u9009\u62e9\u76f8\u5e94\u7684DDR3\uff0c\u672c\u5b9e\u9a8c\u6240\u7528\u5230\u578b\u53f7\uff1aMT41K256M16RE-125\uff0c\u6570\u636e\u4f4d\u5bbd\u9009\u62e916bit \u6700\u540e\u70b9\u51fb\u201cOK\u201d,\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"788\" height=\"453\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70.png\" alt=\"\" class=\"wp-image-2527\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70.png 788w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70-300x172.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70-768x442.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-5d6f48aeb81b7626ea9d080b54558a8d\"><strong>5\uff09\u56e0\u4e3aLemon ZYNQ\u4e3b\u677f\u7684PS\u65f6\u949f\u662f50M\u7684\u6676\u632f\u8f93\u5165\u7684\uff0c\u6240\u4ee5\u8fd9\u91cc\u9700\u8981\u628a\u9ed8\u8ba4\u7684PS\u8f93\u5165\u65f6\u949f33.33M\u6539\u621050M <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-22-1024x531.png\" alt=\"\" class=\"wp-image-7455\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-22-1024x531.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-22-300x156.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-22-768x398.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-22.png 1060w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>6\uff09\u4f7f\u80fdQSPI\u7684\u529f\u80fd \u5982\u4e0b\u56fe\u6240\u793a\uff08\u5f53QSPI \u65f6\u949f\u5927\u4e8e40MHZ\u7684\u65f6\u5019 \u5c31\u9700\u8981\u52fe\u9009Feedback clk\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"531\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-56.png\" alt=\"\" class=\"wp-image-1089\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-56.png 643w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-56-300x248.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<p>7\uff09 \u56e0\u4e3a\u6211\u4eecLemon ZYNQ \u7684USB\u529f\u80fd\uff0cSD\u529f\u80fd\uff0c\u548c\u7f51\u7edc\u529f\u80fd\u90fd\u662f\u63a5\u5728\u82af\u7247\u7684BANK501\u4e0a\u7684\uff0c\u800cbank501\u5728\u786c\u4ef6\u4e0a\u63a5\u76841.8Vbank\u7535\u538b\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u9700\u8981\u624b\u52a8\u5bf9ZYNQ\u7684BANK1\uff08501\uff09 I\/O \u7535\u538b\u8bbe\u7f6e\u6210LVCMOS 1.8V\u3002 <strong>\u91cd\u8981<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"399\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-95-1024x399.png\" alt=\"\" class=\"wp-image-8364\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-95-1024x399.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-95-300x117.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-95-768x299.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-95.png 1056w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>8\uff09\u4f7f\u80fdSD 0\u7684\u529f\u80fd   MIO40-45<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"179\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/03\/image-5.png\" alt=\"\" class=\"wp-image-584\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/03\/image-5.png 575w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/03\/image-5-300x93.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p>9) \u4f7f\u80fd ENET0 \u548c MDIO \u529f\u80fd\uff0c ENET0\u5bf9\u5e94MIO 16-27 MDIO\u5bf9\u5e94 MIO52-53<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"470\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-54-1024x470.png\" alt=\"\" class=\"wp-image-7619\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-54-1024x470.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-54-300x138.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-54-768x352.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-54.png 1105w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u7f51\u7edc\u90e8\u5206\u8fd8\u6709\u4e2aReset \u4fe1\u53f7\uff0c\u7535\u8def\u4e0a\u662f\u63a5\u5728MIO9\u7684\uff0c\u9700\u8981\u5148\u4f7f\u80fdGPIO MIO\u529f\u80fd\uff0c\u518d\u5bf9ENET0 reset\u811a\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"311\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-55-1024x311.png\" alt=\"\" class=\"wp-image-7620\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-55-1024x311.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-55-300x91.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-55-768x233.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-55.png 1412w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>MIO\u7684\u7f51\u7edc\u8fd8\u8981\u68c0\u67e5\u65f6\u949f\uff0c\u4ee5\u514d\u6700\u540e\u4e0d\u80fd\u8bbf\u95ee\u7f51\u7edc\uff0c\u8fd9\u91ccENET0 \u7684Clock Source<strong> \u4e00\u5b9a\u8981\u662fIO PLL<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"400\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-114-1024x400.png\" alt=\"\" class=\"wp-image-8430\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-114-1024x400.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-114-300x117.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-114-768x300.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-114.png 1059w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>10\uff09\u4f7f\u80fdzynq\u7684USB0\u529f\u80fd  <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"224\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-1.png\" alt=\"\" class=\"wp-image-2807\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-1.png 677w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-1-300x99.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<p>\u53e6\u5916 \u7531\u4e8e\u6211\u4eec\u7684USB PHY\u7684\u4fe1\u53f7\u662f\u63a5\u5728mio\u768446\u811a\u4e0a \u6240\u4ee5\u8fd9\u91cc\u540c\u6837\u9700\u8981\u4f7f\u80fd MIO\u7684USB RST\u4fe1\u53f7\uff08\u7cfb\u7edf\u540c\u65f6\u4f1a\u9ed8\u8ba4\u52fe\u9009I2C\u590d\u4f4d \uff0c\u53ef\u4ee5\u5173\u95ed\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"613\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-113-1024x613.png\" alt=\"\" class=\"wp-image-8429\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-113-1024x613.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-113-300x180.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-113-768x460.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-113.png 1203w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>11) \u4f7f\u80fdUART 0  \u9009\u62e9MIO\u65b9\u5f0f\uff0c\u4e0b\u62c9\u83dc\u5355\u91cc\u9009\u62e9MIO14-15<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"835\" height=\"337\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-52.png\" alt=\"\" class=\"wp-image-7611\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-52.png 835w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-52-300x121.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-52-768x310.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>12\uff09 \u5230\u8fd9\u91cc\uff0cZYNQ\u5185\u6838\u5c31\u5df2\u7ecf\u6309\u7167\u6211\u4eec\u7684\u9884\u8bbe\u914d\u7f6e\u597d\u4e86\uff0c\u63a5\u4e0b\u6765\u6309\u7167\u6211\u4eec\u7684\u9884\u671f\u6dfb\u52a08\u4e2aIO\u53e3\uff0c\u7528\u4e8e4\u4e2aLED\u706f\uff0c\u548c4\u4e2a\u6309\u952e\uff0c\u4f5c\u5b9e\u9a8c\u7528\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1002\" height=\"607\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-110.png\" alt=\"\" class=\"wp-image-8426\" style=\"width:639px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-110.png 1002w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-110-300x182.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-110-768x465.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>13 \uff09\u56e0\u4e3a\u5de5\u7a0b\u6682\u65f6\u7528\u4e0d\u5230 AXI\u529f\u80fd\uff0c\u6240\u4ee5\u53ef\u4ee5\u5148\u7981\u7528AXI\u529f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"282\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-131.png\" alt=\"\" class=\"wp-image-1377\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-131.png 696w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-131-300x122.png 300w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p>14\uff09\u4e4b\u540e\u6309\u4e0bOK\u952e\u5b8c\u6210ZYNQ\u7684\u914d\u7f6e\u3002\u56de\u5230BD\u754c\u9762<\/p>\n\n\n\n<p>15\uff09 \u6309\u4e0b Run Block Automation \uff0c\u5e76\u6309\u4e0bOK\u952e<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"667\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-111-1024x667.png\" alt=\"\" class=\"wp-image-8427\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-111-1024x667.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-111-300x195.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-111-768x500.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-111.png 1395w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>16\uff09 \u5c06\u6211\u4eec\u7684EMIO GPIO \u901a\u8fc7 External \u7684\u65b9\u5f0f\u6620\u5c04\u51fa\u6765\uff0c\u53f3\u952e External<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"498\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-112.png\" alt=\"\" class=\"wp-image-8428\" style=\"width:449px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-112.png 912w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-112-300x164.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-112-768x419.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"333\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-115.png\" alt=\"\" class=\"wp-image-8433\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-115.png 754w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-115-300x132.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>17\uff09source\u2192Design Source \uff0c\u53f3\u952e\u6211\u4eec\u521b\u5efa\u7684BLOCK\u5de5\u7a0b\uff0c\u70b9\u51fbcreate HDL wrapper\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"271\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-12.png\" alt=\"\" class=\"wp-image-195\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-12.png 446w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-12-300x182.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/figure>\n\n\n\n<p>18\uff09\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u91cc\u4fdd\u6301\u9ed8\u8ba4<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"281\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-13.png\" alt=\"\" class=\"wp-image-196\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-13.png 492w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-13-300x171.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure>\n\n\n\n<p>19\uff09\u8f6f\u4ef6\u81ea\u52a8\u4e3a\u6211\u4eec\u751f\u6210HDL\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-14.png\" alt=\"\" class=\"wp-image-197\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-14.png 375w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-14-300x168.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<p>\u81f3\u6b64\uff0cBlock Design \u90e8\u5206\u5df2\u7ecf\u8bbe\u7f6e\u5b8c\u6210\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001\u6dfb\u52a0\u6211\u4eec\u7684FPGA\u90e8\u5206\u9876\u5c42TOP_module\u4ee3\u7801\uff0c\u5e76\u4f8b\u5316ZYNQ\u6a21\u5757<\/strong><\/h2>\n\n\n\n<p>\u5176\u5b9e\u8fd9\u91cc\u6211\u4eec\u4e0d\u589e\u52a0\u9876\u5c42\u6a21\u5757\uff0c\u76f4\u63a5\u7f16\u8bd1\u7efc\u5408\u4e5f\u662f\u53ef\u4ee5\uff0c\u4f46\u662f\u8003\u8651\u5230\u6211\u4eec\u7684\u5de5\u7a0b\u540e\u7eed\u53ef\u80fd\u4f1a\u6dfb\u52a0PL\u90e8\u5206\uff08\u5373FPGA\uff09\u7684\u4ee3\u7801\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u8fd8\u662f\u589e\u52a0\u4e86\u9876\u5c42\u6a21\u5757\u3002<\/p>\n\n\n\n<p id=\"block-b4987e22-79b1-4651-bd74-8fddeaf35076\">1\uff09\u5728\u4e3b\u754c\u9762\u70b9\u51fb\u5de6\u4fa7 Add Sources ,\u70b9\u51fb \u590d\u9009\u6846\u7684Add or create design sources \u9009\u9879 \u5e76\u70b9\u51fbNEXT<\/p>\n\n\n\n<figure class=\"wp-block-image\" id=\"block-b6843c17-66a2-41ea-ac03-85e778afd2f6\"><img decoding=\"async\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-5.png\" alt=\"\u6b64\u56fe\u7247\u7684 alt \u5c5e\u6027\u4e3a\u7a7a\uff1b\u6587\u4ef6\u540d\u4e3a image-5.png\"\/><\/figure>\n\n\n\n<p id=\"block-d86ae567-3202-4c40-90a8-d2c7b308f677\">2\uff09\u5728\u51fa\u73b0\u7684Add Sources \u4e2d \u9009\u62e9\u521b\u5efa\u65b0\u6587\u4ef6 Create FILE \u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5e76\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d \u9009\u62e9\u7c7b\u522b\u4e3aVerilog \uff0c\u5728FILE name\u4e2d\u586b\u5199\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u8fd9\u91cc\u7528TopModule\u4ee3\u66ff\uff0c\u70b9\u51fbOK \u5e76\u70b9\u51fbFINISH<\/p>\n\n\n\n<p id=\"block-d86ae567-3202-4c40-90a8-d2c7b308f677\">3\uff09\u5728\u8df3\u51fa\u7684\u7a97\u53e3\u4e2d\u53ef\u4ee5\u586b\u5199\u6a21\u5757\u7684\u8f93\u5165\u8f93\u51fa\u4fe1\u53f7\uff0c\u7531\u4e8e\u8fd9\u90e8\u5206\u5de5\u4f5c\u5728\u4ee3\u7801\u4e2d\u53ef\u4ee5\u5b8c\u6210\uff0c\u6240\u4ee5\u8fd9\u91cc\u76f4\u63a5\u70b9OK \u5b8c\u6210VERILOG \u6587\u4ef6\u7684\u521b\u5efa\u3002<\/p>\n\n\n\n<p id=\"block-a1b54f22-724a-46ed-be16-aab8d649724f\">4\uff09\u53cc\u51fb\u6253\u5f00\u521a\u624d\u521b\u5efa\u7684TopModule\u6587\u4ef6 \uff0c\u8fd9\u91cc\u6211\u4eec\u53ef\u4ee5\u6dfb\u52a0\u6211\u4eec\u7684FPGA\u4ee3\u7801\uff0c\u5982\u70b9\u706f\u4ee3\u7801\u7b49\uff0c\u8fd9\u91cc\u6211\u4eec\u6682\u65f6\u4e0d\u5728\u5de5\u7a0b\u4e2d\u6dfb\u52a0\u4efb\u4f55\u5176\u4ed6\u529f\u80fd\uff0c\u6240\u4ee5\u6211\u4eec\u53ea\u9700\u8981\u5bf9\u521a\u521a\u5b9a\u4e49\u7684Block design\u4e2d\u521b\u5efa\u7684ZYNQ\u6a21\u5757\u8fdb\u884c\u4f8b\u5316\u5373\u53ef\u3002<\/p>\n\n\n\n<p id=\"block-a1b54f22-724a-46ed-be16-aab8d649724f\">5\uff09&nbsp;<strong>\u5728TopModule\u7a0b\u5e8f\u4e2d\u4f8b\u5316ZYNQ\u6a21\u5757<\/strong><\/p>\n\n\n\n<p>\u6253\u5f00\u521a\u624d\u7684TopModule.v\uff0c\u5e76\u5728 endmodule\u7684 \u4e0a\u65b9\u6dfb\u52a0ZYNQ_CORE \u4f8b\u5316\u7684\u4ee3\u7801,\u4ee5\u53ca\u5728\u6a21\u5757\u5b9a\u4e49\u4e0a\u6dfb\u52a0\u4e00\u4e2aoutput\u4fe1\u53f7 led_emio\uff0c\u7528\u4e8e\u5f15\u51faZYNQ\u6a21\u5757\u7684EMIO\u811a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> ZYNQ_CORE_wrapper zynq_u(<br>    .GPIO_0_0_tri_io(GPIO_EMIO)<br> );<\/pre>\n\n\n\n<p><strong>\u80af\u5b9a\u6709\u4eba\u4f1a\u95ee ZYNQ_CORE \u91cc\u660e\u660e\u6709\u90a3\u4e48\u591a\u4fe1\u53f7\uff0c\u4e3a\u5565\u6211\u90fd\u7559\u7a7a\u4e86\u53ea\u4fdd\u7559\u4e86GPIO_0_0_tri_io\u4fe1\u53f7\uff0c\u5176\u5b9e\u8fd9\u91cc\u6211\u4e5f\u5077\u61d2\u4e86<\/strong>\uff0c\u56e0\u4e3a\u672c\u7ae0\u4e2dZYNQ\u53ea\u6dfb\u52a0\u4e86\u4e00\u4e2aEMIO\u5916\u8bbe\uff0c\u800c\u5269\u4e0b\u8bf8\u5982DDR FIX_IO\u8fd9\u79cd\u4fe1\u53f7\u7ebf\u56e0\u4e3a\u672c\u8eab\u662f\u786c\u4ef6\u8fde\u63a5\u7684\uff0c\u6240\u4ee5\u5373\u4f7f\u7a0b\u5e8f\u4f8b\u5316\u7684\u65f6\u5019\u7559\u7a7a\uff0c\u8fd9\u4e9b\u4fe1\u53f7\u7ebf\u4ecd\u7136\u662f\u786c\u4ef6\u540c\u5916\u90e8\u8fde\u63a5\u7684\u3002\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u5c06\u6240\u6709\u7684\u4fe1\u53f7\u6dfb\u52a0\u5168\u3002<strong>\uff08\u5907\u6ce8 \u5982\u679c\u6709\u5176\u4ed6\u7684EMIO \u6216\u8005AXI \u7b49\u6d89\u53ca\u5230\u548cFPGA\u901a\u8baf\u6216\u8005\u6620\u5c04\u7684\u4fe1\u53f7\uff0c\u5219\u8fd9\u91cc\u4f8b\u5316\u7684\u65f6\u5019\u5fc5\u987b\u6dfb\u52a0\u4fe1\u53f7\u4e0a\u53bb\uff09<\/strong><\/p>\n\n\n\n<p>\u8fd9\u6837\u6211\u4eec\u5c31\u5728<strong>TopModule<\/strong>.v\u4e2d\u589e\u52a0\u4e86ZYNQ\u90e8\u5206\u4e86\u3002 \uff08\u8fd9\u91cc\u5bb9\u6613\u4ea7\u751f\u8bef\u533a\uff0cZYNQ\u6a21\u5757\u662f\u786c\u4ef6\u5b58\u5728\u7684\uff0c\u5e76\u4e0d\u662f\u5b9e\u4f8b\u5316\u51ed\u7a7a\u51fa\u73b0\u7684\uff0c\u53ea\u662f\u901a\u8fc7\u4f8b\u5316\u8fd9\u79cd\u65b9\u5f0f\u5c06PS\u548c\u9876\u5c42\u6a21\u5757PL\u4e24\u90e8\u5206\u7ed3\u5408\u5728\u4e00\u8d77\u4e86\uff09<\/p>\n\n\n\n<p>\u5b8c\u6574\u4ee3\u7801\u5982\u4e0b\uff1a\uff08\u4f60\u4e5f\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u5728TopModule\u4e2d\u589e\u52a0\u81ea\u5df1\u7684\u5185\u5bb9\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">`timescale 1ns \/ 1ps<br>module TopModule(<br>    inout [7:0]GPIO_EMIO<br>);<br><br> ZYNQ_CORE_wrapper zynq_u(<br>    .GPIO_0_0_tri_io(GPIO_EMIO)<br> );<br>    <br>endmodule<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u56db\u3001\u521b\u5efa\u7ea6\u675f\u6587\u4ef6\uff0c\u5e76\u5b9a\u4e49\u7ba1\u811a<\/strong><\/h2>\n\n\n\n<p>1\uff09Add Source \u2192 Add or create constraints \u70b9Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"300\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-15.png\" alt=\"\" class=\"wp-image-199\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-15.png 588w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-15-300x153.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/figure>\n\n\n\n<p>\u56e0\u4e3a\u8fd9\u4e2a\u9879\u76ee\u6ca1\u6709\u521b\u5efa\u8fc7\u7ea6\u675f\u6587\u4ef6 \u6240\u4ee5\u8fd9\u91cc\u521b\u5efa\u4e00\u4e2a\u7ea6\u675f\u6587\u4ef6\uff0c\u5e76\u5728File name \u91cc\u8bbe\u7f6e\u7ea6\u675f\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u5e76\u4e14\u70b9\u51fbFINISH \u5b8c\u6210\u7ea6\u675f\u6587\u4ef6\u7684\u521b\u5efa<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"642\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-36.png\" alt=\"\" class=\"wp-image-7551\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-36.png 751w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-36-300x256.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>2\uff09Sources \u2192 Constraints \u91cc\u627e\u5230\u521a\u624d\u521b\u5efa\u7684\u7ea6\u675f\u6587\u4ef6 \u53cc\u51fb\u5e76\u6253\u5f00\u8be5XDC\u7ea6\u675f\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-116-1024x472.png\" alt=\"\" class=\"wp-image-8434\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-116-1024x472.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-116-300x138.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-116-768x354.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-116-1536x708.png 1536w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-116.png 1674w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5728\u7ea6\u675f\u6587\u4ef6\u91cc\u9762\u590d\u5236\u4e0b\u9762\u4ee3\u7801\u6765\u5bf9\u8f93\u51fa\u7684GPIO\u8fdb\u884c\u7ba1\u811a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[7]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[6]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[5]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[4]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[3]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[2]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[1]}]<br>set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_EMIO[0]}]<br>set_property PACKAGE_PIN M14 [get_ports {GPIO_EMIO[3]}]<br>set_property PACKAGE_PIN N16 [get_ports {GPIO_EMIO[2]}]<br>set_property PACKAGE_PIN P14 [get_ports {GPIO_EMIO[1]}]<br>set_property PACKAGE_PIN R14 [get_ports {GPIO_EMIO[0]}]<br>set_property PACKAGE_PIN L19 [get_ports {GPIO_EMIO[7]}]<br>set_property PACKAGE_PIN L20 [get_ports {GPIO_EMIO[6]}]<br>set_property PACKAGE_PIN D20 [get_ports {GPIO_EMIO[5]}]<br>set_property PACKAGE_PIN D19 [get_ports {GPIO_EMIO[4]}]<\/pre>\n\n\n\n<p>\u7ea6\u675f\u4e2d\uff0c\u6211\u4eec\u5c06GPIO_EMIO3-0 \u5206\u522b\u5bf9\u5e94LED3-LED0 \u3002 GPIO_EMIO7-4 \u5bf9\u5e94\u6309\u952e\u7684BTN3-BTN0\u3002 \u540e\u7eed\u5b9e\u9a8c\u4e2d\u6211\u4eec\u5c06\u4f1a\u7528\u5230\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e94\u3001\u7f16\u8bd1\u7efc\u5408\uff0c\u5e76\u5bfc\u51fahdf\u6587\u4ef6<\/strong><\/h2>\n\n\n\n<p>1\uff09\u6309\u4e0b\u7eff\u8272\u7bad\u5934\u5bf9\u5de5\u7a0b\u8fdb\u884c\u7f16\u8bd1<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"115\" height=\"56\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-19.png\" alt=\"\" class=\"wp-image-206\"\/><\/figure>\n\n\n\n<p>2\uff09\u6309\u4e0bGenerate Bitstream \u5b8c\u6210\u7efc\u5408\u4ee5\u53ca\u751f\u6210bit\u6587\u4ef6 \uff08\u9700\u8981\u7b49\u5f85\u5f88\u4e45\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"303\" height=\"203\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-18.png\" alt=\"\" class=\"wp-image-204\" style=\"width:279px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-18.png 303w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-18-300x201.png 300w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/figure>\n\n\n\n<p>3\uff09File\u2192Export\u2192Export hardware\u2026\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u52fe\u9009\u201cinclude bitstream\u201d\uff0c\u70b9\u51fb\u201cOK\u201d\u786e\u8ba4\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"541\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20.png\" alt=\"\" class=\"wp-image-207\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20.png 462w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20-256x300.png 256w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"252\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24.png\" alt=\"\" class=\"wp-image-211\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24.png 332w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24-300x228.png 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure>\n\n\n\n<p>4\uff09File\u2192Lauch SDK\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u4fdd\u5b58\u9ed8\u8ba4\uff0c\u70b9\u51fb\u201cOK\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"361\" height=\"285\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21.png\" alt=\"\" class=\"wp-image-212\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21.png 361w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21-300x237.png 300w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/figure>\n\n\n\n<p>5\uff09 \u7cfb\u7edf\u5c06\u81ea\u52a8\u6253\u5f00SDK\u5f00\u53d1\u73af\u5883<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"748\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22.png\" alt=\"\" class=\"wp-image-213\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22.png 998w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22-300x225.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22-768x576.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5176\u4e2dSDK\u5de5\u7a0bplatform \u4e0b\u7684hdf\u6587\u4ef6\u5c31\u662f\u6211\u4eec\u9700\u8981\u7684\u7cfb\u7edf\u786c\u4ef6\u63cf\u8ff0\u6587\u4ef6\uff0c\u8fd9\u4e2a\u9700\u8981\u4ea4\u7ed9petalinux \u8fdb\u884c\u4ea4\u53c9\u7f16\u8bd1\u7528\u3002\uff08\u53ef\u4ee5\u5728\u8fd9\u4e2a\u754c\u9762\u4e0b\u76f4\u63a5\u53f3\u952esystem.hdf\u8fdb\u884c\u590d\u5236\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"286\" height=\"381\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-181.png\" alt=\"\" class=\"wp-image-1845\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-181.png 286w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-181-225x300.png 225w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u5907\u6ce8\uff1a<\/strong>\u5982\u679c\u4e0d\u6253\u5f00SDK\u5de5\u7a0b\u6587\u4ef6\u6211\u4eec\u4ecd\u80fd\u627e\u5230\u8fd9\u4e2ahdf\u6587\u4ef6\u3002\u4e00\u822c\u5728 \u200b\u4e0b\u5217\u8def\u5f84\u4e2d<\/p>\n\n\n\n<p>&nbsp;&lt;project_name&gt;.sdk&lt;project_name&gt;_wrapper.hdf<\/p>\n\n\n\n<p>\u5176\u4e2d&lt;project_name&gt;\u4e3a\u4f60\u5728Vivado\u4e2d\u6240\u547d\u540d\u7684\u5de5\u7a0b\u540d<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"189\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-117-1024x189.png\" alt=\"\" class=\"wp-image-8437\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-117-1024x189.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-117-300x56.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-117-768x142.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-117.png 1297w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u81f3\u6b64\u6211\u4eec\u7684\u786c\u4ef6\u5de5\u7a0b\u7684\u51c6\u5907\u5de5\u4f5c\u5df2\u7ecf\u5b8c\u6210\u4e86\u3002<\/strong><\/h2>\n\n\n\n<p><\/p>\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\/2024\/10\/01_PetaLinuxSystem.zip\">01_PetaLinuxSystem<\/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\u521b\u5efa\u76ee\u5f55\uff1aE:\\Lemon_ZYNQ\\PETALINUX\\01_PetaLinuxSystem<\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4e3b\u8981\u6f14\u793a\u9488\u5bf9Petalinux \u57fa\u7840\u529f\u80fd\u7684 Vivado \u786c\u4ef6\u5de5\u7a0b\u642d\u5efa<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-8404","post","type-post","status-publish","format-standard","hentry","category-lemon-zynq"],"views":853,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/8404","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=8404"}],"version-history":[{"count":16,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/8404\/revisions"}],"predecessor-version":[{"id":9358,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/8404\/revisions\/9358"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=8404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=8404"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=8404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}