{"id":7660,"date":"2024-10-07T12:50:57","date_gmt":"2024-10-07T04:50:57","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=7660"},"modified":"2024-10-10T14:18:32","modified_gmt":"2024-10-10T06:18:32","slug":"lemon_zynq_amp","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2024\/10\/07\/lemon_zynq_amp\/","title":{"rendered":"\u57fa\u4e8eLemon ZYNQ\u7684PS\u5b9e\u9a8c\u5341\u4e8c ZYNQ PS \u7aef\u7684\u53cc\u6838AMP\u5b9e\u9a8c"},"content":{"rendered":"\n<p>\u4f17\u6240\u5468\u77e5\uff0cZYNQ \u4e2d\u5305\u542b\u4e86\u53cc\u6838A9\uff0c\u672c\u8282\u6211\u4eec\u5c31\u5c1d\u8bd5\u5728\u4e24\u4e2aCPU\u4e0a\u8dd1\u5b8c\u5168\u72ec\u7acb\u76f8\u4e92\u6ca1\u6709\u4ea4\u96c6\u7684\u7a0b\u5e8f\u3002\u5e76\u6700\u7ec8\u628a\u7a0b\u5e8f\u4e0b\u8f7d\u5230FLASH\u4e2d\u542f\u52a8\u3002<\/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\u7248\u672c\u4e0a\u6f14\u793a<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u91cc\u6211\u4eec\u5728\u7a0b\u5e8f\u4e0a\u6dfb\u52a0\u4e24\u4e2aEMIO\u7684LED \u706f\uff0c\u6bcf\u4e2aLED\u706f\u90fd\u7531ZYNQ\u4e2d\u4e24\u4e2aCPU\u7684\u5176\u4e2d\u4e00\u4e2a\u72ec\u7acb\u8fdb\u884c\u63a7\u5236\uff0c\u901a\u8fc7\u89c2\u5bdf\u706f\u7684\u95ea\u70c1\u5c31\u80fd\u63a8\u7b97\u5bf9\u5e94\u7684CPU\u662f\u5426\u5728\u8fdb\u884c\u5de5\u4f5c\u3002 \u7a0b\u5e8f\u6bd4\u8f83\u7b80\u5355\uff0c\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001\u5de5\u7a0b\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p>\u5de5\u7a0b\u521b\u5efa\u7684\u8fc7\u7a0b\u53ef\u4ee5\u53c2\u8003\u8bd5\u9a8c\u4e00\u4e2d\u7684\u5185\u5bb9\uff0c\u8fd9\u91cc\u4e0d\u518d\u8be6\u7ec6\u63cf\u8ff0\u4e86\u3002<a href=\"http:\/\/www.hellofpga.com\/index.php\/2024\/10\/04\/lemon_zynq_ps_gpio_emio\/\">\u57fa\u4e8eLemon ZYNQ\u7684PS\u5b9e\u9a8c\u4e00 GPIO\u4e4b\u7528EMIO\u65b9\u5f0f\u70b9\u4eaeLED\uff08\u5b8c\u6574\u56fe\u6587\uff09<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001Vivado \u4e2d\u7684\u8bbe\u7f6e<\/strong><\/h2>\n\n\n\n<p>1\uff09\u5728BLOCK DESIGN \u4e2d\u641c\u7d22\u5e76\u6dfb\u52a0\u4e00\u4e2aZYNQ\u6a21\u5757<\/p>\n\n\n\n<p>2\uff09\u5728ZYNQ \u8bbe\u7f6e\u754c\u9762\uff0c\u8bbe\u7f6e DDR MT41K256M16RE-125\u7684\u578b\u53f7 \u548c\u4f4d\u5bbd16bit<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"442\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-92.png\" alt=\"\" class=\"wp-image-2668\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-92.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-92-300x173.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>&nbsp;3\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<\/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>4\uff09\u589e\u52a0\u4e24\u8defEMIO \u7528\u6765\u9a71\u52a8LED\u7528<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"553\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-41.png\" alt=\"\" class=\"wp-image-1060\" style=\"width:515px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-41.png 714w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-41-300x232.png 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/figure>\n\n\n\n<p>5\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 is-resized\"><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\" style=\"width:610px;height:auto\" 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>6\uff09\u70b9\u51fb\u201cRun Block Automation\u201d\u5982\u4e0b\u56fe\u6240\u793a\u3002\u5728\u5f39\u51fa\u7684\u9009\u9879\u4e2d\u4fdd\u6301\u9ed8\u8ba4\uff0c\u70b9\u51fb\u201cOK\u201d\uff0c\u5373\u53ef\u5b8c\u6210\u5bf9ZYNQ7 Processing System\u7684\u914d\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"247\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-43.png\" alt=\"\" class=\"wp-image-1062\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-43.png 552w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-43-300x134.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/figure>\n\n\n\n<p>7\uff09\u5c06\u521a\u624d\u6dfb\u52a0EMIO GPIO \u5f15\u51fa \u53f3\u952eGPIO_0\u2014-&gt;Make External<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"338\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-44.png\" alt=\"\" class=\"wp-image-1063\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-44.png 471w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-44-300x215.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/figure>\n\n\n\n<p>8\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>\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>\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<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001\u6dfb\u52a0\u7ba1\u811a\u7ea6\u675f\uff0c\u5e76\u5bf9\u5de5\u7a0b\u8fdb\u884c\u7f16\u8bd1\u548c\u7efc\u5408<\/strong><\/h2>\n\n\n\n<p>1) \u70b9\u51fb\u7eff\u8272\u7bad\u5934RUN \u5bf9\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"162\" height=\"71\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-180.png\" alt=\"\" class=\"wp-image-1843\"\/><\/figure>\n\n\n\n<p>2) \u5b8c\u6210\u540e\u70b9\u51fbRTL \u4e2d\u7684SCHEMATIC , \u5e76\u9009\u62e9\u53f3\u8fb9\u51fa\u73b0\u7684 IO Ports \u6765\u589e\u52a0 EMIO\u90e8\u5206\u7684\u7ba1\u811a\u5b9a\u4e49(\u8fd9\u4e00\u6b65\u4e5f\u53ef\u4ee5\u5728\u7ea6\u675f\u6587\u4ef6\u4e2d\u5b9a\u4e49, \u53ef\u770b\u4e4b\u524d\u7684\u4f8b\u5b50)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"482\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/07\/image-7-1024x482.png\" alt=\"\" class=\"wp-image-825\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/07\/image-7-1024x482.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/07\/image-7-300x141.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/07\/image-7-768x361.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/07\/image-7.png 1490w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3\uff09\u5c062\u4e2aEMIO\u7684GPIO \u5206\u522b\u63a5R14 P14\uff08\u4fdd\u5b58\u7684\u65f6\u5019\u4f1a\u8ba9\u4f60\u7ed9\u7ea6\u675f\u6587\u4ef6\u547d\u540d\uff0c\u81ea\u884c\u5b9a\u4e49\u5c31\u597d\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"128\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-67-1024x128.png\" alt=\"\" class=\"wp-image-7673\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-67-1024x128.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-67-300x37.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-67-768x96.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-67-1536x192.png 1536w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-67.png 1561w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3) \u751f\u6210bit\u6587\u4ef6 :\u6309\u4e0bGenerate Bitstream \u5b8c\u6210\u7efc\u5408\u4ee5\u53ca\u751f\u6210bit\u6587\u4ef6\uff0c\u7b49\u5f85\u5f39\u51fa\u7efc\u5408\u5b8c\u6210\u7684\u7a97\u53e3<\/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<h2 class=\"wp-block-heading\"><strong>\u56db\u3001SDK\u90e8\u5206\u5de5\u7a0b\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p>1\uff09File\u2192Export\u2192Export hardware\u2026\uff0c\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>2\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>\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<h2 class=\"wp-block-heading\"><strong>\u4e94\u3001\u63a5\u4e0b\u53bb\u6211\u4eec\u8981\u63a5\u8fde\u521b\u5efa\u4e24\u4e2aCPU\u5de5\u7a0b<\/strong><\/h2>\n\n\n\n<p>1\uff09\u65b0\u5efa\u7b2c\u4e00\u4e2aCPU0\u7684\u5de5\u7a0b file\u2192new\u2192Application Project\uff0c\u6765\u65b0\u5efa\u4e00\u4e2a\u201cApplication Project\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"546\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-23.png\" alt=\"\" class=\"wp-image-214\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-23.png 624w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-23-300x263.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>2\uff09\u5728\u65b0\u5efa\u5de5\u7a0b\u540d\u4e2d\u8f93\u5165CPU0,&nbsp;<strong>\u8fd9\u91cc\u4e00\u5b9a\u8981\u9009\u62e9 PS7_Cortexa9_0<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"891\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-6.png\" alt=\"\" class=\"wp-image-6355\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-6.png 770w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-6-259x300.png 259w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-6-768x889.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3\uff09\u9009\u62e9\u7a7a\u5de5\u7a0b\uff0c\u70b9\u51fb\u5b8c\u6210FINISH<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"262\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-26.png\" alt=\"\" class=\"wp-image-216\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-26.png 485w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-26-300x162.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p>4) \u5728CPU0\u5de5\u7a0b\u4e2d\u6dfb\u52a0main.c\u6587\u4ef6 src\u2014&gt;New\u2014&gt;Source File \u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"860\" height=\"458\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-7.png\" alt=\"\" class=\"wp-image-6356\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-7.png 860w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-7-300x160.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-7-768x409.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\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u586b\u5165main.c \u5e76\u4e14\u4fdd\u5b58<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"308\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49.png\" alt=\"\" class=\"wp-image-1069\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49.png 308w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49-300x205.png 300w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/figure>\n\n\n\n<p>6\uff09\u6253\u5f00\u521a\u624d\u521b\u5efa\u7684main.c \u5728\u5176\u4e2d\u7f16\u5199CPU0\u7684\u4ee3\u7801 \uff0c\u8fd9\u91ccLED1\u5bf9\u5e94 54\u811a\uff0c\u5373EMIO\u7684GPIO0 ,\u4e5f\u5c31\u662f\u5bf9\u5e94LED1\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#include \"xparameters.h\"\n#include \"xgpiops.h\"\n#include \"xstatus.h\"\n#include \"xplatform_info.h\"\n#include \"sleep.h\"\n\n#define LED1    \t54\n\n#define GPIO_DEVICE_ID  \tXPAR_XGPIOPS_0_DEVICE_ID\nXGpioPs Gpio;\n\nvoid Gpio_Init(void){\n\tXGpioPs_Config *ConfigPtr;\n\n\tConfigPtr = XGpioPs_LookupConfig(GPIO_DEVICE_ID);\n\tXGpioPs_CfgInitialize(&amp;Gpio, ConfigPtr,ConfigPtr-&gt;BaseAddr);\n\n\tXGpioPs_SetDirectionPin(&amp;Gpio, LED1, 1);\n\tXGpioPs_SetOutputEnablePin(&amp;Gpio, LED1, 1);\n\tXGpioPs_WritePin(&amp;Gpio, LED1, 0);\n}\n\nint main(void)\n{\n\tGpio_Init();\n\twhile(1){\n<strong>\t\tXGpioPs_WritePin(&amp;Gpio, LED1, 0);\n\t\tsleep(1);\n\t\tXGpioPs_WritePin(&amp;Gpio, LED1, 1);\n\t\tsleep(1);<\/strong>\n\t};\n\n\treturn 0;\n}<\/pre>\n\n\n\n<p>7\uff09<strong>\u5206\u914dCPU0\u7684DDR\u5730\u5740\uff1a \u6253\u5f00CPU0\u5de5\u7a0b\u4e2d\u7684lscript.ld\u6587\u4ef6\uff0c\u5c06\u53f3\u4fa7\u7684Size \u6539\u62100XFF00000(\u4e5f\u5c31\u662f255MB\u7684DDR\u7a7a\u95f4\u5927\u5c0f\uff0c\u76f8\u5f53\u4e8e512MB\u7684\u4e00\u534a)\uff0c\u4e4b\u540e\u6309\u4e0b\u952e\u76d8\u4e0a\u7684ctrl+s\u8fdb\u884c\u4fdd\u5b58\uff08\u4e5f\u53ef\u4ee5\u6309SDK\u8f6f\u4ef6\u7684\u4fdd\u5b58\u952e\u8fdb\u884c\u4fdd\u5b58\uff09<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"372\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-8-1024x372.png\" alt=\"\" class=\"wp-image-6357\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-8-1024x372.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-8-300x109.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-8-768x279.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-8.png 1195w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>8\uff09 \u518d\u7528\u540c\u6837\u7684\u65b9\u5f0f\u521b\u5efa\u7b2c\u4e8c\u4e2aCPU\u5de5\u7a0b\uff0c file\u2192new\u2192Application Project\uff0c\u6765\u65b0\u5efa\u4e00\u4e2a\u201cApplication Project\u201d\uff0c&nbsp;<strong>\u5728\u65b0\u5efa\u5de5\u7a0b\u540d\u4e2d\u8f93\u5165CPU1, \u8fd9\u91cc\u4e00\u5b9a\u8981\u9009\u62e9 PS7_Cortexa9_1<\/strong>\uff08\u8fd9\u91cc\u548c\u4e4b\u524dCPU0\u6709\u533a\u522b\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"625\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-9.png\" alt=\"\" class=\"wp-image-6359\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-9.png 767w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-9-300x244.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>9) \u7528\u540c\u6837\u7684\u65b9\u5f0f\u5728CPU1\u5de5\u7a0b\u4e2d\u6dfb\u52a0main.c\u6587\u4ef6 src\u2014&gt;New\u2014&gt;Source File<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"347\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-10.png\" alt=\"\" class=\"wp-image-6362\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-10.png 877w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-10-300x119.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-10-768x304.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>10)\u4e5f\u5728\u521a\u521a\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u586b\u5165main.c \u5e76\u4e14\u4fdd\u5b58<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"308\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49.png\" alt=\"\" class=\"wp-image-1069\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49.png 308w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49-300x205.png 300w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/figure>\n\n\n\n<p>11\uff09\u6253\u540c\u6837\u5f00\u521a\u624d\u521b\u5efa\u7684main.c \u5728\u5176\u4e2d\u7f16\u5199CPU1\u7684\u4ee3\u7801 \uff0c\u8fd9\u91ccLED2\u5bf9\u5e94 55\u811a\uff0c\u5373EMIO\u7684GPIO1 ,\u4e5f\u5c31\u662f\u5bf9\u5e94LED2\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#include \"xparameters.h\"\n#include \"xgpiops.h\"\n#include \"xstatus.h\"\n#include \"xplatform_info.h\"\n#include \"sleep.h\"\n\n#define LED2    \t55\n\n#define GPIO_DEVICE_ID  \tXPAR_XGPIOPS_0_DEVICE_ID\nXGpioPs Gpio;\n\nvoid Gpio_Init(void){\n\tXGpioPs_Config *ConfigPtr;\n\n\tConfigPtr = XGpioPs_LookupConfig(GPIO_DEVICE_ID);\n\tXGpioPs_CfgInitialize(&amp;Gpio, ConfigPtr,ConfigPtr-&gt;BaseAddr);\n\n\tXGpioPs_SetDirectionPin(&amp;Gpio, LED2, 1);\n\tXGpioPs_SetOutputEnablePin(&amp;Gpio, LED2, 1);\n\tXGpioPs_WritePin(&amp;Gpio, LED2, 0);\n}\n\nint main(void)\n{\n\tGpio_Init();\n\twhile(1){\n<strong>\t\tXGpioPs_WritePin(&amp;Gpio, LED2, 0);\n\t\tsleep(2);\n\t\tXGpioPs_WritePin(&amp;Gpio, LED2, 1);\n\t\tsleep(2);<\/strong>\n\t};\n\n\treturn 0;\n}<\/pre>\n\n\n\n<p><strong>\u5bf9\u6bd4\u6211\u4eec\u521a\u624d\u521b\u5efa\u7684\u4e24\u4e2aCPU\u7684\u7a0b\u5e8f ,\u53ef\u4ee5\u770b\u5230\u4e24\u8005\u7684\u7a0b\u5e8f\u51e0\u4e4e\u76f8\u540c\uff0cCPU0\u63a7\u5236\u7740LED1\u7684\u95ea\u70c1\uff0c\u95ea\u70c1\u95f4\u9694\u662f1S\u949f\uff08sleep\uff081\uff09\uff09\uff0cCPU1\u63a7\u5236\u7740LED2\u7684\u95ea\u70c1\uff0c\u95ea\u70c1\u95f4\u9694\u662f2S\u949f \uff08CPU0\u548cCPU1\u7684\u95ea\u70c1\u9891\u7387\u662f\u4e0d\u540c\u7684\uff09\u3002<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/CPU0\/\/\/\/\/\/\/\/\/\/\nwhile(1){\n\tXGpioPs_WritePin(&amp;Gpio, <strong>LED1<\/strong>, 0);\n\tsleep(<strong>1<\/strong>);\n\tXGpioPs_WritePin(&amp;Gpio, <strong>LED1<\/strong>, 1);\n\tsleep(<strong>1<\/strong>);\n};\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/CPU1\/\/\/\/\/\/\/\/\/\/\nwhile(1){\n\tXGpioPs_WritePin(&amp;Gpio, <strong>LED2<\/strong>, 0);\n\tsleep(<strong>2<\/strong>);\n\tXGpioPs_WritePin(&amp;Gpio, <strong>LED2<\/strong>, 1);\n\tsleep(<strong>2<\/strong>);\n};<\/pre>\n\n\n\n<p>12\uff09\u7528\u540c\u6837\u7684\u65b9\u5f0f\u4e3aCPU1\u5206\u914dDDR\u5730\u5740\uff1a \u6253\u5f00CPU1\u5de5\u7a0b\u4e2d\u7684lscript.ld\u6587\u4ef6\uff0c\u5c06\u53f3\u4fa7\u7684Size \u6539\u62100XFF00000(\u4e5f\u5c31\u662f255MB\u7684DDR\u7a7a\u95f4\u5927\u5c0f\uff0c\u76f8\u5f53\u4e8e512MB\u7684\u4e00\u534a)\uff0c<strong>\u8fd9\u91cc\u8fd8\u8981\u5c06\u5de6\u4fa7\u7684\u57fa\u5730\u5740\u4fee\u6539\u62100x10000000\uff08\u8fd9\u91cc\u548c\u4e4b\u524d\u4e0d\u4e00\u6837\uff0c\u8981\u786e\u4fddCPU1\u548cCPU0\u7684DDR\u5730\u5740\u4e0d\u91cd\u53e0\uff09<\/strong>\u4e4b\u540e\u6309\u4e0b\u952e\u76d8\u4e0a\u7684ctrl+s\u8fdb\u884c\u4fdd\u5b58\uff08\u4e5f\u53ef\u4ee5\u6309SDK\u8f6f\u4ef6\u7684\u4fdd\u5b58\u952e\u8fdb\u884c\u4fdd\u5b58\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"340\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-11-1024x340.png\" alt=\"\" class=\"wp-image-6363\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-11-1024x340.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-11-300x100.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-11-768x255.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-11.png 1158w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>13\uff09\u53f3\u952e CPU1_bsp \uff0c\u9009\u62e9Board Support Package Settings,\u5728extra_compiler_flags \u7684value \u680f\u672b\u5c3e\u52a0 -DUSE_AMP=1<strong>\uff08\u548c\u524d\u9762\u7684\u8981\u6709\u7a7a\u683c\uff09<\/strong>\uff0c\u4e4b\u540e\u70b9\u9009OK\u786e\u8ba4<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> -DUSE_AMP=1<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"759\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-12.png\" alt=\"\" class=\"wp-image-6365\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-12.png 661w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-12-261x300.png 261w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"288\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-13-1024x288.png\" alt=\"\" class=\"wp-image-6367\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-13-1024x288.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-13-300x84.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-13-768x216.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-13.png 1321w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u7ecf\u8fc7\u67e5\u627e\u8d44\u6599\u77e5\u9053\uff0c\u56e0\u4e3aCPU0\u548cCPU1\u4f7f\u7528\u76f8\u540c\u7684BSP\uff0c\u589e\u52a0 -DUSE_AMP=1 \u7684\u4f5c\u7528\u662f\u4e3a\u4e86\u8ba9CPU1\u8fd0\u884c\u7684\u65f6\u5019\u4e0d\u518d\u91cd\u590d\u5bf9CPU0\u548cCPU1\u5171\u540c\u4f7f\u7528\u7684\u8d44\u6e90\u8fdb\u884c\u521d\u59cb\u5316\uff08\u4f8b\u5982L2 \u7f13\u5b58\uff0c\u548c\u5168\u5c40\u65f6\u949f\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u516d \u3001\u901a\u8fc7JTAG\u8fdb\u884cDEBUG<\/strong><\/h2>\n\n\n\n<p>1 \uff09\u6253\u5f00 Run-&gt;Run Configurations<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"225\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-14.png\" alt=\"\" class=\"wp-image-6371\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-14.png 621w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-14-300x109.png 300w\" sizes=\"auto, (max-width: 621px) 100vw, 621px\" \/><\/figure>\n\n\n\n<p>2\uff09\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u53cc\u51fbXilinx C\/C++application\uff08System Debug\uff09\u5bf9\u4e0b\u8f7d\u7684\u9009\u9879\u8fdb\u884c\u8bbe\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"261\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-15.png\" alt=\"\" class=\"wp-image-6372\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-15.png 485w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-15-300x161.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p>3\uff09\u5728System Debugger on Local \u7684 Target Setup \u4e2d\uff0c\u52fe\u9009Reset entire system \u548c Program FPGA\u9009\u9879\uff08\u8fd9\u6837\u6bcf\u6b21debug\u90fd\u4f1a\u81ea\u52a8\u91cd\u8f7dFPGA\u90e8\u5206\u7684bit\uff0c\u4ee5\u53ca\u91cd\u65b0\u521d\u59cb\u5316\u6574\u4e2a\u7cfb\u7edf\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"598\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-17.png\" alt=\"\" class=\"wp-image-6374\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-17.png 985w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-17-300x182.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-17-768x466.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>4\uff09 \u5728Application \u4e0b\u52fe\u9009CPU0 \u548c CPU1 \u4e24\u4e2aProject\uff08\u5907\u6ce8 \u5982\u679cDebug\/CPU0.elf \u6216\u8005CPU1.elf\u6ca1\u6709\u51fa\u73b0\uff0c\u8bf7\u63d0\u524d\u5148\u5bf9\u5de5\u7a0b\u8fdb\u884c\u7f16\u8bd1\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"564\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-18-1024x564.png\" alt=\"\" class=\"wp-image-6377\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-18-1024x564.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-18-300x165.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-18-768x423.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-18.png 1458w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p><strong>5\uff09\u4e4b\u540e\u70b9 Apply\uff0c\u548cRUN \uff0c\u6ca1\u95ee\u9898\u7684\u8bdd \u4e24\u4e2aLED\u706f\u90fd\u5f00\u59cb \u6309\u4e0d\u540c\u9891\u7387\u8fdb\u884c\u95ea\u70c1\u4e86\u3002\u8bc1\u660e\u6211\u4eec\u7684\u4e24\u4e2aCPU\u90fd\u6b63\u5e38\u7684\u5728\u8fd0\u884c\u5404\u81ea\u4e0d\u540c\u7684\u7a0b\u5e8f\u4e86\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e03\u3001\u53cc\u6838AMP\u7a0b\u5e8f FLASH\u56fa\u5316<\/strong><\/h2>\n\n\n\n<p>1\uff09\u4e0a\u6587\u4e2d\u7684\u5185\u5bb9\u662f\u901a\u8fc7JTAG DEBUG\u7684\u65b9\u5f0f\u8fdb\u884c\uff0c\u4e24\u4e2aCPU\u53ef\u4ee5\u72ec\u7acb\u6b63\u5e38\u5de5\u4f5c\uff0c\u4f46\u662f\u5982\u679c\u6211\u4eec\u8981\u4eceFLASH \u6216\u8005SD\u5361\u8fdb\u884c\u4e0a\u7535\u542f\u52a8\u64cd\u4f5c\uff0c\u4e0a\u9762\u7684\u6b64\u7a0b\u5e8f\u5c31\u884c\u4e0d\u901a\u4e86\uff0c\u56e0\u4e3a\u7cfb\u7edf\u9ed8\u8ba4\u53ea\u4f1a\u542f\u52a8CPU0\uff0c \u6211\u4eec\u9700\u8981\u5728CPU0\u4e2d\u52a0\u5165\u542f\u52a8CPU1\u7684\u4ee3\u7801\uff0c\u8fd9\u6837CPU1\u4e5f\u53ef\u4ee5\u6b63\u5e38\u542f\u52a8\u4e86\u3002<\/p>\n\n\n\n<p>\u542f\u52a8\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#define CPU1_START_MEM  \t0x10000000\n#define sev() __asm__(\"sev\")\n\nvoid Start_Cpu1(){\n\tXil_Out32(0XFFFFFFF0, CPU1_START_MEM);\n\tdmb();\n\tsev();\n}<\/pre>\n\n\n\n<p>\u5176\u4e2dXil_Out32\u5728\u8fd9\u91cc\u7684\u4f5c\u7528\u662f\u5c06\u542f\u52a8\u5730\u5740\u5199\u5165\u52300XFFFFFFF0\u4e2d,0XFFFFFFF0\u8fd9\u4e2a\u5bc4\u5b58\u5668\u5730\u5740\u662f\u82af\u7247\u56fa\u5b9a\u7684\uff0cCPU1_START_MEM\u662f\u6211\u4eec\u4e4b\u524d\u8bbe\u7f6eCPU1\u7684lscript.ld\u4e2d\u7684DDR\u8d77\u59cb\u5730\u5740\uff08\u57fa\u5730\u5740\uff090x10000000\uff0c&nbsp;<strong>\u51fd\u6570\u6700\u540e\u7684sev()\u662f\u5524\u9192CPU1\u7684\u6307\u4ee4<\/strong><img decoding=\"async\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-11-1024x340.png\" alt=\"\u6b64\u56fe\u7247\u7684alt\u5c5e\u6027\u4e3a\u7a7a\uff1b\u6587\u4ef6\u540d\u4e3aimage-11-1024x340.png\"><\/p>\n\n\n\n<p>\u4e3a\u4e86\u8ba9\u4e24\u4e2aCPU\u540c\u65f6\u8bbf\u95ee\u5171\u4eab\u5185\u5b58\uff08OCM\uff09\u7684\u65f6\u5019\u53ef\u4ee5\u6570\u636e\u4e00\u81f4\uff08\u8fd9\u6837\u4e24\u4e2aCPU\u5c31\u53ef\u4ee5\u76f8\u4e92\u8fdb\u884c\u6570\u636e\u7684\u4ea4\u4e92\u4e86\uff0c\u672c\u8282\u6ca1\u6709\u7528\u5230\uff0c\u5982\u9700\u6838\u95f4\u901a\u8baf\u5c31\u9700\u8981\u7528\u5230\uff09\uff0c<strong>\u6211\u4eec\u9700\u8981\u989d\u5916\u5173\u95ed\u4e86L1 Cache\u7f13\u5b58\uff0c\u9632\u6b62\u6570\u636e\u7ecf\u8fc7\u7f13\u5b58\u540e\u5bfc\u81f4\u6570\u636e\u7684\u4e0d\u540c\u6b65\u3002\u5173\u95edL1 Cache\u7f13\u5b58\u7684\u6307\u4ee4\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Xil_SetTlbAttributes(0xFFFF0000,0x14de2);<\/pre>\n\n\n\n<p>2\uff09\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u628a\u542f\u52a8\u4ee3\u7801\u6dfb\u52a0\u5230 CPU0\u7684main.c\u4e2d\uff0c\u4fee\u6539\u540e\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/www.hellofpga.com\n#include \"xparameters.h\"\n#include \"xgpiops.h\"\n#include \"xstatus.h\"\n#include \"xplatform_info.h\"\n#include \"sleep.h\"\n#include \"Xil_mmu.h\"\n\n\n\n#define LED1    \t54\n\n#define GPIO_DEVICE_ID  \tXPAR_XGPIOPS_0_DEVICE_ID\nXGpioPs Gpio;\n\nvoid Gpio_Init(void){\n\tXGpioPs_Config *ConfigPtr;\n\n\tConfigPtr = XGpioPs_LookupConfig(GPIO_DEVICE_ID);\n\tXGpioPs_CfgInitialize(&amp;Gpio, ConfigPtr,ConfigPtr-&gt;BaseAddr);\n\n\tXGpioPs_SetDirectionPin(&amp;Gpio, LED1, 1);\n\tXGpioPs_SetOutputEnablePin(&amp;Gpio, LED1, 1);\n\tXGpioPs_WritePin(&amp;Gpio, LED1, 0);\n}\n\n#define CPU1_START_MEM  \t0x10000000\n#define sev() __asm__(\"sev\")\nvoid Start_Cpu1(){\n\tXil_Out32(0XFFFFFFF0, CPU1_START_MEM);\n\tdmb();\n\tsev();\n}\n\nint main(void)\n{\n\tXil_SetTlbAttributes(0xFFFF0000,0x14de2);\n\tStart_Cpu1();\n\tGpio_Init();\n\twhile(1){\n\t\tXGpioPs_WritePin(&amp;Gpio, LED1, 0);\n\t\tsleep(1);\n\t\tXGpioPs_WritePin(&amp;Gpio, LED1, 1);\n\t\tsleep(1);\n\t};\n\n\treturn 0;\n}\n<\/pre>\n\n\n\n<p><strong>\u5982\u9700\u8981\u548cCPU1\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\uff0c\u5219CPU1\u4e5f\u9700\u8981\u5173\u95edL1 Cache\u7f13\u5b58\uff0c\u4e5f\u5373\u589e\u52a0Xil_SetTlbAttributes(0xFFFF0000,0x14de2);\u6307\u4ee4\uff08\u8fd9\u91cc\u7528\u4e0d\u5230\u5c31\u4e0d\u989d\u5916\u5199\u4e86\uff09<\/strong><\/p>\n\n\n\n<p>3) \u4e4b\u540e\u5bf9\u4ee3\u7801\u8fdb\u884c\u4fdd\u5b58\uff0c\u5e76\u8fdb\u884c\u91cd\u65b0\u7f16\u8bd1\uff0cBuild ALL<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"362\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-19.png\" alt=\"\" class=\"wp-image-6391\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-19.png 602w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-19-300x180.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<p>4\uff09<strong>\u521b\u5efaFSBL:<\/strong>\u5728SDK\u4e2d\u65b0\u5efa\u5de5\u7a0b\u5982\u4e0b (FSBL\u8d1f\u8d23\u542f\u52a8\u52a0\u8f7d\u7528\uff0c\u4e4b\u524d\u7ae0\u8282\u6709\u4ecb\u7ecd)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"137\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-61.png\" alt=\"\" class=\"wp-image-1099\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-61.png 669w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-61-300x61.png 300w\" sizes=\"auto, (max-width: 669px) 100vw, 669px\" \/><\/figure>\n\n\n\n<p>\u8bbe\u7f6e\u5de5\u7a0b\u540dfsbl\uff0c\u70b9next\u9009\u62e9FSBL\u6a21\u677f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"260\" height=\"190\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-62.png\" alt=\"\" class=\"wp-image-1100\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"484\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-2.png\" alt=\"\" class=\"wp-image-411\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-2.png 495w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-2-300x293.png 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/figure>\n\n\n\n<p>5\uff09\u5236\u4f5cBOOT.bin\u7528\u4e8e\u56fa\u5316\u5230FLASH\u3002<\/p>\n\n\n\n<p>a) \u5148\u9009\u4e2d\u6211\u4eec\u7684APP\u5de5\u7a0b\u76ee\u5f55\uff0c\u8fd9\u91cc\u9009\u62e9CPU1\u7684\u76ee\u5f55( \u4e0d\u662fFSBL \u4e5f\u4e0d\u662fBSP \u548c platform)<strong>&nbsp;\u5982\u679c\u4e00\u5f00\u59cb\u5df2\u7ecf\u88ab\u9009\u4e2d\u4e86\uff0c\u8bf7\u5148\u7528\u9f20\u6807\u9009\u62e9\u4e0a\u4e0b\u4efb\u610f\u4e00\u4e2a\u76ee\u5f55\uff0c\u518d\u9009\u62e9\u56deAPP\u76ee\u5f55\uff0c\u5426\u5219\u8def\u5f84\u53ef\u80fd\u4e0d\u81ea\u52a8\u52a0\u8f7d<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"409\" height=\"250\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-20.png\" alt=\"\" class=\"wp-image-6395\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-20.png 409w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-20-300x183.png 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/figure>\n\n\n\n<p>b) \u70b9xilinx \u2013&gt;create boot image<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"329\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-3.png\" alt=\"\" class=\"wp-image-412\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-3.png 384w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-3-300x257.png 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/figure>\n\n\n\n<p>\u5728\u754c\u9762\u91cc\u5206\u522b\u8bbe\u7f6e boot.bin\u7684\u8f93\u51fa\u8def\u5f84\uff0c\u4ee5\u53ca\u751f\u6210boot.bin\u9700\u8981\u7684\u4e09\u79cd\u6587\u4ef6\u7684\u8def\u5f84(\u8fd9\u91cc\u6709\u4e00\u4e2a\u5077\u61d2\u7684\u65b9\u6cd5\uff0c\u5c31\u662f\u5728\u70b9\u4e0bCreate Boot Image \u4e4b\u524d\u5148\u9009\u4e2d\u6211\u4eec\u7684APP\u5de5\u7a0b)\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5982\u679c\u6ca1\u6709\u51fa\u73b0\u4e09\u4e2a\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u8bf7\u91cd\u8bd5\u4e0a\u4e00\u6b65\u3002<strong>\u4f46\u662f\u9009\u4e2dCPU0\u5de5\u7a0b\u6253\u5f00\u6b64\u76ee\u5f55\u7684\u60c5\u51b5\u4e0b\u7cfb\u7edf\u81ea\u52a8\u6dfb\u52a0\u7684\u9ed8\u8ba4\u53ea\u6709CPU0.elf, \u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u8fd8\u9700\u8981\u624b\u52a8\u6dfb\u52a0CPU1.elf\u6587\u4ef6\uff0c\u8def\u5f84\u5728SDK\\CPU1\\Debug\\\u4e0b<\/strong>&nbsp;\uff0c \u6dfb\u52a0\u540e\u70b9create image\u751f\u6210\u955c\u50cf<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"673\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-21-1024x673.png\" alt=\"\" class=\"wp-image-6398\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-21-1024x673.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-21-300x197.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-21-768x504.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-21.png 1343w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>6\uff09 \u70e7\u5f55 \u955c\u50cf\uff1a\u751f\u6210\u5b8cboot.bin\u540e\uff0c\u4e0b\u4e00\u6b65\u5c06boot.bin \u4e0b\u8f7d\u5230QSPI flash \u4e2d\u70b9Program Flash<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"298\" height=\"225\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-222.png\" alt=\"\" class=\"wp-image-1907\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-22-1024x460.png\" alt=\"\" class=\"wp-image-6401\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-22-1024x460.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-22-300x135.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-22-768x345.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/03\/image-22.png 1234w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u6309\u4e0a\u56fe\u64cd\u4f5c \u5bfc\u5165 boot\u955c\u50cf \u6587\u4ef6\uff0c\u548cfsbl.elf\u6587\u4ef6(<strong>\u9700\u8981\u81ea\u5df1\u5bfc\u5165\u8def\u5f84)<\/strong>\uff0c\u5c06flash type \u8bbe\u7f6e\u4e3a qspi-x4-sig \uff0c\u7136\u540e<strong>\u5c06\u677f\u5b50\u62e8\u7801\u5f00\u5173\u8c03\u6574\u5230JTAG\u6a21\u5f0f\uff0c\u5e76\u91cd\u65b0\u4e0a\u7535(\u6216\u8005\u6309\u4e0bPOR RST\u952e\uff09<\/strong>\uff0c\u4e4b\u540e\u518d\u70b9\u51fbPROGRAM \u5f00\u59cb\u4e0b\u8f7d<strong>(\u5fc5\u987b\u5728JTAG\u6a21\u5f0f\u4e0b\uff0c\u62e8\u7801\u5f00\u5173\u8c03\u6574\u5230JTAG \u6a21\u5f0f \u5e76\u4e14\u91cd\u542f\u677f\u5b50\u6216\u8005\u6309\u4e0bPOR RST\u952e)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"787\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-30.png\" alt=\"\" class=\"wp-image-7539\" style=\"width:255px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-30.png 493w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-30-188x300.png 188w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/figure>\n\n\n\n<p><strong>\u70b9\u51fbPROGRAM<\/strong>\uff0c<strong>\u5f85\u7a0b\u5e8f\u4e0b\u8f7d\u6210\u529f\u540e\uff0c\u5c06\u8df3\u7ebf\u4f4d\u7f6e\u6362\u56de\u5230QSPI\u4e0a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"649\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-45.png\" alt=\"\" class=\"wp-image-7568\" style=\"width:229px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-45.png 316w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-45-146x300.png 146w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/figure>\n\n\n\n<p>\u91cd\u65b0\u4e0a\u7535<strong>(\u6216\u8005\u6309\u4e0bPOR RST\u952e\uff09<\/strong>\uff0c \u6b63\u5e38\u7684\u8bdd\u4e24\u4e2a<strong>\u4e24\u4e2aLED\u706f\u90fd\u5f00\u59cb \u6309\u4e0d\u540c\u9891\u7387\u8fdb\u884c\u95ea\u70c1\u4e86\u3002\u8bc1\u660e\u6211\u4eec\u7684\u4e24\u4e2aCPU\u90fd\u6b63\u5e38\u7684\u5728\u8fd0\u884c\u5404\u81ea\u4e0d\u540c\u7684\u7a0b\u5e8f\u4e86(CPU0\u901a\u8fc7\u6307\u4ee4\u6210\u529f\u542f\u52a8\u4e86CPU1)\u3002<\/strong><\/p>\n\n\n\n<p>\u5982\u679c\u4e0b\u8f7d\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u4e0b\u56fe\u6240\u793a\uff0c\u8bf4\u660e\u7cfb\u7edf\u4e0a\u7535\u65f6\u6ca1\u6709\u6b63\u5e38\u8fdb\u5165JTAG \u8c03\u8bd5\u6a21\u5f0f\uff0c\u8bf7\u8fdb\u5165JTAG\u6a21\u5f0f\u540e\u518d\u5c1d\u8bd5\u4e0b\u8f7d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"401\" height=\"165\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-10.png\" alt=\"\" class=\"wp-image-419\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-10.png 401w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-10-300x123.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/figure>\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\/12_PS_AMP_TEST.zip\">12_PS_AMP_TEST<\/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\\SDK\\12_PS_AMP_TEST<\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4f17\u6240\u5468\u77e5\uff0cZYNQ \u4e2d\u5305\u542b\u4e86\u53cc\u6838A9\uff0c\u672c\u8282\u6211\u4eec\u5c31\u5c1d\u8bd5\u5728\u4e24\u4e2aCPU\u4e0a\u8dd1\u5b8c\u5168\u72ec\u7acb\u76f8\u4e92\u6ca1\u6709\u4ea4\u96c6\u7684\u7a0b\u5e8f\u3002\u5e76\u6700\u7ec8\u628a\u7a0b\u5e8f\u4e0b\u8f7d\u5230FLASH\u4e2d\u542f\u52a8\u3002<\/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-7660","post","type-post","status-publish","format-standard","hentry","category-lemon-zynq"],"views":972,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/7660","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=7660"}],"version-history":[{"count":7,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/7660\/revisions"}],"predecessor-version":[{"id":7947,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/7660\/revisions\/7947"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=7660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=7660"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=7660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}