{"id":9904,"date":"2025-05-12T20:39:48","date_gmt":"2025-05-12T12:39:48","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=9904"},"modified":"2025-05-12T21:03:49","modified_gmt":"2025-05-12T13:03:49","slug":"ebaz4205_petalinux_vivado","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2025\/05\/12\/ebaz4205_petalinux_vivado\/","title":{"rendered":"\u57fa\u4e8eEBAZ4205\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>\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\u9700\u8981EBAZ4205\u4e3b\u677f\u4e0a\u710a\u63a5TF\u5361\u69fd<\/strong><\/li>\n\n\n\n<li>\u672c\u6b21\u5b9e\u9a8c\u6ca1\u6709\u7528\u5230PL\u7aef\u6676\u632f<\/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<ul class=\"wp-block-list\">\n<li><\/li>\n<\/ul>\n\n\n\n<p>\u672c\u7ae0\u8282\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\u7f51\u7edcNET\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\uff08\u672c\u7cfb\u7edf\u5c06\u4ece TF \u5361\u542f\u52a8\uff0c\u5e76\u5305\u542b\u6587\u4ef6\u7cfb\u7edf\u3002\u8fd9\u6837\uff0c\u5373\u4f7f\u5728\u65ad\u7535\u540e\uff0c\u6587\u4ef6\u7cfb\u7edf\u7684\u4fee\u6539\u4e5f\u80fd\u5f97\u5230\u4fdd\u5b58\uff09<\/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>256MB DDR\u8bbe\u7f6e<\/li>\n\n\n\n<li>NAND FLASH<\/li>\n\n\n\n<li>SD<\/li>\n\n\n\n<li>UART \uff08EMIO\uff09<\/li>\n\n\n\n<li>Emio X8 \uff08LED X3 , KEY X5\uff09<\/li>\n\n\n\n<li>NET  \uff08EMIO\uff09<\/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-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"391\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-2.png\" alt=\"\" class=\"wp-image-9906\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-2.png 979w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-2-300x120.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-2-768x307.png 768w\" 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\"><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\" 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 \u6211\u4eec\u677f\u5b50\u4e0a\u7528\u7684\u82af\u7247\u662fXC7Z010 \uff0c\u5e76\u5728\u5217\u8868\u680f\u4e2d\u9009\u62e9\u5bf9\u5e94\u7684\u5c01\u88c5\u578b\u53f7\uff0c\u5b8c\u6574\u578b\u53f7\u662fXC7Z010CLG400-1 \u5982\u4e0b\u6240\u793a\uff0c\u9009\u4e2d\u540e\u70b9NEXT<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"622\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-1.png\" alt=\"\" class=\"wp-image-42\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-1.png 774w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-1-300x241.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-1-768x617.png 768w\" 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\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"650\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-4.png\" alt=\"\" class=\"wp-image-46\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-4.png 770w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-4-300x253.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-4-768x648.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\"><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\uff1aMT41K128M16JT 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=\"977\" height=\"493\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-5.png\" alt=\"\" class=\"wp-image-188\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-5.png 977w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-5-300x151.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-5-768x388.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>5\uff09\u56e0\u4e3a\u6211\u4eecEBAZ4205\u4e3b\u677f\u7684PS\u65f6\u949f\u662f33.33M\u7684\u6676\u632f\u8f93\u5165\u7684\uff0c\u6240\u4ee5\u8fd9\u91cc\u4fdd\u7559\u9ed8\u8ba4\u8bbe\u7f6e\u5c31\u597d<strong>(\u4e0d\u9700\u8981\u4fee\u6539 \uff0c\u4fdd\u7559\u9ed8\u8ba4\u5373\u53ef)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1005\" height=\"612\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-3.png\" alt=\"\" class=\"wp-image-9362\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-3.png 1005w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-3-300x183.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-3-768x468.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>6) \u4e3a\u7cfb\u7edf\u6dfb\u52a0Nand flash \u529f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"498\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-1.png\" alt=\"\" class=\"wp-image-409\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-1.png 960w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-1-300x156.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-1-768x398.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5bf9nand \u53c2\u6570\u8fdb\u884c\u8bbe\u7f6e \uff08 SMC \uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"304\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/01\/image-31.png\" alt=\"\" class=\"wp-image-482\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/01\/image-31.png 816w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/01\/image-31-300x112.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/01\/image-31-768x286.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>7\uff09 \u56e0\u4e3a\u6211\u4eec\u7684USB\u529f\u80fd\uff0cSD\u529f\u80fd\u80fd\u90fd\u662f\u63a5\u5728\u82af\u7247\u7684BANK501\u4e0a\u7684\uff0c\u800cbank501\u5728\u786c\u4ef6\u4e0a\u63a5\u76843.3Vbank\u7535\u538b\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u4fdd\u7559ZYNQ\u7684BANK1\uff08501\uff09 I\/O \u7535\u538b\u4e3a\u9ed8\u8ba4\u7684LVCMOS 3.3V\u3002<strong>(\u4e0d\u9700\u8981\u4fee\u6539 \uff0c\u4fdd\u7559\u9ed8\u8ba4\u5373\u53ef)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-4-1024x452.png\" alt=\"\" class=\"wp-image-9363\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-4-1024x452.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-4-300x132.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-4-768x339.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/02\/image-4.png 1042w\" 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 \u56e0\u4e3a\u6211\u4eec\u7684Smart ZYNQ\u4e3b\u677f \u7f51\u7edc\u662f\u63a5\u5728PL\u7aef\uff0c\u6240\u4ee5\u8fd9\u91ccENET\u548cMDIO\u7684\u5f15\u51fa\u65b9\u5f0f<strong>\u8bf7\u9009\u62e9EMIO\u65b9\u5f0f<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"194\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-125.png\" alt=\"\" class=\"wp-image-1370\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-125.png 663w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-125-300x88.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<p>10\uff09\u6dfb\u52a0UART\u7684\u529f\u80fd<\/p>\n\n\n\n<p>\u4e0b\u56fe\u662f\u4ee5EMIO \u65b9\u5f0f\u4e3a\u793a\u4f8b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-118.png\" alt=\"\" class=\"wp-image-1339\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-118.png 664w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-118-300x95.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/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\u4e8e3\u4e2aLED\u706f\uff0c\u548c5\u4e2a\u6309\u952e\uff0c\u4f5c\u5b9e\u9a8c\u7528\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"822\" height=\"324\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-3.png\" alt=\"\" class=\"wp-image-9933\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-3.png 822w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-3-300x118.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-3-768x303.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\u56e0\u4e3a\u7f51\u7edc\u90e8\u5206EBAZ4205\u4e3b\u677f\u5206\u4e24\u79cd\u7c7b\u578b \uff08\u5206\u522b\u5bf9\u5e94\u4e0d\u540c\u7684\u6279\u6b21\uff09<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e00\u79cd\u662f\u7f51\u7edc\u90e8\u5206\u81ea\u5e26\u4e8625M \u65e0\u6e90\u6676\u632f\u6765\u4e3a\u7f51\u7edc\u82af\u7247\u63d0\u4f9b\u65f6\u949f(\u5bf9\u5e94\u4e0b\u56fe\u76841)<\/li>\n\n\n\n<li>\u4e00\u79cd\u662f\u6ca1\u6709\u65e0\u6e90\u6676\u632f\uff0c\u4f46\u662f\u7f51\u7edc\u82af\u7247\u65f6\u949f\u901a\u8fc7\u4e00\u4e2a0\u6b27\u7535\u963b\u548cZYNQ\u7684U18\u811a\u76f8\u8fde\u7684\uff08\u5bf9\u5e94\u4e0b\u56fe\u76842\uff09<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"474\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-9.png\" alt=\"\" class=\"wp-image-6117\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-9.png 568w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-9-300x250.png 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p>\u5bf9\u5e94\u7b2c\u4e00\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u5728ZYNQ\u82af\u7247\u7684\u8f93\u51fa\u7aef\u4e0d\u9700\u8981\u63d0\u4f9b\u989d\u5916\u7684\u65f6\u949f\uff0c\u4f46\u662f\u5bf9\u5e94\u7b2c\u4e8c\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u9700\u8981\u989d\u5916\u4e3a\u7f51\u7edc\u82af\u7247\u8f93\u51fa\u4e00\u4e2a25M\u7684\u65f6\u949f\u3002 \u6211\u4eec\u53ef\u4ee5\u5728PS\u7aef\u7684PLL\u5904\u6dfb\u52a0\u8fd9\u4e2a\u65f6\u949f\u8f93\u51fa\uff08\u5176\u5b9e\u4e24\u79cd\u60c5\u51b5\u6211\u4eec\u90fd\u76f4\u63a5\u8f93\u51fa25M\u5373\u53ef\uff0c\u5982\u679c\u677f\u5b50\u6709\u5916\u90e8\u6676\u632f\uff0c\u90a3R1485\u662f\u4f1a\u88abNC\u7684\uff09<\/p>\n\n\n\n<p>\u5c06 FCLK_CLK0 \u7531\u9ed8\u8ba4\u768450M \u6539\u621025M   <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1008\" height=\"255\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-11.png\" alt=\"\" class=\"wp-image-6119\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-11.png 1008w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-11-300x76.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/02\/image-11-768x194.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>15\uff09\u4e4b\u540e\u6309\u4e0bOK\u952e\u5b8c\u6210ZYNQ\u7684\u914d\u7f6e\u3002\u56de\u5230BD\u754c\u9762<\/p>\n\n\n\n<p>16\uff09 \u6309\u4e0b Run Block Automation \uff0c\u5e76\u6309\u4e0bOK\u952e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><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>17\uff09 \u5c06\u6211\u4eec\u7684EMIO GPIO ,GMII, MDIO,EMIO UART ,FCLK_CLK0 \u90fdMake External \u5f15\u51fa<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"357\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-4.png\" alt=\"\" class=\"wp-image-9935\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-4.png 678w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-4-300x158.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"288\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-5-1024x288.png\" alt=\"\" class=\"wp-image-9936\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-5-1024x288.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-5-300x84.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-5-768x216.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-5.png 1092w\" 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<p><strong>\u56e0\u4e3aZYNQ\u7684PS \u662f\u540c\u65f6\u652f\u6301MII \u548cRMII\u7684 \u800cMII\u662f8bit \u4f20\u8f93 RMII\u662f4Bit\u4f20\u8f93\u7684\uff0c \u7f51\u4e0a\u5927\u5bb6\u7684\u8d44\u6599\u90fd\u662f\u901a\u8fc7\u6dfb\u52a0Concat\u6765\u5b9e\u73b0\u4f4d\u5bbd\u7684\u8f6c\u6362\uff0c\u6211\u89c9\u5f97\u6ca1\u5fc5\u8981\uff0c \u8fd9\u91cc\u5c31\u4e0d\u6dfb\u52a0\u4e86\uff0c \u540e\u9762\u5c06\u589e\u52a0\u4e00\u4e2a\u9876\u5c42\u6a21\u5757\u6765\u76f4\u63a5\u6620\u5c04\u4f4e4\u4f4d\u7684\u7ba1\u811a<\/strong><\/p>\n\n\n\n<p>18\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>19\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>20\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\u7f51\u7edc\u4fe1\u53f7\uff0c\u5982\u679cUART\u662fEMIO\u7684\uff0c\u8fd8\u9700\u8981\u6dfb\u52a0UART\u4fe1\u53f7\u548cGPIO_EMIO\u4fe1\u53f7\u7684\u5f15\u51fa\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ZYNQ_CORE_wrapper u_ZYNQ(<br>    .FCLK_CLK0_0(FCLK_CLK),<br>    .GMII_ETHERNET_0_0_rx_clk(GMII_ETHERNET_rx_clk),<br>    .GMII_ETHERNET_0_0_rx_dv(GMII_ETHERNET_rx_dv),<br>    .GMII_ETHERNET_0_0_rxd(GMII_ETHERNET_rxd_wire),<br>    .GMII_ETHERNET_0_0_tx_clk(GMII_ETHERNET_tx_clk),<br>    .GMII_ETHERNET_0_0_tx_en(GMII_ETHERNET_tx_en),<br>    .GMII_ETHERNET_0_0_txd(GMII_ETHERNET_txd_wire),<br>    .MDIO_ETHERNET_0_0_mdc(MDIO_ETHERNET_mdc),<br>    .MDIO_ETHERNET_0_0_mdio_io(MDIO_ETHERNET_mdio_io),<br>    .UART_0_0_rxd(UART_rxd),<br>    .UART_0_0_txd(UART_txd),<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\u4e86\u8fd9\u4e9b\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\">\/\/www.hellofpga.com<br>`timescale 1ns \/ 1ps<br>module TopModule(<br>    inout [7:0]GPIO_EMIO,<br>    output FCLK_CLK,<br>    input  GMII_ETHERNET_rx_clk,<br>    input  GMII_ETHERNET_rx_dv,<br>    input  [3:0]GMII_ETHERNET_rxd,<br>    input  GMII_ETHERNET_tx_clk,<br>    output [0:0]GMII_ETHERNET_tx_en,<br>    output [3:0]GMII_ETHERNET_txd,<br>    output MDIO_ETHERNET_mdc,<br>    inout  MDIO_ETHERNET_mdio_io,<br>    input  UART_rxd,<br>    output UART_txd<br>);<br><br><br>wire [7:0]GMII_ETHERNET_txd_wire;<br>wire [7:0]GMII_ETHERNET_rxd_wire;<br><br>assign GMII_ETHERNET_rxd=GMII_ETHERNET_rxd_wire[3:0];<br>assign GMII_ETHERNET_txd=GMII_ETHERNET_txd_wire[3:0];<br><br>ZYNQ_CORE_wrapper u_ZYNQ(<br>    .FCLK_CLK0_0(FCLK_CLK),<br>    .GMII_ETHERNET_0_0_rx_clk(GMII_ETHERNET_rx_clk),<br>    .GMII_ETHERNET_0_0_rx_dv(GMII_ETHERNET_rx_dv),<br>    .GMII_ETHERNET_0_0_rxd(GMII_ETHERNET_rxd_wire),<br>    .GMII_ETHERNET_0_0_tx_clk(GMII_ETHERNET_tx_clk),<br>    .GMII_ETHERNET_0_0_tx_en(GMII_ETHERNET_tx_en),<br>    .GMII_ETHERNET_0_0_txd(GMII_ETHERNET_txd_wire),<br>    .MDIO_ETHERNET_0_0_mdc(MDIO_ETHERNET_mdc),<br>    .MDIO_ETHERNET_0_0_mdio_io(MDIO_ETHERNET_mdio_io),<br>    .UART_0_0_rxd(UART_rxd),<br>    .UART_0_0_txd(UART_txd),<br>    .GPIO_0_0_tri_io(GPIO_EMIO)<br>);<br>    <br>endmodule<br><\/pre>\n\n\n\n<p>\u4ee3\u7801\u91cc\u8fd8\u6709\u4e2a\u529f\u80fd\u5c31\u662f\u901a\u8fc7\u4e0b\u9762\u4e24\u53e5\u6620\u5c04PS\u7f51\u7edc\u90e8\u5206 rxd\u548ctxd 8\u4f4d\u4fe1\u53f7\u7ebf\u4e2d\u7684\u4f4e4\u4f4d\u7684\u7ba1\u811a\uff08RMII \u53ea\u9700\u89814\u4f4d\u8fdb\u884c\u901a\u8baf\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>assign GMII_ETHERNET_rxd=GMII_ETHERNET_rxd_wire&#91;3:0];\nassign GMII_ETHERNET_txd=GMII_ETHERNET_txd_wire&#91;3:0];\n\n<\/code><\/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\"><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 -dict {PACKAGE_PIN U18 IOSTANDARD LVCMOS33} [get_ports FCLK_CLK]<br>set_property -dict {PACKAGE_PIN U14 IOSTANDARD LVCMOS33} [get_ports GMII_ETHERNET_rx_clk]<br>set_property -dict {PACKAGE_PIN W16 IOSTANDARD LVCMOS33} [get_ports GMII_ETHERNET_rx_dv]<br>set_property -dict {PACKAGE_PIN Y16 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_rxd[0]}]<br>set_property -dict {PACKAGE_PIN V16 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_rxd[1]}]<br>set_property -dict {PACKAGE_PIN V17 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_rxd[2]}]<br>set_property -dict {PACKAGE_PIN Y17 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_rxd[3]}]<br>set_property -dict {PACKAGE_PIN U15 IOSTANDARD LVCMOS33} [get_ports GMII_ETHERNET_tx_clk]<br>set_property -dict {PACKAGE_PIN W19 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_tx_en[0]}]<br>set_property -dict {PACKAGE_PIN W18 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_txd[0]}]<br>set_property -dict {PACKAGE_PIN Y18 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_txd[1]}]<br>set_property -dict {PACKAGE_PIN V18 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_txd[2]}]<br>set_property -dict {PACKAGE_PIN Y19 IOSTANDARD LVCMOS33} [get_ports {GMII_ETHERNET_txd[3]}]<br>set_property -dict {PACKAGE_PIN W15 IOSTANDARD LVCMOS33} [get_ports MDIO_ETHERNET_mdc]<br>set_property -dict {PACKAGE_PIN Y14 IOSTANDARD LVCMOS33} [get_ports MDIO_ETHERNET_mdio_io]<br><br>set_property -dict {PACKAGE_PIN V20 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[7]]<br>set_property -dict {PACKAGE_PIN U19 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[6]]<br>set_property -dict {PACKAGE_PIN U20 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[5]]<br>set_property -dict {PACKAGE_PIN P19 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[4]]<br>set_property -dict {PACKAGE_PIN T19 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[3]]<br>set_property -dict {PACKAGE_PIN E19 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[2]]<br>set_property -dict {PACKAGE_PIN K17 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[1]]<br>set_property -dict {PACKAGE_PIN H18 IOSTANDARD LVCMOS33} [get_ports GPIO_EMIO[0]]<br><br>set_property -dict {PACKAGE_PIN H16 IOSTANDARD LVCMOS33} [get_ports UART_rxd]<br>set_property -dict {PACKAGE_PIN H17 IOSTANDARD LVCMOS33} [get_ports UART_txd]<\/pre>\n\n\n\n<p>\u7ea6\u675f\u4e2d\uff0c\u6211\u4eec\u5c06GPIO_EMIO2-0 \u5206\u522b\u5bf9\u5e94LED3-LED1 \u3002 GPIO_EMIO7-3 \u5bf9\u5e94\u6309\u952e\u7684KEY5-KEY1\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\"><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\" 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><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\"><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<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<ul class=\"wp-block-list\">\n<li><strong>\u672c\u6587\u7684\u5b8c\u6574\u5de5\u7a0b\u4e0b\u8f7d : <a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/01_PetaLinuxSystem.zip\">01_PetaLinuxSystem<\/a><\/strong><\/li>\n\n\n\n<li><strong>VIVADO\u7684\u7248\u672c\uff1a2018.3<\/strong><\/li>\n<\/ul>\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":[19],"tags":[],"class_list":["post-9904","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-spsl"],"views":1229,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/9904","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=9904"}],"version-history":[{"count":13,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/9904\/revisions"}],"predecessor-version":[{"id":9951,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/9904\/revisions\/9951"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=9904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=9904"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=9904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}