{"id":11,"date":"2025-09-08T12:41:38","date_gmt":"2025-09-08T04:41:38","guid":{"rendered":"http:\/\/8.129.1.58\/blog\/?p=11"},"modified":"2025-09-26T21:46:23","modified_gmt":"2025-09-26T13:46:23","slug":"%e4%b8%aa%e4%ba%baaxi%e5%8d%8f%e8%ae%ae%e5%ad%a6%e4%b9%a0%e9%9a%8f%e8%ae%b0","status":"publish","type":"post","link":"http:\/\/www.lhh-redbean.cn\/index.php\/2025\/09\/08\/%e4%b8%aa%e4%ba%baaxi%e5%8d%8f%e8%ae%ae%e5%ad%a6%e4%b9%a0%e9%9a%8f%e8%ae%b0\/","title":{"rendered":"AXI4\u534f\u8bae\u5b66\u4e60\u968f\u8bb01-\u65f6\u5e8f\u8981\u6c42"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u7bc7\u4ee5ARM\u5b98\u65b9AXI4\u624b\u518c\uff1a<br>AMBA \u00ae AXI and ACE Protocol Specification<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/documentation-service.arm.com\/static\/5f915b62f86e16515cdc3b1c\">https:\/\/documentation-service.arm.com\/static\/5f915b62f86e16515cdc3b1c<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u6ce8\uff1a\u5982\u65e0\u7279\u6b8a\u8bf4\u660e\uff0c\u4e0b\u6587\u4e2dAXI\u9ed8\u8ba4\u8868\u793aAXI4\u534f\u8bae<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u53c2\u8003\u624b\u518c\uff0c\u7b80\u5355\u8bb0\u5f55AXI\u603b\u7ebf\u7684\u5b9e\u73b0\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AXI4-Lite operation:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The key functionality of AXI4-Lite operation is:<br>\u2022 all transactions are of burst length 1<br>\u2022 all data accesses use the full width of the data bus \u2014 AXI4-Lite supports a data bus width of 32-bit or 64-bit.<br>\u2022 all accesses are Non-modifiable, Non-bufferable<br>\u2022 Exclusive accesses are not supported.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u624b\u518c\u91cd\u8981\u7ae0\u8282\uff1aChapter A3 &#8211; Single Interface Requirements<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AXI\u63e1\u624b\u673a\u5236\u603b\u7ed3\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4e94\u4e2a\u4fe1\u53f7\u4f20\u8f93\u901a\u9053\uff08W, R, AW, AR, B\uff09\u4f7f\u7528\u76f8\u540c\u7684VALID\/READY\u63e1\u624b\u673a\u5236\uff08\u590d\u4f4d\u540e\u7b2c\u4e00\u4e2a\u4e0a\u5347\u6cbf\u7684\u521d\u503c\u8bbe\u7f6e\u6709\u6240\u4e0d\u540c\uff09\u3002\u6570\u636e\u7684\u4f20\u8f93\u53ea\u4f1a\u53d1\u751f\u5728VALID\u548cREADY\u540c\u65f6\u4e3a\u9ad8\u7535\u5e73\u65f6\u3002<\/li>\n\n\n\n<li>\u6240\u6709\u63a5\u53e3\u4fe1\u53f7\u5fc5\u987b\u662f\u5bc4\u5b58\u5668\u8f93\u51fa\u3002<\/li>\n\n\n\n<li>\u53d1\u9001\u65b9\uff08Source\uff09\u7684 VALID \u4fe1\u53f7\uff0c\u7981\u6b62\u7b49\u5f85 READY\u3002\u5fc5\u987b\u72ec\u7acb\u3001\u7387\u5148\u65ad\u8a00\u3002<br>\u63a5\u6536\u65b9\uff08Destination\uff09\u7684 READY \u4fe1\u53f7\uff0c\u5141\u8bb8\u7b49\u5f85 VALID\u3002\u751a\u81f3\u53ef\u4ee5\u6839\u636e VALID \u7684\u72b6\u6001\u6765\u51b3\u5b9a\u4f55\u65f6\u65ad\u8a00\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u65f6\u5e8f\u8981\u6c42<\/strong><\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">A source is not permitted to wait until <strong>READY <\/strong>is asserted before asserting <strong>VALID<\/strong>.<br>Once <strong>VALID <\/strong>is asserted it must remain asserted until the handshake occurs, at a rising clock edge at which <strong>VALID <\/strong>and <strong>READY <\/strong>are both asserted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A destination is permitted to wait for <strong>VALID <\/strong>to be asserted before asserting the corresponding <strong>READY<\/strong>.<br>If <strong>READY <\/strong>is asserted, it is permitted to deassert <strong>READY <\/strong>before <strong>VALID <\/strong>is asserted<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fe1\u606f\u7684\u53d1\u9001\u65b9\u4e0d\u80fd\u901a\u8fc7\u201c\u7aa5\u63a2\u201d\u63a5\u6536\u65b9\u7684 <strong>READY<\/strong>&nbsp;\u4fe1\u53f7\uff0c\u6765\u51b3\u5b9a\u662f\u5426\u65ad\u8a00\u81ea\u5df1\u7684 <strong>VALID<\/strong>&nbsp;\u4fe1\u53f7\u3002<br>\u4e00\u65e6\u53d1\u9001\u65b9\u65ad\u8a00&nbsp;<strong>VALID<\/strong>\uff0c\u5176\u4fe1\u53f7\u5fc5\u987b\u4fdd\u6301\uff0c\u76f4\u5230\u5b8c\u6210\u63e1\u624b\u63e1\u624b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fe1\u606f\u7684\u63a5\u6536\u65b9\u88ab\u5141\u8bb8\uff0c\u751a\u81f3\u53ef\u4ee5\u6709\u610f\u5730\u7b49\u5f85\u53d1\u9001\u65b9\u5148\u65ad\u8a00 <strong>VALID<\/strong>&nbsp;\u4fe1\u53f7\uff0c\u7136\u540e\u518d\u65ad\u8a00\u81ea\u5df1\u7684 <strong>READY<\/strong>&nbsp;\u4fe1\u53f7\u3002<br>\u5373\u4f7f\u63a5\u6536\u65b9\u5df2\u7ecf\u65ad\u8a00\u4e86 <strong>READY<\/strong>&nbsp;\u4fe1\u53f7\uff08\u8868\u660e\u81ea\u5df1\u51c6\u5907\u597d\u63a5\u6536\u6570\u636e\uff09\uff0c\u5b83\u4e5f\u5b8c\u5168\u88ab\u5141\u8bb8\u5728\u53d1\u9001\u65b9\u7684 <strong>VALID<\/strong>&nbsp;\u4fe1\u53f7\u5230\u6765\u4e4b\u524d\uff0c\u518d\u6b21\u53d6\u6d88\u65ad\u8a00\u8fd9\u4e2a <strong>READY<\/strong>&nbsp;\u4fe1\u53f7\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">the slave must wait for both <strong>ARVALID<\/strong> and <strong>ARREADY<\/strong> to be asserted before it asserts <strong>RVALID<\/strong> to indicate that valid data is available<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8ff0\u5185\u5bb9\u6458\u81ea\u624b\u518cA3.3.1\u3002\u5373\u4e00\u6b21\u8bfb\u6570\u636e\u4e8b\u52a1\uff08R channel\uff09\u5fc5\u987b\u53d1\u751f\u5728\u4e00\u6b21\u8bfb\u5730\u5740\uff08AR channel\uff09\u4e8b\u52a1\u540e\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u4e3a\u4ec0\u4e48\u624b\u518c\u6ca1\u6709\u5bf9\u5199\u6570\u636e\uff08W channel\uff09\u548c\u5199\u5730\u5740\uff08AW channel\uff09\u4f5c\u540c\u6837\u7684\u8981\u6c42\uff1f<\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u56e0\u4e3aW\u548cWA\u90fd\u662f\u4e3b\u53d1\u7ed9\u4ece\u7684,\u800c\u5bf9\u4e8e\u8bfb\u6765\u8bf4\u53ea\u6709AR\u662f\u4e3b\u53d1\u7ed9\u4ece\u7684,\u6309\u5e38\u7406\u6765\u8bf4\u5728\u8bfb\u7684\u65f6\u5019\u4f60\u6ca1\u6709\u5730\u5740\u53d1\u51fa\u53bb\u5c31\u4e0d\u5e94\u8be5\u8fd4\u56de\u8bfb\u7684\u6570\u636e,\u800c\u5199\u7684\u65f6\u5019\u5199\u5730\u5740\u548c\u5199\u6570\u636e\u90fd\u662f\u53d1\u7ed9\u4ece\u673a\u7684,\u4e24\u4e2a\u53ef\u4ee5\u4e0d\u76f8\u5173,\u53ef\u4ee5\u5199\u6570\u636e\u7ed9\u4ece\u673a\u7136\u540e\u8fc7\u51e0\u4e2a\u5468\u671f\u518d\u628a\u5199\u5730\u5740\u7ed9\u4ece\u673a,\u4ece\u673a\u5b8c\u6210\u5199\u64cd\u4f5c\u4e4b\u540e\u8fd4\u56deB\u901a\u9053\u7684\u4fe1\u53f7,\u6240\u4ee5\u5bf9B\u901a\u9053\u4f1a\u6709\u9650\u5236<\/p>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\">\u2014\u2014cosin<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u5178\u578b\u63e1\u624bTiming Diagram\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"493\" src=\"http:\/\/8.129.1.58\/blog\/wp-content\/uploads\/2025\/09\/image.png\" alt=\"\" class=\"wp-image-40\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image.png 951w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-300x156.png 300w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-768x398.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"483\" src=\"http:\/\/8.129.1.58\/blog\/wp-content\/uploads\/2025\/09\/image-1.png\" alt=\"\" class=\"wp-image-43\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-1.png 924w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-1-300x157.png 300w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-1-768x401.png 768w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"500\" src=\"http:\/\/8.129.1.58\/blog\/wp-content\/uploads\/2025\/09\/image-2.png\" alt=\"\" class=\"wp-image-45\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-2.png 933w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-2-300x161.png 300w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-2-768x412.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5404Channel Signal Pair\u8be6\u7ec6\u89c4\u8303<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AXI\u534f\u8bae\u5171\u6709\u5982\u4e0b\u4e94\u7ec4\u63e1\u624b\u4fe1\u53f7<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Write address channel: AWVALID, AWREADY<\/li>\n\n\n\n<li>Write data channel: WVALID, WREADY<\/li>\n\n\n\n<li>Write response channel: BVALID, BREADY<\/li>\n\n\n\n<li>Read address channel: ARVALID, ARREADY<\/li>\n\n\n\n<li>Read data channel: RVALID, RREADY<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Write address channel<\/strong><br>The master can assert the AWVALID signal only when it drives valid address and control information. When<br>asserted, AWVALID must remain asserted until the rising clock edge after the slave asserts AWREADY.<br>The default state of AWREADY can be either HIGH or LOW. This specification recommends a default state of<br>HIGH. When AWREADY is HIGH the slave must be able to accept any valid address that is presented to it.<br><br>&#8230;&#8230;<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8ff0\u5185\u5bb9\u6458\u81ea\u624b\u518cA3.2.2\uff0c\u73b0\u603b\u7ed3\u5982\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><\/td><td class=\"has-text-align-center\" data-align=\"center\">VALID<\/td><td class=\"has-text-align-center\" data-align=\"center\">READY<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">AW<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u4fdd\u6301\u65ad\u8a00\u76f4\u5230\u63e1\u624b<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u9ed8\u8ba4\u5efa\u8bae\u4e3a\u9ad8\u7535\u5e73<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">W<\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">B<\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">AR<\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">R<\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u63e1\u624b\u4fe1\u53f7\u987a\u5e8f\u8981\u6c42\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"458\" height=\"161\" src=\"http:\/\/8.129.1.58\/blog\/wp-content\/uploads\/2025\/09\/image-7.png\" alt=\"\" class=\"wp-image-74\" style=\"width:550px;height:auto\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-7.png 458w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-7-300x105.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"195\" src=\"http:\/\/8.129.1.58\/blog\/wp-content\/uploads\/2025\/09\/image-6.png\" alt=\"\" class=\"wp-image-73\" style=\"width:555px;height:auto\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-6.png 559w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-6-300x105.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">AXI Backward Response<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"514\" height=\"437\" src=\"http:\/\/8.129.1.58\/blog\/wp-content\/uploads\/2025\/09\/image-4.png\" alt=\"\" class=\"wp-image-66\" style=\"width:365px;height:auto\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-4.png 514w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-4-300x255.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>OKAY<\/strong><br>Normal access success. Indicates that a normal access has been successful. Can also indicate an<br>exclusive access has failed.<br>&#8230;&#8230;<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8ff0\u5185\u5bb9\u6458\u81ea\u624b\u518cA3.4.4\uff0c\u73b0\u603b\u7ed3\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>OKAY<\/strong>\uff1a\u6b63\u5e38\u7684\u54cd\u5e94\uff0c\u8868\u793a\u4e00\u6b21\u975eexclusive\u8bf7\u6c42\u4f20\u8f93\u6210\u529f\uff0c\u6216\u53ef\u4ee5\u8868\u793aexclusive\u8bf7\u6c42\u7684\u5931\u8d25\uff0c\u4e5f\u8868\u793a\u4ece\u673a\u4e0d\u652f\u6301exclusive access\u3002<\/li>\n\n\n\n<li><strong>EXOKAY<\/strong>\uff1a\u8868\u793a\u4e00\u6b21\u8bfb\/\u5199\u7684exclusive access\u6210\u529f<\/li>\n\n\n\n<li><strong>SLVERR<\/strong>\uff1a\u8868\u793a\u8bf7\u6c42\u5df2\u7ecf\u88ab\u4ece\u673a\u6210\u529f\u63a5\u6536\uff0c\u4f46\u662f\u4ece\u673a\u5e0c\u671b\u8fd4\u56de\u4e00\u4e2a\u9519\u8bef\u6765\u63d0\u793a\u4e3b\u673a\u5904\u7406<\/li>\n\n\n\n<li><strong>DECERR<\/strong>\uff1aDecode Error\uff0c\u8868\u793a\u4e8b\u7269\u603b\u7ebf\u5730\u5740\u4e0a\u6ca1\u6709\u76f8\u5e94\u4ece\u673a<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7bc7\u4ee5ARM\u5b98\u65b9AXI4\u624b\u518c\uff1a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[9,11,10,7],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-notes","tag-axi","tag-datasheet","tag-10","tag-7"],"_links":{"self":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":40,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":105,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts\/11\/revisions\/105"}],"wp:attachment":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}