{"id":99,"date":"2022-09-07T08:45:09","date_gmt":"2022-09-07T00:45:09","guid":{"rendered":"https:\/\/blog.taiyang.space\/?p=99"},"modified":"2022-11-11T13:21:15","modified_gmt":"2022-11-11T05:21:15","slug":"%e7%ac%ac4%e7%ab%a0-%e5%ad%98%e5%82%a8%e5%99%a8","status":"publish","type":"post","link":"https:\/\/blog.taiyang.space\/?p=99","title":{"rendered":"\u7b2c4\u7ae0-\u5b58\u50a8\u5668"},"content":{"rendered":"<h2><strong>4.1 \u6982\u8ff0<\/strong><\/h2>\n<h3><strong>4.1.1 \u5b58\u50a8\u5668\u5206\u7c7b<\/strong><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434306.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<h3><strong>4.1.2 \u5b58\u50a8\u5668\u7684\u5c42\u6b21\u7ed3\u6784<\/strong><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434276.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h2>4.2 \u4e3b\u5b58\u50a8\u5668<\/h2>\n<h3>4.2.1 \u6982\u8ff0<\/h3>\n<h4>1. \u4e3b\u5b58\u7684\u57fa\u672c\u7ec4\u6210<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434291.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>2. \u4e3b\u5b58\u548cCPU\u7684\u8054\u7cfb<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434095.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>3. \u4e3b\u5b58\u4e2d\u5b58\u50a8\u5355\u5143\u5730\u5740\u7684\u5206\u914d<\/h4>\n<p><strong>0x12345678<\/strong>\u5982\u4f55\u5728\u4e3b\u5b58\u50a8\u5668\u4e2d\u8fdb\u884c\u5b58\u50a8\uff1f<\/p>\n<p>\u4e24\u79cd\u6a21\u5f0f\uff1a<\/p>\n<ul>\n<li>\u5927\u7aef\uff08\u5b58\u50a8\uff09\u6a21\u5f0f\uff1a\u662f\u6307\u6570\u636e\u7684\u4f4e\u4f4d\u4fdd\u5b58\u5728\u5185\u5b58\u7684\u9ad8\u5730\u5740\u4e2d\uff0c\u800c\u6570\u636e\u7684\u9ad8\u4f4d\uff0c\u4fdd\u5b58\u5728\u5185\u5b58\u7684\u4f4e\u5730\u5740\u4e2d<\/li>\n<li>\u5c0f\u7aef\uff08\u5b58\u50a8\uff09\u6a21\u5f0f\uff1a\u662f\u6307\u6570\u636e\u7684\u4f4e\u4f4d\u4fdd\u5b58\u5728\u5185\u5b58\u7684\u4f4e\u5730\u5740\u4e2d\uff0c\u800c\u6570\u636e\u7684\u9ad8\u4f4d\uff0c\u4fdd\u5b58\u5728\u5185\u5b58\u7684\u9ad8\u5730\u5740\u4e2d<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434288.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u8fd9\u8fb9\u5efa\u8bae\u4f7f\u7528C\u8bed\u8a00\u8fdb\u884c\u7406\u89e3\uff1b\u73af\u5883\u4e3a\uff1aVS2019<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u6269\u5c55<\/strong>\uff1a<\/p>\n<p>\u4e24\u79cd\u65b9\u6cd5\u5224\u65ad\u673a\u5668\u5b58\u50a8\u662f\u5927\u7aef\u8fd8\u662f\u5c0f\u7aef<\/p>\n<pre><code class=\"language-c\" lang=\"c\">\/**\n* \u8fd4\u56de1\u4e3a\u5c0f\u7aef\n*\/\nint check_up()\n{\n\tint i = 1;\/\/0x00000001  \u5185\u5b58\u4e2d\u8868\u793a\u5730\u5740\u4e3a\uff1a0x01000000\n\tchar* p = (char*)&amp;i;  \/\/01\n\treturn *p;\n}\n\nint main()\n{\n\tint ret = check_up();\n\tif (ret == 1)\n\t{\n\t\tprintf(\"\u5c0f\u7aef\");\n\t}\n\telse\n\t{\n\t\tprintf(\"\u5927\u7aef\");\n\t}\n    \n    return 0;\n}\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre><code class=\"language-c\" lang=\"c\">int check_up()\n{\n    union un\n\t{\n\t\tchar c;\n\t\tint i;\n\t}u;\n\n\tu.i = 1;\n\n\treturn u.c;\n}\n\nint main()\n{\n\tint ret = check_sys();\n\tif (ret == 1)\n\t{\n\t\tprintf(\"\u5c0f\u7aef\");\n\t}\n\telse\n\t{\n\t\tprintf(\"\u5927\u7aef\");\n\t}\n\n\treturn 0;\n}\n<\/code><\/pre>\n<p>\u4e00\u822cx86\u67b6\u6784\u7684\u8ba1\u7b97\u673a\u91c7\u7528\u5c0f\u7aef\u65b9\u5f0f<\/p>\n<hr>\n<p>\u5047\u8bbe\u4e00\u53f0\u673a\u5668\u5730\u5740\u7ebf\u4e3a24\u6839<\/p>\n<figure>\n<table>\n<thead>\n<tr>\n<th>&nbsp;<\/th>\n<th>\u5bfb\u5740\u65b9\u5f0f<\/th>\n<th>\u5bfb\u5740\u8303\u56f4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>&nbsp;<\/td>\n<td>\u6309<strong>\u5b57\u8282<\/strong>\u5bfb\u5740<\/td>\n<td>2^24=16MB<\/td>\n<\/tr>\n<tr>\n<td>\u82e5\u5b57\u957f\u4e3a16<\/td>\n<td>\u6309<strong>\u5b57<\/strong>\u5bfb\u5740<\/td>\n<td>8MW<\/td>\n<\/tr>\n<tr>\n<td>\u82e5\u5b57\u957f\u4e3a32<\/td>\n<td>\u6309<strong>\u5b57<\/strong>\u5bfb\u5740<\/td>\n<td>4MW<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<ul>\n<li>\u6309\u5b57\u8282\u5bfb\u5740\uff0c\u9ed8\u8ba4\u4e00\u4e2a\u5b57\u4e3a8bit\uff08\u5373\u5b57\u957f\u4e3a8\uff09\uff0c\u6240\u4ee5\u8303\u56f4\u4e3a\uff1a2^24=16MB\uff08\u5146\u5b57\u8282\uff09<\/li>\n<\/ul>\n<ul>\n<li>\u6309\u5b57\u5bfb\u5740\uff0c\u6211\u4e2a\u4eba\u7406\u89e3\uff1a\u628a\u6309\u5b57\u8f6c\u6362\u4e3a\u6309\u5b57\u8282\uff1b\u56e0\u4e3a\u5b57\u957f\u4e3a16\uff0c\u6240\u4ee5\u4e3a2\u4e2aByte\uff0c\u6240\u4ee5\u5bfb\u5740\u8303\u56f4\u4e3a\uff1a8MW\uff08\u5146\u5b57 Word\uff09\uff0c\u4e5f\u53ef\u4ee5\u5199\u6210\uff1a16MB\uff0c<strong>\u4e0d\u8fc7\u5728\u8fd9\u91cc 1W=2Byte\uff1b<\/strong>\u4f9d\u6b64\u7c7b\u63a8<\/li>\n<\/ul>\n<hr>\n<h4>4. \u4e3b\u5b58\u7684\u6280\u672f\u6307\u6807<\/h4>\n<ol start=\"\">\n<li>\u5b58\u50a8\u5bb9\u91cf\t\u4e3b\u5b58 \u5b58\u653e\u4e8c\u8fdb\u5236\u4ee3\u7801\u7684\u603b\u4f4d\u6570<\/li>\n<li>\u5b58\u50a8\u901f\u5ea6<\/li>\n<li>\n<ol start=\"\">\n<li>\u5b58\u53d6\u65f6\u95f4<\/li>\n<\/ol>\n<\/li>\n<li>\n<ol start=\"\">\n<li>\n<ol start=\"\">\n<li>\u8bbf\u95ee\u65f6\u95f4<\/li>\n<li>\u8bfb\u51fa\u65f6\u95f4<\/li>\n<li>\u5199\u5165\u65f6\u95f4<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<ol start=\"\">\n<li>\u5b58\u53d6\u5468\u671f\t\/\/ \u8fde\u7eed\u4e24\u6b21\u72ec\u7acb\u7684\u5b58\u50a8\u5668\u64cd\u4f5c\uff08\u8bfb\u6216\u5199\uff09\u6240\u9700\u7684\u6700\u5c0f\u95f4\u9694\u65f6\u95f4<\/li>\n<\/ol>\n<\/li>\n<li>\n<ol start=\"\">\n<li>\n<ol start=\"\">\n<li>\u8bfb\u5468\u671f<\/li>\n<li>\u5199\u5468\u671f<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>\u5b58\u50a8\u5668\u7684\u5e26\u5bbd<\/li>\n<\/ol>\n<hr>\n<h3>4.2.2 \u534a\u5bfc\u4f53\u5b58\u50a8\u82af\u7247\u7b80\u4ecb<\/h3>\n<h4>1. \u57fa\u672c\u7ed3\u6784<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434305.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<ul>\n<li>\u8bfb\u5199\u63a7\u5236\u7ebf\uff1a\u5c06CPU\u7684\u63a7\u5236\u4fe1\u53f7\u4f20\u7ed9\u8bfb\u5199\u7535\u8def<\/li>\n<li>\u5730\u5740\u7ebf\uff1a\u5c06CPU\u9700\u8981\u7684\u5730\u5740\u4f20\u8f93\u5230\u8bd1\u7801\u9a71\u52a8\u4e2d\uff0c\u7136\u540e\u7531\u8bd1\u7801\u9a71\u52a8\u8fdb\u884c\u7ffb\u8bd1\uff0c\u7136\u540e\u8fdb\u884c\u5bfb\u5740\uff0c\u662f\u5355\u5411\u7684<\/li>\n<li>\u5730\u5740\u7ebf\u7684\u6570\u91cf\u51b3\u5b9a\u4e86\u5b58\u50a8\u5355\u5143\u7684\u6570\u91cf\uff0c\u5047\u5982\u67098\u6839\u5730\u5740\u7ebf\uff1a0000 0000 \u603b\u5171\u6709\u51e0\u79cd\u6392\u5217\u7ec4\u5408\uff0c\u53732\u76848\u6b21\u65b9\u3002\u6bcf\u4e00\u79cd\u7ec4\u5408\u90fd\u5bf9\u5e94\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u3002<\/li>\n<li>\u6570\u636e\u7ebf\uff1a\u5c06\u5b58\u50a8\u4f53\u4e2d\u7684\u6570\u636e\u8bfb\u51fa\uff0c\u653e\u5165CPU\uff1b\u5c06CPU\u8ba1\u7b97\u5b8c\u6bd5\u7684\u6570\u636e\u5b58\u5165\u5b58\u50a8\u4f53\u3002\u662f\u53cc\u5411\u7684\u3002<\/li>\n<li>\u6570\u636e\u7ebf\u7684\u6570\u91cf\u51b3\u5b9a\u4e86\u5b58\u50a8\u5355\u5143\u7684\u5927\u5c0f\uff0c\u5373\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u80fd\u591f\u5b58\u591a\u5c11\u6570\u636e\u3002\u6bd4\u5982\u516b\u6839\u6570\u636e\u7ebf0000 0000\uff0c \u8fdb\u884c\u4e00\u6b21\u8bfb\u53d6\u7684\u65b9\u5f0f\u3002<\/li>\n<li>\u7247\u9009\u7ebf\uff1a\u4e00\u4e2a\u534a\u5bfc\u4f53\u5b58\u50a8\u5668\u662f\u6709\u591a\u4e2a\u82af\u7247\u6784\u6210\u7684\uff0c\u6240\u4ee5\u5728\u8c03\u7528\u4e00\u4e2a\u5b58\u50a8\u5668\u4e2d\u7684\u5177\u4f53\u7684\u5b58\u50a8\u5355\u5143\u65f6\uff0c\u786e\u5b9a\u662f\u54ea\u4e00\u4e2a\u82af\u7247<\/li>\n<\/ul>\n<h4>2. \u8ba1\u7b97\u82af\u7247\u7684\u5bb9\u91cf<\/h4>\n<p>\u82af\u7247\u5bb9\u91cf = \u5730\u5740\u7ebf\u7684\u5bfb\u5740\u80fd\u529b * \u6570\u636e\u7ebf\u7684\u6570\u91cf = \u5b58\u50a8\u5355\u5143\u7684\u6570\u91cf * \u6bcf\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u7684\u5bb9\u91cf<\/p>\n<p>\u5982\u4e0b\u6240\u793a\uff0c\u6839\u636e\u5730\u5740\u7ebf\u548c\u6570\u636e\u7ebf\u8ba1\u7b97\u82af\u7247\u7684\u5bb9\u91cf\uff1a2^10*4=1K*4<br \/>\n<img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021434975.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<h4>3. \u7247\u9009\u7ebf\u7684\u4f5c\u7528<\/h4>\n<ul>\n<li><strong>\u8ba9\u67d0\u4e00\u4e2a\u82af\u7247\u6216\u8005\u67d0\u4e9b\u82af\u7247\u540c\u65f6\u8fdb\u884c\u5de5\u4f5c<\/strong><\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435059.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u6269\u5145\u5b58\u50a8\u5355\u5143\u5bb9\u91cf\uff1a<\/strong>\u5982\u56fe\uff0c16K x 1\u4f4d\u7684\u82af\u7247\uff0c\u603b\u5171\u670916K\u4e2a\u5b58\u50a8\u5355\u5143\uff0c\u6bcf\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u67091\u4f4d\u3002\u82e5\u8981\u5b58\u50a8\u516b\u4f4d\u6570\u636e\uff0c\u5c06\u516b\u4e2a\u5b58\u50a8\u5355\u5143\u8fdb\u884c\u5e76\u8054\uff0c\u6bcf\u4e00\u4e2a\u5b58\u50a8\u82af\u7247\u5b58\u50a8\u516b\u4f4d\u6570\u636e\u4e2d\u7684\u4e00\u4f4d\u3002\u6bcf\u4e00\u6b21\u8bfb\u53d6\u6570\u636e\u90fd\u540c\u65f6\u8bfb\u53d6\u516b\u4f4d\u82af\u7247\u5730\u4e00\u4f4d\uff0c\u7edf\u4e00\u8f93\u51fa\u5c31\u662f\u516b\u4f4d\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435494.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>4. \u8bd1\u7801\u9a71\u52a8\u65b9\u5f0f<\/h4>\n<ul>\n<li>\u7ebf\u9009\u6cd5<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435313.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>\u91cd\u5408\u6cd5<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435615.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.2.3 \u968f\u673a\u5b58\u53d6\u5b58\u50a8\u5668(RAM)<\/h3>\n<h4>1. \u9759\u6001RAM\uff08SRAM\uff09<\/h4>\n<h5>\u57fa\u672c\u5355\u5143\u7535\u8def\u7684\u6784\u6210<\/h5>\n<p><strong>\u5b58\u50a80\u548c1\u4fe1\u53f7\u7684\u65b9\u5f0f<\/strong>\uff1a\u9759\u6001RAM\u4fdd\u5b58\u76840\u548c1\u7684\u539f\u7406\u5c31\u662f\u4f7f\u7528<strong>\u89e6\u53d1\u5668<\/strong>\u3002T1~T4\u4e3a4\u6839\u7ba1\u5b50\u6784\u6210\u7684\u53cc\u7a33\u6001\u89e6\u53d1\u5668\uff0c\u4e0d\u6613\u4e22\u5931\u6216\u8005\u662f\u635f\u8017\uff0c\u5b83\u5728\u4e24\u7aef\u5b58\u50a8\u4fe1\u606f\uff0c\u5de6\u7aef\u4fdd\u6301\u8f93\u5165\u4fe1\u53f7\u7684\u975e\uff0c\u53f3\u7aef\u4fdd\u5b58\u539f\u8f93\u5165\u4fe1\u53f7\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u8bd1\u7801\u9a71\u52a8\u65b9\u5f0f<\/strong>\uff1a\u91cd\u5408\u6cd5\u2014\u2014\u5206\u522b\u901a\u8fc7\u884c\u5730\u5740\u548c\u5217\u5730\u5740\u7684\u8054\u5408\u9009\u4e2d\u624d\u80fd\u8f93\u51fa\uff0c\u6bcf\u4e00\u4efd\u5b58\u50a8\u5355\u5143\u90fd\u5bf9\u5e94\u4e00\u4e2a\u884c\u5217\u5730\u5740\u5750\u6807\uff08\u884c\u5730\u5740X\uff0c\u5217\u5730\u5740Y\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>T5\u548cT6\u662f\u884c\u5730\u5740\u9009\u62e9\u5f00\u5173<\/strong>\uff1a\u5f53\u63a5\u901a\u7684\u65f6\u5019\uff0c\u5bf9\u5e94\u7684\u4fe1\u53f7\u53ef\u4ee5\u901a\u8fc7\u4e24\u7aef\u5206\u522b\u7ecf\u8fc7\u884c\u9009\u62e9\u5f00\u5173\u8f93\u51fa\u5230\u5217\u9009\u62e9\u5f00\u5173\u7ec8\u6b62\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>T7\u548cT8\u662f\u5217\u5730\u5740\u9009\u62e9\u5f00\u5173<\/strong>\uff1a\u5f53\u5f00\u5173\u63a5\u901a\u65f6\uff0c\u5141\u8bb8\u6570\u636e\u4ece\u53cc\u7a33\u6001\u89e6\u53d1\u5668\u4e24\u7aef\u8f93\u51fa\uff0c\u7ecf\u8fc7\u884c\u5730\u5740\u9009\u62e9\u5668\uff0c\u518d\u901a\u8fc7\u5217\u5730\u5740\u9009\u62e9\u5668\uff0c\u5b9e\u73b0\u6700\u7ec8\u7684\u8f93\u51fa\u3002\u53ea\u6709\u884c\u3001\u5217\u88ab\u9009\u4e2d\u7684\u67d0\u4e2a\u5355\u5143\u5b58\u50a8\u7535\u8def\uff0c\u5728\u5176\u884c\u5217\u901a\u95e8\u540c\u65f6\u88ab\u6253\u5f00\u65f6\uff0c\u624d\u80fd\u8fdb\u884c\u8bfb\u51fa\u4fe1\u606f\u548c\u5199\u5165\u4fe1\u606f\u7684\u64cd\u4f5c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8bfb\u5199\u5f00\u5173\uff0c\u901a\u8fc7\u8f93\u5165\u5bf9\u5e94\u7684\u8bfb\u5199\u63a7\u5236\u4fe1\u53f7\u9009\u62e9\u662f\u5426\u6253\u5f00\uff0c\u901a\u8fc7\u6570\u636e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435390.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p><strong>\u603b\u7ed3\uff1a<\/strong>\u4e00\u4e2aSRAM\u7684\u57fa\u672c\u5355\u5143\u9700\u8981\u75318\u4e2a\u7535\u8def\u57fa\u672c\u5143\u4ef6\u6784\u6210<\/p>\n<p>&nbsp;<\/p>\n<h5>\u9759\u6001RAM\u7684\u57fa\u672c\u8bfb\u64cd\u4f5c<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435068.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>\u9759\u6001RAM\u7684\u57fa\u672c\u5199\u64cd\u4f5c<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435311.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>\u9759\u6001RAM\u4e3e\u4f8b\u2014\u2014Intel 2114<\/h5>\n<h6>Intel 2114 \u5916\u7279\u6027<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435361.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u5728Intel 2114\u82af\u7247\u4e2d\uff0cWE\u4e3a\u8bfb\u5199\u63a7\u5236\u4fe1\u53f7\uff0c\u5176\u4e2d\u4f4e\u7535\u5e73\u4e3a\u5199\uff0c\u9ad8\u7535\u5e73\u4e3a\u8bfb\u3002CS\u4e3a\u7247\u9009\u4fe1\u53f7\uff0c\u53ea\u6709CS\u4fe1\u53f7\u662f\u4f4e\u7535\u5e73\u7684\u65f6\u5019Intel 2114\u82af\u7247\u624d\u4f1a\u9009\u4e2d\uff0c\u82af\u7247\u5de6\u4fa7A0-A9\u662f10\u6761\u5730\u5740\u7ebf\uff0c\u53ef\u4ee5\u770b\u51fa\u82af\u7247\u662f1K\u7684\u5b58\u50a8\uff0c\u53f3\u4fa7\u662f4\u6839\u6570\u636e\u7ebf\uff0c\u53ef\u4ee5\u8bfb\u51fa\u548c\u5199\u51654\u4f4d\u4fe1\u53f7\uff0c\u56e0\u6b64\u53ef\u4ee5\u770b\u51fa\uff0c\u82af\u7247\u7684\u5b58\u50a8\u5bb9\u91cf\u4e3a1K X 4\u4f4d \u3002<\/p>\n<p>&nbsp;<\/p>\n<h6>Intel 2114 RAM \u77e9\u9635 (64 \u00d7 64) \u8bfb<\/h6>\n<p>\u4ee5 <strong>Intel 2114\u82af\u7247<\/strong> \u7ec4\u6210\u7684 <strong>RAM \u77e9\u9635 (64 \u00d7 64)<\/strong> \uff0c\u884c\u5730\u5740\u670964\u4e2a\uff0c\u5217\u5730\u5740\u4e00\u5171\u5206\u4e3a4\u7ec4\uff0c\u6bcf\u4e00\u7ec4\u4e00\u5171\u670916\u5217\u3002\u5982\u4e0b\u56fe\uff0c\u5f53\u884c\u5730\u5740\u7ebf\u4e3a000000(\u65f6\uff0c\u82af\u7247\u7684\u7b2c\u4e00\u884c\u88ab\u5168\u90e8\u9009\u4e2d<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435454.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<p>\u5f53\u5217\u5730\u5740\u7ebf\u4e3a0000\u65f6\uff0c\u6bcf\u7ec4\u4e2d\u7684\u7b2c\u4e00\u5217\u5168\u90e8\u88ab\u9009\u4e2d\uff0c\u53730\uff0c16\uff0c32\uff0c48\u88ab\u9009\u4e2d<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435491.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<p>\u5f53 <em>WE<\/em>\u4e3a\u8bfb\u4fe1\u53f7\uff08\u9ad8\u7535\u5e73\uff09\uff0c\u8bfb\u7535\u8def\u6709\u6548\uff0c <em>CS<\/em>\u7247\u9009\u4fe1\u53f7\u4e3a\u4f4e\u7535\u5e73\u65f6\uff0c\u82af\u7247\u88ab\u9009\u4e2d\uff0c\u884c\u5217\u4ea4\u53c9\u70b9\u5730\u5740\u7684\u4fe1\u53f7\u4fbf\u901a\u8fc7\u7535\u8def\u901a\u8def\u88ab\u8bfb\u51fa\u6765<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435539.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6>Intel 2114 RAM \u77e9\u9635 (64 \u00d7 64) \u5199<\/h6>\n<p>Intel 2114 RAM \u77e9\u9635\u7684\u5199\u8ddf\u8bfb\u57fa\u672c\u4e0a\u662f\u4e00\u81f4\u7684\uff0c\u53ea\u662f<em>WE<\/em>\u88ab\u6362\u6210\u4e86\u5199\u4fe1\u53f7\uff08\u4f4e\u7535\u5e73\uff09\uff0c\u4eceI\/O\u6570\u636e\u7ebf\u5199\u5165\u6570\u636e<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435761.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>2. \u52a8\u6001RAM\uff08DRAM\uff09<\/h4>\n<p>\u52a8\u6001RAM\u4fdd\u5b580\u548c1\u7684\u65b9\u6cd5\u662f\u7535\u5bb9\uff0c\u5f53\u7535\u5bb9\u4fdd\u5b58\u7535\u8377\u65f6\u4e3a1\uff0c\u4e0d\u4fdd\u5b58\u7535\u8377\uff08\u6ca1\u5145\u7535\uff09\u65f6\u4e3a0\uff1b<\/p>\n<p>\u5e38\u89c1\u7684\u52a8\u6001RAM\u57fa\u672c\u5355\u5143\u7535\u8def\u6709\u4e09\u7ba1\u5f0f\u548c\u5355\u7ba1\u5f0f\u4e24\u79cd\uff0c\u4ed6\u4eec\u5171\u540c\u7684\u7279\u70b9\u662f\u9760\u7535\u5bb9\u5b58\u50a8\u7535\u8377\u7684\u539f\u7406\u6765\u5bc4\u5b58\u4fe1\u606f\u3002<\/p>\n<h5>\u4e09\u7ba1\u5f0f\u52a8\u6001RAM<\/h5>\n<h6>\u7535\u6e90\u7535\u8def<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435958.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6>\u4fe1\u606f\u8bfb\u51fa<\/h6>\n<p>\u5982\u679c\u9884\u5145\u7535\u4fe1\u53f7\u6709\u6548\uff0cT4\u5f00\u5173\u6253\u5f00\uff0cV(DD)\u8fdb\u884c\u5145\u7535\uff0c\u4f1a\u5bf9\u8bfb\u6570\u636e\u7ebf\u8fdb\u884c\u5145\u7535\uff0c\u8bfb\u6570\u636e\u7ebf\u6709\u6548\uff08\u53d8\u6210\u9ad8\u7535\u5e73\uff0c\u8868\u793a\u4e3a1\uff09\uff0c\u5982\u679c\u8fdb\u884c\u8bfb\u51fa\uff0c\u8bfb\u9009\u62e9\u7ebf\u6709\u6548\uff0cT2\u5f00\u5173\u88ab\u6253\u5f00\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5982\u679cC(g)\u5f53\u4e2d\u6ca1\u6709\u4fdd\u5b58\u6709\u7535\u5bb9\uff08\u5b58\u50a80\uff09\uff0c\u90a3\u4e48T1\u5f00\u5173\u4e3a\u4f4e\u7535\u5e73\uff08\u8868\u793a\u4e3a0\uff09\uff0cT1\u5f00\u5173\u4e0d\u4f1a\u88ab\u6253\u901a\uff0c\u8bfb\u6570\u636e\u7ebf\u4ecd\u7136\u4fdd\u6301\u9ad8\u7535\u5e73\uff0c\u8bfb\u51fa\u7684\u6570\u636e\u4e3a1\uff1b\u5982\u679cC(g)\u7535\u5bb9\u5f53\u4e2d\u4fdd\u5b58\u6709\u7535\u8377\uff08\u5b58\u50a8\u4e3a1\uff09\uff0c\u90a3\u4e48T1\u5f00\u5173\u4e3a\u9ad8\u7535\u5e73\uff08\u8868\u793a\u4e3a1\uff09\uff0c\u6b64\u65f6T1\u548cT2\u5f00\u5173\u540c\u65f6\u653e\u7535\uff0c\u4f7f\u5f97\u8bfb\u6570\u636e\u7ebf\u7531\u9ad8\u7535\u5e73\u53d8\u6210\u4e86\u4f4e\u7535\u5e73\uff08\u8868\u793a\u4e3a0\uff09\uff0c\u7531\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u51fa\u8bfb\u51fa\u7684\u4fe1\u606f\u548c\u539f\u5b58\u7684\u4fe1\u606f\u662f\u76f8\u53cd\u7684\u3002<strong>\uff08\u8ddf\u8bfb\u653e\u5927\u5668\u6709\u5173\uff09<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435902.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6>\u4fe1\u606f\u5199\u5165<\/h6>\n<p>\u5982\u679c\u8fdb\u884c\u5199\u5165\uff0c\u5199\u9009\u62e9\u7ebf\u6709\u6548\uff0cT3\u5f00\u5173\u88ab\u6253\u5f00\uff0c\u5199\u6570\u636e\u7ebf\u4f1a\u901a\u8fc7T3\u5f00\u5173\u5411<em>C(g)<\/em>\u8fdb\u884c\u5145\u7535\u6216\u8005\u653e\u7535\u3002\u5982\u679c\u5199\u9009\u62e9\u7ebf\u662f\u9ad8\u7535\u5e73\uff0c\u90a3\u4e48\u5199\u5165\u7684\u4fe1\u53f7\u5c31\u662f\u9ad8\u7535\u5e73\uff0c\u540c\u6837\uff0c\u5982\u679c\u5199\u9009\u62e9\u7ebf\u662f\u4f4e\u7535\u5e73\uff0c\u5199\u5165\u7684\u4fbf\u662f\u4f4e\u7535\u5e73\u3002\u56e0\u6b64\u5199\u5165\u4e0e\u8f93\u5165\u4fe1\u606f\u76f8\u540c\u3002<\/p>\n<p>&nbsp;<\/p>\n<h6>\u4e09\u7ba1DRAM\u5b9e\u4f8b\u2014\u2014Intel 1103 \u8bfb<\/h6>\n<p>\u4e09\u7ba1\u52a8\u6001 RAM \u82af\u7247 (Intel 1103) \u4e00\u5171\u6709A0~A9 10\u4e2a \u5730\u5740\u7ebf\uff0c\u56e0\u6b64\u82af\u7247\u7684\u5b58\u50a8\u5bb9\u91cf\u4e3a1K\uff1b \u6bcf\u6b21\u8bfb\u51fa\u548c\u5199\u5165\u90fd\u4e3a\u4e00\u4f4d\u4fe1\u53f7\uff0c\u56e0\u6b64\u662f1K x 1\u4f4d\u5bb9\u91cf\u7684\u82af\u7247\u3002\u884c\u5730\u5740\u7ecf\u8fc7\u8bd1\u7801\u540e\uff0c\u6bcf\u4e00\u884c\u90fd\u5bf9\u5e94\u4e86\u4e24\u4e2a\u63a7\u5236\u4fe1\u53f7\uff0c\u4e00\u4e2a\u662f\u8bfb\u9009\u62e9\u4fe1\u53f7\u548c\u4e00\u4e2a\u662f\u5199\u9009\u62e9\u4fe1\u53f7\uff0c\u8bfb\u548c\u5199\u5206\u522b\u4f7f\u7528\u4e0d\u540c\u7684\u4fe1\u53f7\u8fdb\u884c\u63a7\u5236\u3002\u5982\u56fe\uff0c\u662f\u5bf9\u7b2c0\u884c\u7b2c0\u5217\u7684\u5730\u5740\u8fdb\u884c\u8bfb\u6570\u636e\u7684\u7535\u8def\u56fe\uff0c\u7b2c0\u884c\u7b2c0\u5217\u7684\u6570\u636e\u7ecf\u8fc7\u8bfb\u63a7\u5236\u7ebf\u8fdb\u5165\u5230\u8bfb\u5199\u63a7\u5236\u7535\u8def\u8fdb\u884c\u8f93\u51fa\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5237\u65b0\u653e\u5927\u5668\uff1a\u4f7f\u7528\u7535\u5bb9\u5b58\u50a8\u7535\u8377\u7684\u539f\u7406\u8868\u793a0\u548c1\u65f6\uff0c\u7535\u5bb9\u4f1a\u6f0f\u7535\uff0c\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u7535\u5bb9\u91cc\u8fb9\u7684\u4fe1\u53f7\u4f1a\u6d88\u5931\uff0c\u56e0\u6b64\u9700\u8981\u5b9a\u671f\u4f7f\u7528\u5237\u65b0\u653e\u5927\u5668\u5bf9\u7535\u5bb9\u4fe1\u53f7\u8fdb\u884c\u91cd\u5199\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435214.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6>\u4e09\u7ba1DRAM\u5b9e\u4f8b\u2014\u2014Intel 1103 \u5199<\/h6>\n<p>\u5199\u5165\u4fe1\u53f7\uff0c\u5982\u679c\u884c\u5730\u5740\u4e3a11111\uff0c\u5373\u884c\u5730\u5740\u4e3a31\uff0c\u90a3\u4e48\u7b2c31\u884c\u5168\u90e8\u88ab\u9009\u4e2d\uff0c\u6240\u6709\u7684\u5199\u9009\u62e9\u7ebf\u6709\u6548\uff0c\u7ed9\u51fa\u5217\u5730\u5740\u4e3a00001\uff0c\u90a3\u4e48\u7b2c31\u884c\u7684\u7b2c\u4e00\u5217\u7684\u539f\u4ef6\u4e3a\u6211\u4eec\u9700\u8981\u5199\u5165\u6570\u636e\u7684\u64cd\u4f5c\u5143\u4ef6\u3002\u6570\u636e\u901a\u8fc7D\u7aef\u8fdb\u884c\u8f93\u5165\uff0c\u7ecf\u8fc7\u8bfb\u5199\u63a7\u5236\u7535\u8def\uff0c\u901a\u8fc7\u5199\u6570\u636e\u7ebf\u88ab\u5199\u5165\u5230\u6307\u5b9a\u5143\u4ef6\u7684\u4f4d\u7f6e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435115.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h5>\u5355\u7ba1DRAM<\/h5>\n<h6>\u7535\u6e90\u7535\u8def<\/h6>\n<p><strong>\u8bfb\u51fa\uff1a<\/strong>C(s)\u5f53\u4e2d\u5982\u679c\u4fdd\u5b58\u4e86\u7535\u8377\uff08\u8868\u793a1\uff09\uff0c\u90a3\u4e48\u6570\u636e\u7ebf\u8bfb\u51fa\u5c31\u662f\u9ad8\u7535\u5e73\u3002<\/p>\n<p><strong>\u5199\u5165\uff1a<\/strong>\u5355\u7ba1\u52a8\u6001RAM\u4e2d\u5b57\u7ebf\u662f\u63a7\u5236\u7ebf\uff0c\u5982\u679c\u5b57\u7ebf\u5145\u7535\uff0cT\u5f00\u5173\u88ab\u6253\u5f00\uff0cC(s)\u53ef\u4ee5\u8fdb\u884c\u5145\u7535\u6216\u8005\u653e\u7535\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435996.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6><strong>\u5355\u7ba1DRAM 4116 (16K \u00d7 1\u4f4d)<\/strong>\u5916\u7279\u6027<\/h6>\n<p>\u5355\u7ba1\u52a8\u6001 RAM 4116 (16K \u00d7 1\u4f4d)\u76847\u4f4d\u884c\u5730\u5740\u548c\u5217\u5730\u5740\u5206\u4e24\u6b21\u4f20\u9001\uff0c\u7b2c\u4e00\u6b21\u4f20\u90017\u4f4d\u884c\u5730\u5740\uff0c\u4fdd\u5b58\u5728\u884c\u5730\u5740\u7f13\u5b58\u5668\u5f53\u4e2d\uff0c\u7b2c\u4e8c\u6b21\u4f20\u9001\u5217\u5730\u5740\uff0c\u4fdd\u5b58\u5728\u5217\u5730\u5740\u7f13\u5b58\u5668\u5f53\u4e2d\uff1b\u884c\u5730\u5740\u548c\u5217\u5730\u5740\u5206\u522b\u7ecf\u8fc7\u884c\u8bd1\u7801\u548c\u5217\u8bd1\u7801\u4ee5\u540e\uff0c\u9009\u4e2d\u7ed9\u5b9a\u7684\u5b58\u50a8\u5355\u5143\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435235.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<ul>\n<li>I\/O\u7f13\u5b58\u5668\uff0c\u7f13\u5b58\u4e86\u8f93\u5165\u548c\u8f93\u51fa\u6570\u636e\uff0c\u8fde\u63a5I\/O\u7f13\u5b58\u5668\u4e24\u7aef\u7684\u6570\u636e\u8f93\u5165\u548c\u8f93\u51fa\u5bc4\u5b58\u5668\u53ef\u4ee5\u63a7\u5236\u6570\u636e\u7684\u8f93\u5165\u548c\u8f93\u51fa\u3002<\/li>\n<li><strong>\u65f6\u5e8f\u4e0e\u63a7\u5236<\/strong>\uff1a\u7531\u884c\u9009\u4e2d\u4fe1\u53f7<em>RAS<\/em>\u3001\u5217\u9009\u4e2d\u4fe1\u53f7<em>CAS<\/em>\u548c\u8bfb\u5199\u4fe1\u53f7<em>WE<\/em>\u7ec4\u6210\uff0c\u5206\u522b\u751f\u6210\u4e86\u884c\u65f6\u949f\u3001\u5217\u65f6\u949f\u548c\u5199\u65f6\u949f\uff0c\u63a7\u5236\u4e86\u82af\u7247\u5185\u90e8\u7684\u8bfb\u548c\u5199\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h6>\u5355\u7ba1DRAM\u5b9e\u4f8b\u2014\u2014Intel 4116\uff0816K x 1\u4f4d\uff09\u8bfb<\/h6>\n<p>\u4e0b\u56fe\u662f\u5355\u7ba1\u52a8\u6001 RAM 4116 (16K \u00d7 1\u4f4d) \u82af\u7247\u8bfb\u56fe\u793a\uff0c<code>\u6ce8\u610f\uff1a\u5176\u4e2d\u6a2a\u7ebf\u7535\u8def\u4e3a\u5217\u9009\u62e9\u4fe1\u53f7\uff0c\u7ad6\u7ebf\u7535\u8def\u4e3a\u884c\u9009\u62e9\u4fe1\u53f7\u3002<\/code><\/p>\n<p>RAM 4116\u82af\u7247\u4e2d\u7684\u8bfb\u653e\u5927\u5668\u7684\u5de5\u4f5c\u539f\u7406\u4e3a\u8df7\u8df7\u677f\u7535\u8def\uff0c\u5176\u5de6\u53f3\u4e24\u4fa7\u7535\u5e73\u76f8\u53cd\u3002<\/p>\n<p>\u5982\u679c\u884c\u5730\u5740\u7ed9\u51fa\u7684\u662f0111111\uff08\u4e00\u4e2a0\uff0c6\u4e2a1\uff09\uff0c\u90a3\u4e48\u7b2c63\u884c\u88ab\u9009\u4e2d\uff1b\u7136\u540e\u7ed9\u51fa\u5217\u5730\u5740\u4e3a7\u4e2a0\uff0c\u90a3\u4e48\u7b2c0\u5217\u5c06\u88ab\u9009\u4e2d\uff0c\u7b2c0\u5217\u7684\u5217\u9009\u4fe1\u53f7\u6709\u6548\uff0c\u5bf9\u5e94\u5f00\u5173\u88ab\u6253\u5f00\u3002\u6570\u636e\u5c31\u4f1a\u7ecf\u8fc7\u8bfb\u653e\u5927\u5668\u7684\u53f3\u4fa7\uff080\u53d8\u62101\uff09\uff0c\u7ecf\u8fc7\u5217\u9009\u5f00\u5173\uff0c\u9001\u5165\u5230\u8bfb\/\u5199\u7ebf\u4e0a\uff0c\u7136\u540e\u7ecf\u8fc7I\/O\u7f13\u51b2\uff0c\u901a\u8fc7\u8f93\u51fa\u9a71\u52a8\u9001\u51fa\u6765\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435461.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6>\u5355\u7ba1DRAM\u5b9e\u4f8b\u2014\u2014Intel 4116\uff0816K x 1\u4f4d\uff09\u5199<\/h6>\n<p>\u4e0b\u56fe\u662f\u5355\u7ba1\u52a8\u6001 RAM 4116 (16K \u00d7 1\u4f4d) \u82af\u7247\u5199\u56fe\u793a\uff0c\u8ddf\u8bfb\u6570\u636e\u7684\u903b\u8f91\u57fa\u672c\u4e00\u81f4\uff0c\u6570\u636e\u7ecf\u8fc7\u8bfb\u653e\u5927\u5668\u65f6\uff081\u53d8\u62100\uff09\uff0c\u8bfb\u51fa\u65f6\uff080\u53d8\u62101\uff09\uff0c\u7ecf\u8fc7\u4e24\u6b21\u53cd\u5411\uff0c\u4f7f\u5f97\u8bfb\u5199\u6570\u636e\u4fdd\u6301\u6b63\u786e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435573.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u603b\u7ed3\uff1a\u5047\u5982\u4f60\u60f3\u5f80DRAM\u4e2d\u5199\u51651\uff0c\u5176\u5b9e\u5728DRAM\u4e2d\u5b58\u7684\u662f0<\/p>\n<p>\u8bfb\u51fa\u65f6\uff0c\u4f60\u8bfb\u5230\u7684\u662f1\uff0c\u5176\u5b9e\u5728DRAM\u4e2d\u5b58\u7684\u662f0<\/p>\n<p>&nbsp;<\/p>\n<h5>\u52a8\u6001RAM\u7684\u5237\u65b0<\/h5>\n<p>\u4e3a\u4ec0\u4e48\u8981\u5237\u65b0\uff1f<\/p>\n<p>\u7535\u5bb9\u5b58\u50a8\u7535\u8377\u7684\u539f\u7406\u8868\u793a0\u548c1\u65f6\uff0c\u7535\u5bb9\u4f1a\u6f0f\u7535\uff0c\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u7535\u5bb9\u91cc\u8fb9\u7684\u4fe1\u53f7\u4f1a\u6d88\u5931\uff0c\u56e0\u6b64\u9700\u8981\u5b9a\u671f\u8fdb\u884c\u52a8\u6001RAM\u5237\u65b0\u5b8c\u6210\u5bf9\u7535\u5bb9\u4fe1\u53f7\u7684\u91cd\u5199\u3002<\/p>\n<p><strong>\u52a8\u6001RAM\u5237\u65b0\u53ea\u8ddf\u884c\u5730\u5740\u6709\u5173\uff0c\u8ddf\u5217\u5730\u5740\u65e0\u5173<\/strong>\u3002\u6bcf\u6b21\u5237\u65b0\u7684\u90fd\u662f\u4e00\u884c\u7684\u6570\u636e\uff0c\u800c\u4e0d\u662f\u67d0\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u7684\u6570\u636e\u3002<\/p>\n<p>&nbsp;<\/p>\n<h6>\u96c6\u4e2d\u5237\u65b0<\/h6>\n<p>\u6240\u8c13\u96c6\u4e2d\u662f\u5237\u65b0\u5c31\u662f\u628a\u5237\u65b0\u65f6\u95f4\u96c6\u4e2d\u5728\u4e00\u8d77\u8fdb\u884c\u64cd\u4f5c\uff0c\u5982\u56fe\uff0c\u52a8\u6001RAM\u57282ms\u5185\u5bf9128\u884c\u8fdb\u884c\u96c6\u4e2d\u5f0f\u5237\u65b0\uff0c2ms\u5185\u4e00\u5171\u662f4000\u4e2a\u5b58\u50a8\u5468\u671f\uff081\u4e2a\u5b58\u53d6\u5468\u671f\u4e3a0.5\u5fae\u79d2\uff09\uff0c\u524d3872\u4e2a\u5468\u671f\u53ef\u4ee5\u4f9bCPU\u6216\u8005I\/O\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\uff0c\u540e128\u4e2a\u5468\u671f\u4e13\u7528\u4e8e\u8fdb\u884c\u96c6\u4e2d\u5f0f\u5237\u65b0\uff0c\u8fd9\u6bb5\u65f6\u95f4\u5185CPU\u6216\u8005I\/O\u90fd\u4e0d\u53ef\u4ee5\u4e0e\u52a8\u6001RAM\u8fdb\u884c\u6570\u636e\u4fe1\u606f\u4ea4\u6362\uff0c\u56e0\u6b64\u8fd9\u6bb5\u65f6\u95f4\u4e5f\u88ab\u79f0\u4e3a\u6b7b\u533a\u3002\u4ee5\u4e0b\u4fbf\u662f\u6b7b\u533a\u6bd4\u91cd\u7684\u8ba1\u7b97\u7ed3\u679c<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435598.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h6>\u5206\u6563\u5237\u65b0<\/h6>\n<p>\u5206\u6563\u5f0f\u5237\u65b0\u5c31\u662f\u628a\u5237\u65b0\u65f6\u95f4\u5206\u6563\u653e\u5728\u4e00\u4e2a\u8bfb\u5199\u5468\u671f\u5185\uff0c\u5982\u56fe\uff0cT(c)\u4e3a\u4e00\u4e2a\u8bfb\u5199\u5468\u671f\uff0ct(M)\u4e3a\u6570\u636e\u7684\u8bfb\u5199\u64cd\u4f5c\uff0ct(R)\u4e3a\u5237\u65b0\u64cd\u4f5c\u3002\u5206\u6563\u5237\u65b0\u5b9e\u9645\u4e0a\u628a\u539f\u6765\u7684\u8bfb\u5199\u5468\u671f\u65f6\u95f4\u8fdb\u884c\u4e86\u5ef6\u957f\uff0c\u4f7f\u5f97\u82af\u7247\u7684\u5237\u65b0\u9891\u7387\u4e0a\u5347\uff0c\u82af\u7247\u6027\u80fd\u4e0b\u964d\u3002\u552f\u4e00\u7684\u4f18\u70b9\u662f\uff0c\u5206\u6563\u5237\u65b0\u6ca1\u6709\u6b7b\u533a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211111052877.png\" referrerpolicy=\"no-referrer\" alt=\"1662190208895-4f91c396-0ad8-42de-91dc-e677f10fae9e\"><\/p>\n<p>&nbsp;<\/p>\n<h6>\u5f02\u6b65\u5237\u65b0\uff08\u5206\u6563\u5237\u65b0\u4e0e\u96c6\u4e2d\u5237\u65b0\u76f8\u7ed3\u5408\uff09<\/h6>\n<p>\u57282ms\u7684\u5468\u671f\u5185\uff0c\u82af\u7247\u7684\u603b\u5237\u65b0\u884c\u6570\u4e3a128\u884c\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u628a\u8fd9\u4e2a\u65f6\u95f4\u5206\u6210128\u4efd\uff0c\u82af\u7247\u6bcf\u969415.6us(\u5fae\u79d2)\u5c31\u9700\u8981\u5237\u65b0\u4e00\u884c\u3002\u572815.6us\u65f6\u95f4\u5185\uff0c\u5237\u65b0\u65f6\u95f4\u53ef\u4ee5\u653e\u5728\u4efb\u4f55\u4e00\u4e2a\u5468\u671f\u4e0a\uff0c\u56e0\u6b64\u76f8\u5f53\u4e8e\u4e00\u4e2a\u96c6\u4e2d\u5f0f\u5237\u65b0\u7684\u65b9\u5f0f\uff0c\u800c\u76f8\u5bf9\u4e8e\u6574\u4e2a\u65f6\u95f4\u5468\u671f2ms\u6765\u8bf4\uff0c\u8fd9\u79cd\u65b9\u5f0f\u53c8\u662f\u4e00\u79cd\u5206\u6563\u5f0f\u5237\u65b0\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435779.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>3. \u52a8\u6001RAM\u548c\u9759\u6001RAM\u7684\u6bd4\u8f83<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435824.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<ol start=\"\">\n<li>\u52a8\u6001RAM\u7684\u5355\u5143\u7535\u8def\u7531\u4e00\u4e2a\u6676\u4f53\u7ba1\u548c\u4e00\u4e2a\u7535\u5bb9\u6784\u6210\uff0c\u603b\u4f53\u6bd4\u8f83\u7b80\u5355\uff1b\u9759\u6001RAM\u6bd4\u8f83\u590d\u6742\uff0c\u6bcf\u4e00\u4e2a\u5355\u5143\u5355\u8def\u5305\u542b6\u4e2a\u6676\u4f53\u7ba1\uff0c\u6240\u4ee5\u96c6\u6210\u5ea6\u6bd4\u8f83\u4f4e\u3002<\/li>\n<li>\u4ece\u82af\u7247\u5f15\u811a\u4e0a\u6765\u8bf4\uff0c\u52a8\u6001RAM\u884c\u5730\u5740\u548c\u5217\u5730\u5740\u53ef\u4ee5\u5206\u522b\u8fdb\u884c\u4f20\u9001\uff0c\u8282\u7ea6\u4e86\u5f15\u811a\u6570\u91cf\uff0c\u51cf\u5c11\u4e86\u5c01\u88c5\u4f53\u79ef\u3002\u4f46\u662f\uff0c\u52a8\u6001RAM\u884c\u5730\u5740\u548c\u5217\u5730\u5740\u5206\u522b\u8fdb\u884c\u4f20\u9001\u65f6\uff0c\u6d88\u8017\u4e86\u6267\u884c\u65f6\u95f4\u3002<\/li>\n<li>\u52a8\u6001RAM\u53ea\u662f\u5bf9\u7535\u5bb9\u8fdb\u884c\u5145\u7535\u3001\u653e\u7535\u548c\u5237\u65b0\uff0c\u56e0\u6b64\u529f\u8017\u6bd4\u8f83\u4f4e\uff0c\u800c\u9759\u6001RAM\u9700\u8981\u75316\u6761\u6676\u4f53\u7ba1\u534f\u540c\u5de5\u4f5c\uff0c\u6676\u4f53\u7ba1\u8fdb\u884c\u5de5\u4f5c\u65f6\u9700\u8981\u4fdd\u6301\u901a\u7535\uff0c\u56e0\u6b64\u6240\u9700\u529f\u8017\u6bd4\u8f83\u5927\u3002<\/li>\n<li>\u52a8\u6001RAM\u5bf9\u7535\u5bb9\u8fdb\u884c\u5145\u7535\u9700\u8981\u6d88\u8017\u65f6\u95f4\u4e14\u884c\u5217\u5730\u5740\u9700\u8981\u4f20\u9001\u4e24\u6b21\uff0c\u6bd4\u9759\u6001RAM\u4f7f\u7528\u89e6\u53d1\u5668\u7684\u5de5\u4f5c\u539f\u7406\u901f\u5ea6\u8981\u6162\u3002<\/li>\n<\/ol>\n<p>\u56e0\u6b64\uff0c\u6839\u636e\u52a8\u6001RAM\u548c\u9759\u6001RAM\u7684\u7279\u70b9\uff0c\u6211\u4eec\u4e00\u822c\u9009\u62e9<strong>\u52a8\u6001RAM\u4f5c\u4e3a\u4e3b\u5b58<\/strong>\uff0c<strong>\u9759\u6001RAM\u4f5c\u4e3a\u7f13\u5b58Cache<\/strong>(\u52a0\u5feb\u901f\u5ea6)\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>4.2.4 \u53ea\u8bfb\u5b58\u50a8\u5668(ROM)<\/h3>\n<h4>1. \u6982\u8ff0<\/h4>\n<p>\u53ea\u8bfb\u5b58\u50a8\u5668\uff08Read-Only Memory\uff0cROM\uff09\u4ee5\u975e\u7834\u574f\u6027\u8bfb\u51fa\u65b9\u5f0f\u5de5\u4f5c\uff0c\u53ea\u80fd\u8bfb\u51fa\u65e0\u6cd5\u5199\u5165\u4fe1\u606f\u3002\u4fe1\u606f\u4e00\u65e6\u5199\u5165\u540e\u5c31\u56fa\u5b9a\u4e0b\u6765\uff0c\u5373\u4f7f\u5207\u65ad\u7535\u6e90\uff0c\u4fe1\u606f\u4e5f\u4e0d\u4f1a\u4e22\u5931\uff0c\u6240\u4ee5\u53c8\u79f0\u4e3a\u56fa\u5b9a\u5b58\u50a8\u5668\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>ROM\u6240\u5b58\u6570\u636e\u901a\u5e38\u662f\u88c5\u5165\u6574\u673a\u524d\u5199\u5165\u7684\uff0c\u6574\u673a\u5de5\u4f5c\u8fc7\u7a0b\u4e2d\u53ea\u80fd\u8bfb\u51fa\uff0c\u4e0d\u50cf\u968f\u673a\u5b58\u50a8\u5668\u80fd\u5feb\u901f\u65b9\u4fbf\u5730\u6539\u5199\u5b58\u50a8\u5185\u5bb9\u3002ROM\u6240\u5b58\u6570\u636e\u7a33\u5b9a \uff0c\u65ad\u7535\u540e\u6240\u5b58\u6570\u636e\u4e5f\u4e0d\u4f1a\u6539\u53d8\uff0c\u5e76\u4e14\u7ed3\u6784\u8f83\u7b80\u5355\uff0c\u4f7f\u7528\u65b9\u4fbf\uff0c\u56e0\u800c\u5e38\u7528\u4e8e\u5b58\u50a8\u5404\u79cd\u56fa\u5b9a\u7a0b\u5e8f\u548c\u6570\u636e\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u53ea\u8bfb\u5b58\u50a8\u5668\u7684\u53d1\u5c55\u5386\u7a0b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435973.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>2. \u53ea\u8bfb\u5b58\u5668\u7684\u7c7b\u578b<\/h4>\n<h5>\u63a9\u6a21ROM\uff08MROM\uff09\u2014\u2014\u53ea\u53ef\u8bfb<\/h5>\n<p>\u8fd9\u79cdROM\u662f\u7531\u5236\u9020\u5382\u5bb6\u5229\u7528\u4e00\u79cd\u63a9\u819c\u6280\u672f\u5199\u5165\u7a0b\u5e8f\u7684\uff0c\u63a9\u819cROM\u5236\u6210\u540e\uff0c\u7528\u6237\u4e0d\u80fd\u4fee\u6539\uff0c\u6839\u636e\u5236\u9020\u5de5\u827a\u53ef\u4ee5\u5c06\u5b83\u4eec\u5206\u4e3aMOS\u578b\u548c\u53cc\u6781\u578b\u4e24\u79cd\u3002MOS\u578bROM\u529f\u8017\u5c0f\u3001\u901f\u5ea6\u6162\uff0c\u9002\u7528\u4e8e\u4e00\u822c\u5fae\u673a\u7cfb\u7edf\uff1b\u800c\u53cc\u6781\u578b\u5219\u901f\u5ea6\u5feb\u3001\u529f\u8017\u5927\uff0c\u9002\u7528\u4e8e\u901f\u5ea6\u8f83\u9ad8\u7684\u8ba1\u7b97\u673a\u7cfb\u7edf\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435937.gif\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4e0a\u56fe\u662f\u63a9\u819c\u578bROM\u6784\u6210\u7684\u539f\u7406\u56fe,\u56fe\u4e2d\u662f\u4e2a\u7b80\u5355\u76844&#215;4\u4f4dMOS\uff08\u6216\u53cc\u6781\u578b\uff09\u7ba1ROM\uff0c\u91c7\u7528\u5355\u8bd1\u7801\u7ed3\u6784\uff0cA0\u3001A1\u8bd1\u7801\u540e\u53ef\u8bd1\u51fa\u56db\u79cd\u72b6\u6001\uff0c\u8f93\u51fa4\u6761\u9009\u62e9\u7ebf\uff0c\u53ef\u5206\u522b\u9009\u4e2d4\u4e2a\u5355\u5143\uff0c\u6bcf\u4e2a\u5355\u5143\u67094\u4f4d\u8f93\u51fa\u3002\u56fe\u4e2d\u6240\u793a\u7684\u77e9\u9635\u4e2d\uff0c\u5728\u884c\u548c\u5217\u7684\u4ea4\u70b9\uff0c\u6709\u7684\u8fde\u6709MOS\u7ba1\uff0c\u6709\u7684\u6ca1\u6709\uff0c\u8fd9\u662f\u5de5\u5382\u6839\u636e\u7528\u6237\u63d0\u4f9b\u7684\u6570\u636e\u5bf9\u82af\u7247\u56fe\u5f62\uff08\u63a9\u819c\uff09\u8fdb\u884c\u4e8c\u6b21\u5149\u523b\u6240\u51b3\u5b9a\u7684\uff0c\u6240\u4ee5\u79f0\u4e3a\u63a9\u819cROM\u3002<\/p>\n<p>MOS\u578bROM\uff0c \u884c\u5217\u9009\u62e9\u7ebf\u4ea4\u53c9\u5904\u6709 MOS \u7ba1\u4e3a\u201c 1 \u201d \uff0c\u884c\u5217\u9009\u62e9\u7ebf\u4ea4\u53c9\u5904\u65e0 MOS \u7ba1\u4e3a\u201c 0 \u201d<\/p>\n<p>&nbsp;<\/p>\n<h5>PROM\uff08\u4e00\u6b21\u6027\u7f16\u7a0b\uff09<\/h5>\n<p>\u53ef\u7f16\u7a0b\u53ea\u8bfb\u5b58\u50a8\u5668 \uff08\u82f1\u8bed\uff1aProgrammable read-only memory\uff09\uff0c\u7f29\u5199\u4e3a PROM \u6216 FPROM\uff0c\u662f\u4e00\u79cd\u7535\u8111\u5b58\u50a8\u8bb0\u5fc6\u6676\u7247\uff0c\u5b83\u5141\u8bb8\u4f7f\u7528\u79f0\u4e3aPROM\u7f16\u7a0b\u5668\u7684\u786c\u4ef6\u5c06\u6570\u636e\u5199\u5165\u8bbe\u5907\u4e2d\u3002\u5728PROM\u88ab\u7f16\u7a0b\u540e\uff0c\u5b83\u5c31\u53ea\u80fd\u4e13\u7528\u90a3\u4e9b\u6570\u636e\uff0c\u5e76\u4e14\u4e0d\u80fd\u88ab\u518d\u7f16\u7a0b\uff0c\u8fd9\u79cd\u8bb0\u5fc6\u4f53\u7528\u4f5c\u6c38\u4e45\u5b58\u653e\u7a0b\u5f0f\u4e4b\u7528\u3002\u901a\u5e38\u4f1a\u7528\u4e8e\u7535\u5b50\u6e38\u620f\u673a\u3001\u6216\u7535\u5b50\u8bcd\u5178\u8fd9\u7c7b\u53ef\u7ffb\u8bd1\u8bed\u8a00\u7684\u4ea7\u54c1\u4e4b\u4e0a\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u91c7\u7528\u7834\u574f\u6027\u7f16\u7a0b\uff0c\u4e14\u53ea\u80fd\u7f16\u7a0b\u4e00\u6b21\uff0c\u5982\u679c\u7f16\u7a0b\u6709\u9519\u8bef\uff0c\u53ea\u80fd\u91cd\u65b0\u8d2d\u4e70\u82af\u7247\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435054.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>EPROM\uff08\u591a\u6b21\u884c\u7f16\u7a0b\uff09<\/h5>\n<p>EPROM\u91c7\u7528N\u578b\u6c9f\u9053\u6d6e\u52a8\u6805MOS\u7535\u8def\uff1b\u9700\u8981\u4fdd\u5b580\uff0cD\u7aef\u52a0\u6b63\u7535\u538b\uff0c\u5f62\u6210\u6d6e\u52a8\u6805\uff1b\u9700\u8981\u4fdd\u5b581\uff0cD\u7aef\u4e0d\u52a0\u6b63\u7535\u538b\uff0c\u4e0d\u5f62\u6210\u6d6e\u52a8\u6805\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u7f16\u7a0b\u5b8c\u6210\u540e\uff0cEPROM\u53ea\u80fd\u7528\u5f3a\u7d2b\u5916\u7ebf\u7167\u5c04\u6765\u64e6\u9664\u3002\u901a\u8fc7\u5c01\u88c5\u9876\u90e8\u80fd\u770b\u89c1\u7845\u7247\u7684\u900f\u660e\u7a97\u53e3\uff0c\u5f88\u5bb9\u6613\u8bc6\u522bEPROM\uff0c\u8fd9\u4e2a\u7a97\u53e3\u540c\u65f6\u7528\u6765\u8fdb\u884c\u7d2b\u5916\u7ebf\u64e6\u9664\u3002\u53ef\u4ee5\u5c06EPROM\u7684\u73bb\u7483\u7a97\u5bf9\u51c6\u9633\u5149\u76f4\u5c04\u4e00\u6bb5\u65f6\u95f4\u5c31\u53ef\u4ee5\u64e6\u9664\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435281.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>EEPROM\uff08\u591a\u6b21\u6027\u7f16\u7a0b\uff09<\/h5>\n<p>EEPROM (Electrically Erasable Programmable read only memory)\u662f\u6307\u5e26\u7535\u53ef\u64e6\u53ef\u7f16\u7a0b\u53ea\u8bfb\u5b58\u50a8\u5668\u3002\u662f\u4e00\u79cd\u6389\u7535\u540e\u6570\u636e\u4e0d\u4e22\u5931\u7684\u5b58\u50a8\u82af\u7247\u3002 EEPROM \u53ef\u4ee5\u5728\u7535\u8111\u4e0a\u6216\u4e13\u7528\u8bbe\u5907\u4e0a\u64e6\u9664\u5df2\u6709\u4fe1\u606f\uff0c\u91cd\u65b0\u7f16\u7a0b\u3002\u4e00\u822c\u7528\u5728\u5373\u63d2\u5373\u7528\u3002<\/p>\n<p>\u5e38\u7528\u5728\u63a5\u53e3\u5361\u4e2d\uff0c\u7528\u6765\u5b58\u653e\u786c\u4ef6\u8bbe\u7f6e\u6570\u636e\u3002<\/p>\n<p>\u4e5f\u5e38\u7528\u5728\u9632\u6b62\u8f6f\u4ef6\u975e\u6cd5\u62f7\u8d1d\u7684&#8221;\u786c\u4ef6\u9501&#8221;\u4e0a\u9762\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>EEPROM\u7684\u7279\u70b9<\/p>\n<ul>\n<li>\u7535\u53ef\u64e6\u5199<\/li>\n<li>\u5c40\u90e8\u64e6\u5199<\/li>\n<li>\u5168\u90e8\u64e6\u5199<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h5>Flash Memory\uff08\u95ea\u901f\u578b\u5b58\u50a8\u5668\uff09<\/h5>\n<p>\u5feb\u95ea\u5b58\u50a8\u5668\uff08\u82f1\u8bed\uff1aflash memory\uff09\uff0c\u662f\u4e00\u79cd\u7535\u5b50\u5f0f\u53ef\u6e05\u9664\u7a0b\u5e8f\u5316\u53ea\u8bfb\u5b58\u50a8\u5668\u7684\u5f62\u5f0f\uff0c\u5141\u8bb8\u5728\u64cd\u4f5c\u4e2d\u88ab\u591a\u6b21\u64e6\u6216\u5199\u7684\u5b58\u50a8\u5668\u3002\u8fd9\u79cd\u79d1\u6280\u4e3b\u8981\u7528\u4e8e\u4e00\u822c\u6027\u6570\u636e\u5b58\u50a8\uff0c\u4ee5\u53ca\u5728\u8ba1\u7b97\u673a\u4e0e\u5176\u4ed6\u6570\u5b57\u4ea7\u54c1\u95f4\u4ea4\u6362\u4f20\u8f93\u6570\u636e\uff0c\u5982\u50a8\u5b58\u5361\u4e0eU\u76d8\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u95ea\u5b58\u662f\u4e00\u79cd\u975e\u6613\u5931\u6027\u5b58\u50a8\u5668\uff0c\u5373\u65ad\u7535\u6570\u636e\u4e5f\u4e0d\u4f1a\u4e22\u5931\u3002\u56e0\u4e3a\u95ea\u5b58\u4e0d\u50cfRAM\uff08\u968f\u673a\u5b58\u53d6\u5b58\u50a8\u5668\uff09\u4e00\u6837\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\u6539\u5199\u6570\u636e\uff0c\u56e0\u6b64\u4e0d\u80fd\u53d6\u4ee3RAM\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u95ea\u5b58\u5361\uff08Flash Card\uff09\u662f\u5229\u7528\u95ea\u5b58\uff08Flash Memory\uff09\u6280\u672f\u8fbe\u5230\u5b58\u50a8\u7535\u5b50\u4fe1\u606f\u7684\u5b58\u50a8\u5668\uff0c\u4e00\u822c\u5e94\u7528\u5728\u6570\u7801\u76f8\u673a\uff0c\u638c\u4e0a\u7535\u8111\uff0cMP3\u7b49\u5c0f\u578b\u6570\u7801\u4ea7\u54c1\u4e2d\u4f5c\u4e3a\u5b58\u50a8\u4ecb\u8d28\uff0c\u6240\u4ee5\u6837\u5b50\u5c0f\u5de7\uff0c\u6709\u5982\u4e00\u5f20\u5361\u7247\uff0c\u6240\u4ee5\u79f0\u4e4b\u4e3a\u95ea\u5b58\u5361\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>3. \u51e0\u79cd\u53ea\u8bfb\u5b58\u50a8\u5668\u7b80\u5355\u5bf9\u6bd4<\/h4>\n<ul>\n<li>EPROM       \u4ef7\u683c\u4fbf\u5b9c \u96c6\u6210\u5ea6\u9ad8\u2014\u2014\u591a\u6b21\u7f16\u7a0b\uff0c\u7d2b\u5916\u7ebf\u64e6\u9664<\/li>\n<li>EEPROM     \u7535\u53ef\u64e6\u6d17\u91cd\u5199\u2014\u2014\u5c40\u90e8\u64e6\u9664\u548c\u5168\u90e8\u64e6\u9664<\/li>\n<li>Flash Memory \u6bd4 EEPROM\u5feb  \u5177\u5907 RAM \u529f\u80fd<\/li>\n<\/ul>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.2.5 \u5b58\u50a8\u5668\u4e0eCPU\u7684\u8fde\u63a5<\/h3>\n<h4>1. \u5b58\u50a8\u5668\u5bb9\u91cf\u7684\u6269\u5c55<\/h4>\n<h5>\u4f4d\u6269\u5c55\u2014\u2014\u589e\u52a0\u5b58\u50a8\u5b57\u957f<\/h5>\n<p>\u4f4d\u6269\u5c55\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u589e\u52a0\u5b58\u50a8\u5b57\u7684\u5b57\u957f\u3002<\/p>\n<p>\u5047\u8bbe\u73b0\u5728\u67091K(1024\u4e2a)<em>4\u4f4d\u7684\u5b58\u50a8\u82af\u7247(\u5bb9\u91cf\u4e3a4096bit)\u82e5\u5e72\uff0c\u8981\u60f3\u6784\u6210\u4e00\u4e2a1K<\/em>8\u4f4d\u7684\u5b58\u50a8\u5668\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e24\u72471K*4\u4f4d\u7684\u5b58\u50a8\u82af\u7247\u6765\u6784\u6210\uff0c\u5982\u4e0b\u56fe<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435232.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u6211\u4eec\u901a\u8fc7\u7247\u9009\u4fe1\u53f7<em>CS<\/em>\u540c\u65f6\u9009\u4e2d\u4e24\u7247\u5b58\u50a8\u82af\u7247\uff0c\u540c\u65f6\u8fdb\u884c8\u4f4d\u6570\u636e\u7684\u8bfb\u51fa\u548c\u5199\u5165\uff0c\u4f8b\u5982\uff0c\u6bcf\u7247\u82af\u7247\u670910\u8ddf\u5730\u5740\u7ebf\uff0c4\u8ddf\u6570\u636e\u7ebf\uff0c\u5b83\u4eec\u7684\u8fde\u63a5\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435313.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u5bf9\u4e8e\u5982\u4e0a\u4f8b\u5b50\uff0c\u4f4d\u6269\u5c55\u7684\u5173\u952e\u5c31\u662f\u5c06\u4e24\u4e2a\u5b58\u50a8\u82af\u7247\u5f53\u6210\u4e00\u4e2a\u5b58\u50a8\u82af\u7247\u6765\u7528\uff0c\u8ba9\u4e24\u4e2a\u5b58\u50a8\u82af\u7247\u540c\u65f6\u5de5\u4f5c\uff0c\u540c\u65f6\u88ab\u9009\u4e2d\uff0c\u540c\u65f6\u505a\u8bfb\u64cd\u4f5c\uff0c\u540c\u65f6\u505a\u5199\u64cd\u4f5c\uff0c\u8981\u60f3\u4fdd\u8bc1\u540c\u65f6\uff0c\u5c31\u662f\u628a\u4e24\u4e2a\u82af\u7247\u7684\u7247\u9009<em>CS<\/em>\uff0c\u7528\u76f8\u540c\u7684\u4fe1\u53f7\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n<p>&nbsp;<\/p>\n<h5>\u5b57\u6269\u5c55\u2014\u2014\u589e\u52a0\u5b58\u50a8\u5b57\u7684\u6570\u91cf<\/h5>\n<p>\u5047\u8bbe\u73b0\u5728\u67091K<em>8\u4f4d\u7684\u5b58\u50a8\u82af\u7247\u82e5\u5e72\uff0c\u8981\u60f3\u6784\u6210\u4e00\u4e2a2K<\/em>8\u4f4d\u7684\u5b58\u50a8\u5668\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e24\u72471K*8\u4f4d\u7684\u5b58\u50a8\u82af\u7247\u6765\u6784\u6210\uff0c\u5982\u4e0b\u56fe<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435301.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u6bcf\u4e00\u4e2a\u5b58\u50a8\u82af\u7247\u7684\u5bb9\u91cf\u662f1K*8\u4f4d\uff0c\u6211\u4eec\u8981\u6784\u6210\u4e00\u4e2a2K(11\u4e2a2\u8fdb\u5236\u4f4d)*8\u7684\u5b58\u50a8\u5668\uff0c\u800c\u5b58\u50a8\u82af\u7247\u7684\u6bcf\u4e00\u7247\u7684\u5bb9\u91cf\u662f1K(10\u4e2a\u4e8c\u8fdb\u5236\u4f4d)\uff0c\u56e0\u6b64\u6211\u4eec\u9700\u8981\u4f7f\u7528\u4e24\u72471K*8\u4f4d\u7684\u5b58\u50a8\u82af\u7247\u6765\u6784\u6210\uff0c\u5982\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435426.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u603b\u5171\u670911\u6761\u5730\u5740\u7ebf\uff0c\u5bf9\u4e8eA10\uff0c\u6211\u4eec\u5c06\u5b83\u5f53\u6210\u7247\u9009\u4fe1\u53f7\u7ebf\uff0c\u5f53A10=0\u65f6\uff0c\u7247\u9009\u9009\u4e2d\u5de6\u8fb9\u7684\u5b58\u50a8\u82af\u7247\u5de5\u4f5c\uff0c\u53f3\u8fb9\u4e0d\u5de5\u4f5c\uff0c\u5f53A10=1\u65f6\uff0c\u901a\u8fc7\u4e00\u4e2a\u53d6\u53cd\uff0c\u7247\u9009\u9009\u62e9\u53f3\u8fb9\u7684\u82af\u7247\u5de5\u4f5c\uff0c\u8fd9\u4ece\u5916\u90e8\u770b\u6765\u5c31\u662f\u4ece 0 0000000000 ~ 1 1111111111 \u521a\u597d\u662f\u4ece0~2047\u51712K\u4e2a\u5b58\u50a8\u5355\u5143\uff0c\u6bcf\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u5b58\u653e8\u4f4d\u7684\u4e8c\u8fdb\u5236\u4ee3\u7801\u3002<\/p>\n<p>&nbsp;<\/p>\n<h5>\u5b57\u3001\u4f4d\u6269\u5c55<\/h5>\n<p>\u5047\u8bbe\u73b0\u5728\u67091K<em>4\u4f4d\u7684\u5b58\u50a8\u82af\u7247\u82e5\u5e72\uff0c\u8981\u7ec4\u62104K<\/em>8\u4f4d\u7684\u5b58\u50a8\u5668\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u75288\u72471K<em>4\u4f4d\u7684\u5b58\u50a8\u82af\u7247\u6765\u6784\u6210\u3002\u9996\u5148\u62ff\u4e24\u7247\uff0c\u6765\u6784\u62101K<\/em>8\u4f4d\u8fd9\u6837\u4e00\u7ec4\u82af\u7247\uff0c\u63a5\u7740\uff0c\u6211\u4eec\u9700\u89814\u7ec4\u6765\u6784\u62104K*8\u4f4d\u7684\u5b58\u50a8\u5668\u3002<\/p>\n<p>\u90a3\u4e48\u5982\u4f55\u8fdb\u884c\u8fde\u63a5\u5462\uff1f<\/p>\n<p>\u5176\u5b9e\u5c31\u662f\u5c06\u4e0a\u8ff0\u4e24\u79cd\u65b9\u6cd5\u8fdb\u884c\u7efc\u5408\uff0c4K<em>8\u7684\u5b58\u50a8\u5668\uff0c4K(\u537312\u6839\u5730\u5740\u7ebf)\uff0c8bit\uff0c\u5c31\u662f8\u6839\u6570\u636e\u7ebf\uff0c1K<\/em>4bit\u7684\u82af\u7247\u6709\u9700\u898110\u6839\u5730\u5740\u7ebf\uff0c\u4e5f\u5c31\u662f\u8bf4\u7cfb\u7edf\u7ed9\u51fa\u7684\u4eceA0-A11 12\u6839\u5730\u5740\u7ebf\uff0c\u5176\u4e2d\u768410\u6839A0-A9\u662f\u76f4\u63a5\u9001\u5230\u82af\u7247\u5f53\u4e2d\u6784\u62101K*8\u7684\u4e00\u4e2a\u5c0f\u7684\u5b58\u50a8\u5668\uff0c\u5269\u4f59\u76842\u6839\u5730\u5740\u7ebf\uff084\u4e2a\u5730\u5740\uff09A11-A10\uff0c\u6211\u4eec\u7528\u6765\u505a\u7247\u9009\u4fe1\u53f7\uff0c\u5982\u4e0b\u56fe<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435504.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>4K\u7684\u7a7a\u95f4\u6211\u4eec\u5206\u914d\u5230\u4e864\u4e2a\u5b58\u50a8\u5668\u5f53\u4e2d\uff0c\u6bcf\u4e2a\u5b58\u50a8\u5668\u5305\u542b\u4e86\u4e24\u72471K*4bit\u7684\u5b58\u50a8\u82af\u7247\uff0c<\/p>\n<ul>\n<li>\u7b2c\u4e00\u4e2a\u5b58\u50a8\u5668\u7684\u8303\u56f4\u4e3a 00 0&#8230;0(10\u4e2a0)~00 1&#8230;1(10\u4e2a1)<\/li>\n<li>\u7b2c\u4e8c\u4e2a\u5b58\u50a8\u5668\u7684\u8303\u56f4\u4e3a 01 0&#8230;0(10\u4e2a0)~01 1&#8230;1(10\u4e2a1)<\/li>\n<li>\u7b2c\u4e09\u4e2a\u5b58\u50a8\u5668\u7684\u8303\u56f4\u4e3a 10 0&#8230;0(10\u4e2a0)~10 1&#8230;1(10\u4e2a1)<\/li>\n<li>\u7b2c\u56db\u4e2a\u5b58\u50a8\u5668\u7684\u8303\u56f4\u4e3a 11 0&#8230;0(10\u4e2a0)~11 1&#8230;1(10\u4e2a1)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u7531A11\u548cA10\u6765\u5224\u65ad\u8981\u8bbf\u95ee\u7684\u5730\u5740\u5728\u54ea\u4e00\u4e2a\u5b58\u50a8\u5668\u5f53\u4e2d\uff0c\u6211\u4eec\u91c7\u7528\u8bd1\u7801\u5668\u8fdb\u884c\u8bd1\u7801\uff0c\u5f53<\/p>\n<ul>\n<li>A11 =0    A10=0  \u9009\u62e9\u7b2c\u4e00\u4e2a\u5b58\u50a8\u5668<\/li>\n<li>A11 =0    A10=1  \u9009\u62e9\u7b2c\u4e8c\u4e2a\u5b58\u50a8\u5668<\/li>\n<li>A11 =1    A10=0  \u9009\u62e9\u7b2c\u4e09\u4e2a\u5b58\u50a8\u5668<\/li>\n<li>A11 =1    A10=1  \u9009\u62e9\u7b2c\u56db\u4e2a\u5b58\u50a8\u5668<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>2. \u548cCPU\u8fde\u63a5<\/h4>\n<ol start=\"\">\n<li>\u5730\u5740\u7ebf\u7684\u8fde\u63a5\uff1a\u7531\u4e8eCPU\u5730\u5740\u7ebf\u4e00\u822c\u591a\u4e8e\u5b58\u50a8\u82af\u7247\u5730\u5740\u7ebf\uff0c\u56e0\u6b64\u4e00\u822cCPU\u4f4e\u4f4d\u5730\u5740\u7ebf\u4e0e\u5b58\u50a8\u82af\u7247\u76f8\u8fde\uff0c\u9ad8\u4f4d\u5730\u5740\u7ebf\u7528\u4f5c\u63a7\u5236\u4fe1\u53f7\u3002<\/li>\n<li>\u6570\u636e\u7ebf\u7684\u8fde\u63a5<\/li>\n<li>\u8bfb\/\u5199\u547d\u4ee4\u7ebf\u7684\u8fde\u63a5\uff1aCPU\u8bfb\/\u5199\u547d\u4ee4\u7ebf\u4e00\u822c\u53ef\u76f4\u63a5\u4e0e\u5b58\u50a8\u82af\u7247\u7684\u8bfb\/\u5199\u63a7\u5236\u7aef\u76f8\u8fde\uff0c\u901a\u5e38\u9ad8\u7535\u5e73\u4e3a\u8bfb\uff0c\u4f4e\u7535\u5e73\u4e3a\u5199\u3002<\/li>\n<li>\u7247\u9009\u7ebf\u7684\u8fde\u63a5\uff1a\u7531\u4e8e\u5b58\u50a8\u5668\u662f\u7531\u8bb8\u591a\u5b58\u50a8\u82af\u7247\u7ec4\u6210\u7684\uff0c\u5b58\u50a8\u82af\u7247\u7684\u7247\u9009\u63a7\u5236\u7ebf\u548cCPU\u7684\u9ad8\u4f4d\u5730\u5740\u6709\u5173\uff0cCPU\u7684\u9ad8\u4f4d\u5730\u5740\u7ebf\u7ecf\u8fc7\u8bd1\u7801\u5668\u8bd1\u7801\uff0c\u548c\u8bbf\u5b58\u63a7\u5236\u4fe1\u53f7\u5171\u540c\u4f5c\u7528\uff0c\u4ea7\u751f\u5b58\u50a8\u82af\u7247\u7684\u7247\u9009\u4fe1\u53f7\u3002\u8bbf\u5b58\u63a7\u5236\u4fe1\u53f7\uff0c\u4f8b\u5982\uff0c\u4f4e\u7535\u5e73\u6709\u6548\u65f6\uff0c\u8bbf\u95ee\u5b58\u50a8\u5668\uff1b\u9ad8\u7535\u5e73\u6709\u6548\u65f6\uff0c\u8bbf\u95eeI\/O\u3002<\/li>\n<li>\u5408\u7406\u9009\u62e9\u5b58\u50a8\u82af\u7247\uff1a\u7cfb\u7edf\u7a0b\u5e8f\u533a\u5e94\u8be5\u9009\u62e9ROM \uff0c\u7528\u6237\u7a0b\u5e8f\u533a\u9009\u62e9RAM\u3002<\/li>\n<li>\u5176\u4ed6\uff0c\u6bd4\u5982\u65f6\u5e8f\u3001\u8d1f\u8f7d\u7b49<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4>3. \u4f8b\u9898<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021425361.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u89e3\u9898\u6b65\u9aa4\uff1a<\/p>\n<h5>\u2460 \u5199\u51fa\u5bf9\u5e94\u7684\u4e8c\u8fdb\u5236\u5730\u5740\u7801<\/h5>\n<p>CPU\u670916\u6839\u5730\u5740\u7ebf\uff0c\u8bf4\u660e\u82af\u7247\u7684\u5bfb\u5740\u8303\u56f4\u662f2^16 = 64 K\uff1bMREO\u4f5c\u4e3a\u8bbf\u5b58\u63a7\u5236\u4fe1\u53f7\uff0c\u4f4e\u7535\u5e73\u65f6\u8bbf\u95ee\u5b58\u50a8\u5668\uff08\u9876\u65b9\u7684\u6a2a\u7ebf\u8868\u793a\uff09\uff0c\u9ad8\u7535\u5e73\u65f6\u8bbf\u95eeI\/O\uff1b<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u7cfb\u7edf\u7f13\u5b58\u533a<\/strong>\uff1a6000H~67FFH\u6362\u7b97\u6210\u5730\u5740\u8303\u56f4 \u2014\u2014&gt; 67FFH &#8211; 6000H= (67FFH+1-6000H) = 800H = 8 x 16 x 16 = 2 x 2^10 = 2K\uff1b<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u7528\u6237\u7f13\u5b58\u533a\uff1a<\/strong>6800H~6BFFH\u6362\u7b97\u6210\u5730\u5740\u8303\u56f4 \u2014\u2014&gt; 6BFFH &#8211; 6800H= (6BFFH+1-6800H) = 400H = 4 x 16 x 16 = 1 x 2^10 = 1K\uff1b<\/p>\n<p>\u4ee5\u4e0a\u4e3a10\u8fdb\u5236\u7684\u6362\u7b97\uff0c\u6211\u4eec<strong>\u6362\u6210\u5bf9\u5e94\u7684\u4e8c\u8fdb\u5236\u8868\u793a\u4e3a<\/strong>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435619.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>\u2461 \u786e\u5b9a\u82af\u7247\u7684\u6570\u91cf\u53ca\u7c7b\u578b<\/h5>\n<p>\u6839\u636e\u5730\u5740\u8303\u56f4\u7684\u5bb9\u91cf\u4ee5\u53ca\u8be5\u8303\u56f4\u5728\u8ba1\u7b97\u673a\u4e2d\u7684\u4f5c\u7528\uff0c\u9009\u62e9\u5b58\u50a8\u82af\u7247\u3002<\/p>\n<p>\u6839\u636e6000H~67FFH\u4e3a\u7cfb\u7edf\u7a0b\u5e8f\u533a\u7684\u8303\u56f4\uff0c\u5e94\u9009\u62e91\u72472K x 8 \u4f4d\u7684ROM\uff0c\u82e5\u9009\u62e9\u5176\u4ed6\u7684ROM\uff0c\u90fd\u8d85\u51fa\u4e862K x 8 \u4f4d\u7684\u7cfb\u7edf\u7a0b\u5e8f\u533a\u8303\u56f4\u3002<\/p>\n<p>\u6839\u636e6800H~6BFFH\u4e3a\u7528\u6237\u7a0b\u5e8f\u533a\u7684\u8303\u56f4\uff0c\u90092\u7247 1K x 4\u4f4d\u7684RAM\u82af\u7247\u6b63\u597d\u6ee1\u8db31K x 8\u4f4d\u7684\u7528\u6237\u7a0b\u5e8f\u533a\u8981\u6c42<\/p>\n<p>&nbsp;<\/p>\n<h5>\u2462 \u5206\u914d\u5730\u5740\u7ebf<\/h5>\n<p>\u5c06CPU\u7684\u4f4e11\u4f4d\u5730\u5740A10~A0\u4e0e2K x 8 \u4f4d\u7684ROM\u5730\u5740\u7ebf\u76f8\u8fde\uff1b\u5c06CPU\u7684\u4f4e10\u4f4d\u5730\u5740A9~A0\u4e0e2\u7247 1K x 4\u4f4d\u7684RAM\u5730\u5740\u7ebf\u76f8\u8fde\u3002\u5269\u4e0b\u7684\u9ad8\u4f4d\u5730\u5740\u4e0e\u8bbf\u5b58\u63a7\u5236\u4fe1\u53f7<em>MREQ<\/em>\u5171\u540c\u4ea7\u751f\u5b58\u50a8\u82af\u7247\u7684\u7247\u9009\u4fe1\u53f7\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435718.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>\u2463 \u786e\u5b9a\u7247\u9009\u4fe1\u53f7<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435781.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435590.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.2.6 \u5b58\u50a8\u5668\u7684\u6821\u9a8c<\/h3>\n<h4>1. \u4e3a\u4ec0\u4e48\u8981\u8fdb\u884c\u6821\u9a8c\uff1f<\/h4>\n<p>\u4ee5\u5185\u5b58\u4e3a\u4f8b\uff0c\u5185\u5b58\u662f\u7535\u5b50\u8bbe\u5907\uff0c\u4fe1\u606f\u4fdd\u5b58\u5728\u7535\u5bb9\u5f53\u4e2d\uff0c\u82e5\u91c7\u7528\u9759\u6001RAM\uff0c\u5219\u662f\u4fdd\u5b58\u5728\u56db\u7ba1\u7684\u89e6\u53d1\u5668\u5f53\u4e2d\u3002\u82e5\u5185\u5b58\u6240\u5904\u7684\u7535\u78c1\u73af\u5883\u6bd4\u8f83\u590d\u6742\uff0c\u6216\u5728\u7a7a\u95f4\u73af\u5883\u4e0b\u53d7\u5230\u5e26\u7535\u7c92\u5b50\u7684\u6253\u51fb\uff0c\u53ef\u80fd\u9020\u6210\u7535\u5bb9\u7684\u5145\u653e\u7535\u6216\u89e6\u53d1\u5668\u7684\u7ffb\u8f6c\uff0c\u5b58\u5728\u5728\u5b58\u50a8\u5668\u7684\u4fe1\u606f\u53ef\u80fd\u4f1a\u51fa\u9519\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>2. \u7f16\u7801\u7684\u6700\u5c0f\u8ddd\u79bb<\/h4>\n<p><strong>\u7f16\u7801\u7684\u68c0\u6d4b\u80fd\u529b\u548c\u7ea0\u9519\u80fd\u529b\u4e0e<\/strong>\u4efb\u610f\u4e24\u7ec4\u5408\u6cd5\u4ee3\u7801\u4e4b\u95f4\u4e8c\u8fdb\u5236\u4f4d\u7684\u6700\u5c11\u5dee\u5f02\u6570\u6709\u5173\u3002<\/p>\n<p>\u5148\u89e3\u91ca\u4ec0\u4e48\u662f\u5dee\u5f02\u6570\uff1a<\/p>\n<p>\u5047\u8bbe\u67092\u4e2a\u4e8c\u8fdb\u5236\u6570\uff1a0011\u30010101\uff1b<\/p>\n<p>\u6211\u60f3\u628a0011\u6539\u62100101\uff0c\u6211\u53ea\u8981\u628a0011\u4e2d\u7684\u7b2c2\u4f4d\u548c\u7b2c3\u4f4d\u6539\u6210 1 \u548c 0 \u5c31\u884c<\/p>\n<p>\u6240\u4ee5\u8fd9\u4e24\u4e2a\u6570\u4e4b\u95f4\u7684\u5dee\u5f02\u6570\u4e3a 2<\/p>\n<p>\u89e3\u91ca\uff1a<\/p>\n<p>\u5408\u6cd5\u96c6\u5408  {000 \uff0c 001 \uff0c 010 \uff0c 011 \uff0c 100 \uff0c 101 \uff0c 110 \uff0c 111} \uff0c\u5728\u6b64\u96c6\u5408\u4e2d\uff0c\u6539\u53d8\u4efb\u610f\u4e00\u4e2a\u4ee3\u7801\uff0c\u6bd4\u5982\u6539\u4e3a001\uff0c001\u5728\u5408\u6cd5\u96c6\u5408\u4e2d\uff0c\u6240\u4ee5\u4e0d\u8bba\u6539\u54ea\u4e00\u4e2a\u4ee3\u7801\uff0c\u603b\u80fd\u5728\u96c6\u5408\u4e2d\u627e\u5230\u5bf9\u5e94\u7684\u5408\u6cd5\u4ee3\u7801\uff0c\u56e0\u6b64\u8fd9\u7ec4\u5408\u6cd5\u4ee3\u7801\uff0c\u6700\u5c11\u5dee\u5f02\u6570\u4e3a1\uff0c\u4e0d\u80fd\u68c0\u6d4b\u51fa\u9519\u8bef\uff0c\u5373 \u68c00\u4f4d\u9519\uff0c\u7ea00\u4f4d\u9519\u3002<\/p>\n<p>\u5408\u6cd5\u96c6\u5408  {000 \uff0c 011 \uff0c 101 \uff0c110}\uff0c\u5728\u6b64\u96c6\u5408\u4e2d\uff0c\u6539\u53d8\u4efb\u610f\u4e00\u4e2a\u4ee3\u7801\uff0c\u6bd4\u5982\u6539\u4e3a001\uff0c001\u4e0d\u5728\u5408\u6cd5\u96c6\u5408\u4e2d\uff0c\u90a3\u4e48\u53ef\u4ee5\u68c0\u6d4b\u51fa\u9519\u8bef\uff0c\u4f46\u662f\u4e0d\u80fd\u786e\u5b9a\u662f\u96c6\u5408\u4e2d\u54ea\u4e00\u4e2a\u4ee3\u7801\u53d1\u751f\u4e86\u9519\u8bef\uff0c\u56e0\u4e3a\u6240\u6709\u7684\u5408\u6cd5\u4ee3\u7801\u6539\u53d8\u4e00\u4f4d\u540e\uff0c\u90fd\u53ef\u4ee5\u53d8\u6210001\uff0c\u6240\u6709\u4e24\u7ec4\u5408\u6cd5\u4ee3\u7801\u4e4b\u95f4\u4e8c\u8fdb\u5236\u4f4d\u7684\u6700\u5c11\u5dee\u5f02\u6570\u4e3a2\u65f6\uff0c \u68c01\u4f4d\u9519\uff0c\u7ea00\u4f4d\u9519\u3002<\/p>\n<p>\u5408\u6cd5\u96c6\u5408  {000 \uff0c 111} \uff0c\u5728\u5408\u6cd5\u96c6\u5408\u4e2d\uff0c\u6539\u53d8\u4efb\u610f\u4e00\u4e2a\u4ee3\u7801\uff0c\u6bd4\u5982\u6539\u4e3a001\uff0c001\u4e0d\u5728\u5408\u6cd5\u96c6\u5408\u4e2d\uff0c\u90a3\u4e48\u53ef\u4ee5\u68c0\u6d4b\u51fa\u9519\u8bef\uff0c\u800c\u4e14\u6839\u636e\u9519\u8bef\u7387\u9519\u4e00\u4f4d\u7684\u673a\u7387\u4e3a90%\u7684\u7edf\u8ba1\uff0c\u6211\u4eec\u8ba4\u4e3a\u662f\u4ee3\u7801000\u9519\u8bef\u4e86\u4e00\u4f4d\uff0c\u56e0\u6b64\uff0c\u4e24\u7ec4\u5408\u6cd5\u4ee3\u7801\u4e4b\u95f4\u4e8c\u8fdb\u5236\u4f4d\u7684\u6700\u5c11\u5dee\u5f02\u6570\u4e3a3\u65f6\uff0c \u68c01\u4f4d\u9519\uff0c\u7ea01\u4f4d\u9519 \u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u68c0\u9519\u7ea0\u9519\u4f4d\u6570\u548c\u7801\u8ddd\u4e4b\u95f4\u7684\u5173\u7cfb<\/strong><\/p>\n<p><strong>L &#8211; 1 = D + C  \uff08D&gt;=C\uff0c\u68c0\u6d4b\u9519\u8bef\u7684\u4f4d\u6570\u603b\u662f\u5927\u4e8e\u7b49\u4e8e\u7ea0\u6b63\u9519\u8bef\u7684\u4f4d\u6570\uff09<\/strong><\/p>\n<ul>\n<li>L \u2014\u2014&gt; \u7f16\u7801\u7684\u6700\u5c0f\u8ddd\u79bb<\/li>\n<li>D \u2014\u2014&gt; \u68c0\u6d4b\u9519\u8bef\u7684\u4f4d\u6570<\/li>\n<li>C \u2014\u2014&gt; \u7ea0\u6b63\u9519\u8bef\u7684\u4f4d\u6570<\/li>\n<\/ul>\n<p>\u56e0\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u77e5\u9053\uff0c\u5982\u679c\u60f3\u8981\u68c01\u4f4d\u9519\uff0c\u7ea01\u4f4d\u9519\uff0c\u7f16\u7801\u7684\u6700\u5c0f\u8ddd\u79bb\u4e3a3\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>3. \u6c49\u660e\u7801\u6821\u9a8c<\/h4>\n<h5>\u5947\u5076\u6821\u9a8c<\/h5>\n<p>\u6240\u8c13\u7684\u5947\u5076\u6821\u9a8c\uff0c\u5c31\u662f\u5728\u539f\u6821\u9a8c\u6570\u636e\u4e0a\u6dfb\u52a0\u4e00\u4f4d1\u6216\u80050\uff0c\u4f7f\u6570\u636e\u4e2d\u76841\u7684\u4e2a\u6570\u4e3a\u5947\u6570\u4e2a\u6216\u8005\u5076\u6570\u4e2a\u3002\u4e3a\u5947\u6570\u4e2a\u4e3a\u5947\u6821\u9a8c\uff0c\u4e3a\u5076\u6570\u4e3a\u5076\u6821\u9a8c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435860.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4ee5\u5076\u6821\u9a8c\u4e3a\u4f8b\uff0c\u4e0a\u56fe\uff0c\u6dfb\u52a0\u4e00\u4f4d1\u540e\uff0c\u4f7f\u6821\u9a8c\u6570\u636e\u4e2d\u76841\u7684\u4e2a\u6570\u4e3a\u5076\u6570\u4e2a\uff0c\u5982\u679c\u63a5\u6536\u7684\u7ed3\u679c1\u7684\u4f4d\u6570\u4e0d\u4e3a\u5076\u6570\uff0c\u90a3\u4e48\u53ef\u4ee5\u68c0\u9a8c\u51fa\u539f\u6570\u636e\u51fa\u73b0\u4e86\u9519\u8bef\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u4e3a\u4e86\u66f4\u8fdb\u4e00\u6b65\u7ec6\u5206\u9519\u8bef\u6821\u9a8c\uff0c\u6211\u4eec\u53ef\u4ee5\u628a\u539f\u6821\u9a8c\u6570\u636e\u8fdb\u884c\u5206\u7ec4\uff0c\u5982\u4e0a\uff0c\u6211\u4eec\u628a\u6821\u9a8c\u6570\u636e\u5212\u5206\u4e3a2\u7ec4\uff0c\u5206\u522b\u6dfb\u52a0\u6821\u9a8c\u4f4d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h5>\u6c49\u660e\u7801\u8ba1\u7b97<\/h5>\n<p>\u6c49\u660e\u7801\u6821\u9a8c\u662f\u4e00\u79cd\u975e\u5212\u5206\u65b9\u5f0f\uff08\u7ec4\u4e0e\u7ec4\u4e4b\u95f4\u662f\u6709\u91cd\u53e0\u7684\uff09<\/p>\n<p>\u6c49\u660e\u7801\u7684\u76ee\u7684\u662f\u80fd\u591f\u7ea0\u6b63\u4e00\u4f4d\u8bef\u7801<strong>\uff08 \u6c49\u660e\u7801\u9ed8\u8ba4\u4e00\u4e32\u6570\u636e\u53ea\u9519\u4e00\u4f4d\uff09<\/strong>\u3002\u5047\u8bbe\u4fe1\u606f\u7801\u5171\u6709 n \u4f4d\uff0c\u6c49\u660e\u7801\u5171\u6709 r \u4f4d\uff0c\u90a3\u4e48\u603b\u5171\u7684\u7801\u957f\u4e3a n + r \u4f4d\u3002\u4e3a\u80fd\u68c0\u6d4b\u51fa n + r \u4f4d\u7f16\u7801\u4e2d\u5176\u4e2d\u4e00\u4f4d\u7684\u9519\u8bef\uff0c\u6c49\u660e\u7801\u5fc5\u987b\u80fd\u591f\u8868\u793a\u81f3\u5c11 n + r + 1 \u79cd\u72b6\u6001\uff0c\u5176\u4e2d n + r \u79cd\u8868\u793a n + r \u4f4d\u7f16\u7801\u4e2d\u6709\u4e00\u4f4d\u9519\u8bef\uff0c\u53e6\u5916\u8fd8\u9700\u8981\u4e00\u79cd\u6765\u8868\u793a\u6574\u4e2a\u7f16\u7801\u6b63\u786e\u65e0\u8bef\u3002\u5219\u6c49\u660e\u7801\u7684\u957f\u5ea6\u9700\u8981\u6ee1\u8db3\u4e0b\u5217\u5173\u7cfb\uff1a<\/p>\n<p><strong>2^r &gt;= n + r + 1<\/strong><\/p>\n<p>\u4fe1\u606f\u7801 <strong>n<\/strong> \u4f4d\uff0c\u6c49\u660e\u7801 <strong>r<\/strong> \u4f4d\uff0c\u603b\u5171\u7801\u957f <strong>n + r<\/strong> \u4f4d<\/p>\n<p>&nbsp;<\/p>\n<h5>\u6c49\u660e\u7801\u4f4d\u7f6e<\/h5>\n<p>\u6c49\u660e\u7801\u7684\u6821\u9a8c\u7801\u7684\u4f4d\u7f6e\u5fc5\u987b\u662f\u5728<strong>2^n<\/strong>\u4f4d\u7f6e\uff08n\u4ece0\u5f00\u59cb\uff0c\u5206\u522b\u4ee3\u8868\u4ece\u53f3\u8fb9\u6570\u8d77\u7684\u7b2c1\uff0c2\uff0c4\uff0c8\uff0c16&#8230;\uff09\uff0c\u4fe1\u606f\u7801\u4e5f\u5c31\u662f\u5728\u975e2^n\u4f4d\u7f6e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435966.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4f8b\u5982\uff1a\u5bf91\uff0c2\uff0c3\uff0c4\uff0c5\uff0c6\uff0c7\u8fdb\u884c\u6c49\u660e\u7801\u6821\u9a8c\uff0c\u6309\u7167\u4e8c\u8fdb\u5236\u7f16\u7801\uff0c\u5982\u679c\u4e8c\u8fdb\u5236\u7801\u7684\u7b2c\u4e00\u4f4d\u4e3a1\uff0c\u5206\u4e3a\u7b2c\u4e00\u7ec4\uff0c\u4e8c\u8fdb\u5236\u7f16\u7801\u7684\u7b2c\u4e8c\u4f4d\u4e3a1\uff0c\u5206\u4e3a\u7b2c\u4e8c\u7ec4\uff0c\u4ee5\u6b64\u7c7b\u63a8&#8230;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435065.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<p>\u5206\u5b8c\u7ec4\u540e\uff0c\u6821\u9a8c\u7801\u7684\u4f4d\u7f6e\u5fc5\u987b\u662f\u5728 <strong>2^n<\/strong>\u7684\u4f4d\u7f6e\uff0c\u6211\u4eec\u77e5\u9053\u6700\u5927\u65707\u7684\u4e8c\u8fdb\u5236\u7801\u4e3a111\uff0c\u56e0\u6b64\uff0c\u6839\u636e\u6c49\u660e\u7801\u957f\u5ea6\u9700\u8981\u6ee1\u8db3\u7684\u5173\u7cfb\u5f0f\uff1a2^r &gt;= 3 + r + 1\uff1b\u53ef\u4ee5\u6c42\u5f97\u6821\u9a8c\u7801\u7684\u6700\u5c0f\u957f\u5ea6\u4e3a3\u4f4d\uff1b<\/p>\n<p>\u4f8b\uff1a<\/p>\n<p>\u6c42 <strong>0101<\/strong> \u6309 \u201c\u5076\u6821\u9a8c\u201d \u914d\u7f6e\u7684\u6c49\u660e\u7801<\/p>\n<p><strong>\u2235<\/strong>  <em>n<\/em> = 4<\/p>\n<p>\u6839\u636e 2^r   \u2265 <em>n<\/em> + r   + 1<\/p>\n<p>\u5f97 r   = 3\uff1b\u5373\u6821\u9a8c\u7801\u67093\u4f4d<\/p>\n<p>\u6c49\u660e\u7801\u6392\u5e8f\u5982\u4e0b\uff1a<\/p>\n<p>\u6211\u4eec\u77e5\u9053\uff0c\u6821\u9a8c\u7801\u67093\u4f4d\uff0c\u5148\u57281\uff0c2\uff0c4\u4f4d\u5360\u636e\u6821\u9a8c\u7801\u76843\u4e2a\u4f4d\u7f6e\uff0c\u7a7a\u4f59\u7684\u4f4d\u7f6e\u628a\u9700\u8981\u6821\u9a8c\u7684\u4e8c\u8fdb\u5236\u7801\u4f9d\u6b21\u586b\u5145\u4e0a\u53bb\u3002\u5148\u770b\u7b2c\u4e00\u4e2a\u6821\u9a8c\u7801\uff0c\u7b2c\u4e00\u7ec4\u6821\u9a8c1\uff0c3\uff0c5\uff0c7\u4f4d\uff0c\u6392\u5e8f\u4e2d\uff0c3\uff0c5\uff0c7\u7684\u4f4d\u7f6e\u4e3a011\uff0c\u6839\u636e\u5076\u6821\u9a8c\u539f\u5219\uff0c\u6211\u4eec\u53ea\u9700\u5728\u524d\u8fb9\u88650\u5c31\u53ef\u4ee5\uff0c\u90a3\u4e480\u5c31\u662f\u7b2c\u4e00\u4e2a\u6821\u9a8c\u7801\u3002\u6839\u636e\u6b64\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5f97\u51fa\u540e\u4e24\u4e2a\u6821\u9a8c\u7801\u4e3a10\uff1b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435103.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u56e0\u6b64\uff0c\u53ef\u4ee5\u6c42\u5f970101 \u7684\u6c49\u660e\u7801\u4e3a <strong>01<\/strong> 0 <strong>0<\/strong> 101<\/p>\n<h5>\u6c49\u660e\u7801\u7ea0\u9519<\/h5>\n<p>\u5df2\u77e5\u63a5\u6536\u5230\u7684\u6c49\u660e\u7801\u4e3a 0100111 \uff0c \uff08\u6309\u914d\u5076\u539f\u5219\u914d\u7f6e\uff09\u8bd5\u95ee\u8981\u6c42\u4f20\u9001\u7684\u4fe1\u606f\u662f\u4ec0\u4e48 ?<\/p>\n<p>\u7ea0\u9519\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<p>7\u4f4d\u6c49\u660e\u7801\uff0c\u6570\u636e\u7801\u53604\u4e2a\uff0c\u6240\u4ee5\u6821\u9a8c\u7801\u7684\u4e2a\u6570\u4e3a3\uff0c\u4e00\u7ec4\u4e00\u4e2a\u6821\u9a8c\u7801\uff0c\u5373\u5206\u7ec4\u4e3a3\uff1b<\/p>\n<p>\u6839\u636e\u5076\u6821\u9a8c\u7684\u539f\u5219\uff0c\u6211\u4eec\u5206\u522b\u5bf9\u6bcf\u4e00\u4f4d\u7684\u4fe1\u606f\u8fdb\u884c\u5f02\u6216\u8fd0\u7b97\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435230.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u8fd9\u8fb9\u5c31\u6709\u4e00\u4e2a\u95ee\u9898\uff1a\u4e3a\u4ec0\u4e48\u8fd9\u8fb9\u7b97\u51fa\u6765\u6765\u7684\u6821\u9a8c\u7801\u662f011\uff0c\u4f46\u662f\u5982\u679c\u76f4\u63a5\u770b\u6c49\u660e\u7801\u7684\u7b2c0\u30011\u30014\u4f4d\u4e3a\uff1a010\uff1f<\/p>\n<p>\u89e3\u91ca\uff1a<\/p>\n<p>\u6821\u9a8c\u4f4d\u4e5f\u53ef\u80fd\u51fa\u9519\uff0c\u5982\u679c\u4f20\u9001\u7684\u4fe1\u606f\u5c31\u662f\u9519\u7684\uff0c\u90a3\u4e48\u6821\u9a8c\u4f4d\u4e5f\u4f1a\u51fa\u9519\uff1b<\/p>\n<p>P1\uff1a0\u30010\u30011\u30011 \u7b26\u5408\u5076\u6821\u9a8c = 0<\/p>\n<p>P2\uff1a1\u30010\u30011\u30011 \u4e0d\u7b26\u5408\u5076\u6821\u9a8c = 1<\/p>\n<p>P3\uff1a0\u30011\u30011\u30011 \u4e0d\u7b26\u5408\u5076\u6821\u9a8c = 1<\/p>\n<p>\uff08\u6216\u8005\u5c064\u4e2a\u6570\u5b57\u8fdb\u884c\u5f02\u6216\u4e00\u6837\u7684\u6548\u679c\uff09<\/p>\n<p>\u6821\u9a8c\u7801\u662f011\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u7b2c\u4e8c\u7ec4\u548c\u7b2c\u4e09\u7ec4\u5b58\u5728\u9519\u8bef\uff0c\u7b2c\u4e8c\u7ec4\u548c\u7b2c\u4e09\u7ec4\u5171\u6709\u7684\u6570\u636e\u662f\u7b2c6\u4f4d\u7684\u6570\u636e\uff0c \u53ef\u7ea0\u6b63\u4e3a 01001 <strong>0<\/strong> 1\uff1b\u4e5f\u53ef\u4ee5\u5c063\u4f4d\u6821\u9a8c\u7801\u6392\u5217\u6210\uff1a110\uff0c\u8f6c\u6362\u4e3a\u5341\u8fdb\u5236\u4e3a6\uff0c\u6240\u4ee5\u662f\u7b2c6\u4f4d\u51fa\u9519<\/p>\n<p>\u6545\u8981\u4f20\u9001\u7684\u4fe1\u606f\u4e3a <strong>01<\/strong> <strong>0<\/strong> <strong>0<\/strong> <strong>101<\/strong> <strong>\uff1b\u53bb\u9664\u6821\u9a8c\u4f4d\uff0c\u5373\u4e3a0101<\/strong><\/p>\n<p><strong>\u51c6\u786e\u6765\u8bf4\u5e94\u8be5\u662f 01<\/strong> <strong>0<\/strong> <strong>1<\/strong> <strong>101\uff1b<\/strong>\u6821\u9a8c\u4f4d\u53ef\u4e0d\u7ea0\u9519<\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.2.7 \u63d0\u9ad8\u8bbf\u5b58\u901f\u5ea6\u7684\u63aa\u65bd<\/h3>\n<h4>1. \u5355\u5b57\u4f53\u7cfb\u7edf<\/h4>\n<p>\u539f\u5047\u8bbe\u5b58\u50a8\u5b57\u957f\u7b49\u4e8e\u673a\u5668\u5b57\u957f\uff0c\u4e5f\u5c31\u662f\u8bf4CPU\u4e00\u6b21\u4ece\u5b58\u50a8\u5668\u5f53\u4e2d\u53ea\u80fd\u53d6\u51fa\u4e00\u6761\u6307\u4ee4\uff08\u4e0e\u673a\u5668\u5b57\u957f\u76f8\u7b49\u7684\u6570\u636e\uff09<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u5355\u4f53\u591a\u5b57\u7cfb\u7edf\uff1a<\/strong>\u628a\u5b58\u50a8\u5668\u7684\u5b58\u50a8\u5b57\u957f\u52a0\u957f\uff08\u589e\u52a0\u5b58\u50a8\u5668\u7684\u5e26\u5bbd\uff09\uff0c\u6bd4\u5982\uff0cCPU\u4e3a16\u4f4d\uff0c\u5b58\u50a8\u5b57\u957f\u6211\u4eec\u53ef\u4ee5\u8bbe\u8ba1\u621064\u4f4d\uff0cCPU\u6bcf\u4e00\u6b21\u8bbf\u95ee\u5b58\u50a8\u5668\uff0c\u90fd\u53ef\u4ee5\u8bbf\u95ee\u51fa4\u4e2a\u673a\u5668\u5b57\uff084\u6761\u6307\u4ee4\uff09\uff0c\u4e0b\u4e00\u6b21\u518d\u53d6\u6307\u4ee4\u65f6\uff0c\u5c31\u53ef\u4ee5\u4ece\u6570\u636e\u5bc4\u5b58\u5668\u5f53\u4e2d\u8bfb\u53d6\u6307\u4ee4\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u5355\u4f53\u591a\u5b57\u7cfb\u7edf\u7684\u7f3a\u9677\uff1a<\/strong><\/p>\n<ol start=\"\">\n<li>CPU\u5982\u679c\u9700\u8981\u5b58\u50a816\u4f4d\u6570\u636e\uff0c\u9700\u8981\u5148\u628a\u6570\u636e\u653e\u5728\u5355\u5b57\u957f\u5bc4\u5b58\u5668\u4e2d\uff0c\u518d\u653e\u5165\u6570\u636e\u5bc4\u5b58\u5668\u4e2d\uff0c\u7136\u540e\u518d\u5b58\u50a8\u5230\u5b58\u50a8\u4f53\u4e2d\uff0c\u5982\u679c\u60f3\u8981\u907f\u514d\u65e0\u5173\u768448\u4f4d\u6570\u636e\u88ab\u4fee\u6539\uff0c\u8fd8\u8981\u8bbe\u8ba1\u66f4\u590d\u6742\u7684\u786c\u4ef6\u903b\u8f91\u3002<\/li>\n<li>\u5982\u679cCPU\u8bfb\u53d6\u7684\u6307\u4ee4\u4e0d\u662f\u8fde\u7eed\u7684\u5b58\u50a8\u7684\u6307\u4ee4\uff0c\u90a3\u4e48\u53d6\u51fa\u7684\u591a\u4f59\u6307\u4ee4\u5c31\u662f\u7528\u4e0d\u5230\u7684\u6307\u4ee4\u3002<\/li>\n<\/ol>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435341.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>2. \u5355\u4f53\u6539\u8fdb-&gt;\u591a\u4f53\u5e76\u884c\u7cfb\u7edf<\/h4>\n<h5>\u9ad8\u4f4d\u4ea4\u53c9\u2014\u2014\u7528\u4e8e\u5b58\u50a8\u5bb9\u91cf\u62d3\u5c55<\/h5>\n<p>\u987a\u5e8f\u5bf9\u5b58\u50a8\u4f53\u8fdb\u884c\u7f16\u7801\uff08\u7f16\u5b8c\u7b2c\u4e00\u4e2a\u5b58\u50a8\u4f53\uff0c\u518d\u7f16\u7b2c\u4e8c\u4e2a\u5b58\u50a8\u4f53\uff09\uff0c\u524d\u4e24\u4f4d00\u4e3a\u5b58\u50a8\u4f53\u7684\u7f16\u53f7\uff0c\u540e\u56db\u4f4d\u4e3a\u5b58\u50a8\u4f53\u4e2d\u7684\u5730\u5740\u7684\u7f16\u53f7\uff0c\u6bcf\u4e00\u4e2a\u5b58\u50a8\u4f53\u90fd\u6709\u5355\u72ec\u7684\u6570\u636e\u5bc4\u5b58\u5668\u548c\u5730\u5740\u5bc4\u5b58\u5668\uff0c\u80fd\u72ec\u7acb\u5904\u7406\u8bfb\u5199\u4fe1\u53f7\uff0c\u4ece\u800c\u8fbe\u52304\u4e2a\u5b58\u50a8\u4f53\u5e76\u884c\u5de5\u4f5c\u7684\u6548\u679c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u4e0d\u8db3\uff1a<\/strong>\u5982\u679c\u6309\u5e8f\u5b58\u50a8\u548c\u6309\u5e8f\u8bfb\u53d6\uff0c\u90a3\u4e484\u4e2a\u5b58\u50a8\u4f53\u4e2d\uff0c\u53ef\u80fd\u5b58\u5728\u6709\u4e00\u4e2a\u5b58\u50a8\u4f53\u975e\u5e38\u7e41\u5fd9\uff0c\u800c\u5176\u4ed6\u51e0\u4e2a\u5b58\u50a8\u4f53\u975e\u5e38\u7a7a\u95f2\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u9ad8\u4f4d\u4ea4\u53c9\u7684\u539f\u7406\u5c31\u662f\u4e0a\u6587\u4e2d\u63d0\u5230\u7684\uff1a\u5b58\u50a8\u5668\u5bb9\u91cf\u6269\u5c55\u4e2d\u5b57\u3001\u4f4d\u6269\u5c55<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435244.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h5>\u4f4e\u4f4d\u4ea4\u53c9\u2014\u2014\u7528\u4e8e\u5e26\u5bbd\u8bbf\u95ee\u901f\u5ea6\u63d0\u9ad8<\/h5>\n<p>\u5bf9\u9ad8\u4f4d\u4ea4\u53c9\u8fdb\u884c\u6539\u8fdb\uff0c\u6a2a\u5411\u5bf9\u5b58\u50a8\u4f53\u8fdb\u884c\u7f16\u7801\uff08\u7b2c\u4e00\u4e2a\u5b58\u50a8\u4f53\u548c\u7b2c\u4e8c\u4e2a\u5b58\u50a8\u4f53\u8f6e\u6d41\u8fdb\u884c\u7f16\u7801\uff09\uff0c\u524d\u56db\u4f4d\u4e3a\u5b58\u50a8\u4f53\u4e2d\u7684\u5730\u5740\u7684\u7f16\u53f7\uff0c\u540e\u4e24\u4f4d\u4e3a\u5b58\u50a8\u4f53\u7684\u5730\u5740\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435311.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<p>\u4f4e\u4f4d\u4ea4\u53c9\u7684\u7279\u70b9\uff1a \u5728\u4e0d\u6539\u53d8\u5b58\u53d6\u5468\u671f\u7684\u524d\u63d0\u4e0b\uff0c\u589e\u52a0\u5b58\u50a8\u5668\u7684\u5e26\u5bbd<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435485.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4e0a\u56fe\u663e\u793a\u4e86\uff0c\u5728\u4e00\u4e2a\u8bbf\u5b58\u5468\u671f\u5185\uff0c\u53ef\u5206\u4e3a4\u4e2a\u5c0f\u8bbf\u5b58\u65f6\u95f4\uff0c\u6bcf\u4e2a\u5c0f\u7684\u8bbf\u5b58\u65f6\u95f4\u53ef\u4ee5\u5206\u522b\u63a7\u5236\u4e00\u4e2a\u5b58\u50a8\u4f53\u8fdb\u884c\u8bfb\u5199\u3002<\/p>\n<p>\u8bbe\u56db\u4f53\u4f4e\u4f4d\u4ea4\u53c9\u5b58\u50a8\u5668\uff0c\u5b58\u53d6\u5468\u671f\u4e3a <em>T<\/em>\uff0c\u603b\u7ebf\u4f20\u8f93\u5468\u671f\u4e3a <em>\u03c4<\/em> \uff0c\u4e3a\u5b9e\u73b0\u6d41\u6c34\u7ebf\u65b9\u5f0f\u5b58\u53d6\uff0c\u5e94\u6ee1\u8db3 <em>T<\/em> \uff1d 4 <em>\u03c4<\/em> \u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435469.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u8fde\u7eed\u8bfb\u53d6 4 \u4e2a\u5b57\u6240\u9700\u7684\u65f6\u95f4\u4e3a T \uff0b (4 \uff0d 1) \u03c4<\/p>\n<p><strong>\u603b\u7ed3\uff1a<\/strong>\u91c7\u7528\u5355\u4f53\u591a\u5b57\u7cfb\u7edf\u63d0\u9ad8\u8bbf\u5b58\u901f\u5ea6\u529e\u6cd5\u7684\u524d\u63d0\u662f\uff0c \u6307\u4ee4\u548c\u6570\u636e\u5728\u4e3b\u5b58\u5185\u5fc5\u987b\u662f\u8fde\u7eed\u5b58\u653e\u7684\uff0c\u4e00\u65e6\u9047\u5230\u8f6c\u79fb\u6307\u4ee4\u3001\u6216\u8005\u64cd\u4f5c\u6570\u636e\u4e0d\u80fd\u8fde\u7eed\u5b58\u653e\uff0c\u8fd9\u79cd\u65b9\u6cd5\u7684\u6548\u679c\u5c31\u4e0d\u660e\u663e\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>3. \u9ad8\u6027\u80fd\u5b58\u50a8\u82af\u7247<\/h4>\n<h5>SDRAM\uff08\u540c\u6b65DRAM\uff09<\/h5>\n<p>\u5728\u7cfb\u7edf\u65f6\u949f\u7684\u63a7\u5236\u4e0b\u8fdb\u884c\u8bfb\u51fa\u548c\u5199\u5165\u2014\u2014 CPU \u65e0\u987b\u7b49\u5f85<\/p>\n<p>&nbsp;<\/p>\n<h5>RDRAM<\/h5>\n<p>\u7531 Rambus \u5f00\u53d1\uff0c\u4e3b\u8981\u89e3\u51b3 \u5b58\u50a8\u5668\u5e26\u5bbd \u95ee\u9898<\/p>\n<p>&nbsp;<\/p>\n<h5>\u5e26 Cache \u7684 DRAM<\/h5>\n<p>\u5728 DRAM \u7684\u82af\u7247\u5185 \u96c6\u6210 \u4e86\u4e00\u4e2a\u7531 SRAM \u7ec4\u6210\u7684 Cache \uff0c\u6709\u5229\u4e8e \u731d\u53d1\u5f0f\u8bfb\u53d6 \uff08\u8fde\u7eed\u7684\u5b58\u50a8\u5355\u5143\u8fdb\u884c\u8bfb\u53d6\uff09<\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h2>4.3 \u9ad8\u901f\u7f13\u51b2\u5b58\u50a8\u5668<\/h2>\n<h3>4.3.1 \u6982\u8ff0<\/h3>\n<p>\u4e3a\u4ec0\u4e48\u8981\u4f7f\u7528\u9ad8\u901f\u7f13\u51b2\u5b58\u50a8\u5668\uff1f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435581.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4f7f\u7528\u9ad8\u901f\u7f13\u51b2\u5b58\u50a8\u5668\uff0c\u9700\u8981\u9075\u5faa\u7a0b\u5e8f\u8bbf\u95ee\u7684\u5c40\u90e8\u6027\u539f\u7406\uff0c\u5373\u8981\u6c42CPU\u4f7f\u7528\u7684\u6307\u4ee4\uff0c\u5927\u90e8\u5206\u90fd\u80fd\u591f\u5728\u7f13\u5b58\u4e2d\u627e\u5230\u3002<\/p>\n<p>\u4e09\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u5c40\u90e8\u6027:<\/p>\n<ol start=\"\">\n<li>\u65f6\u95f4\u5c40\u90e8\u6027\uff08Temporal Locality\uff09\uff1a\u5982\u679c\u4e00\u4e2a\u4fe1\u606f\u9879\u6b63\u5728\u88ab\u8bbf\u95ee\uff0c\u90a3\u4e48\u5728\u8fd1\u671f\u5b83\u5f88\u53ef\u80fd\u8fd8\u4f1a\u88ab\u518d\u6b21\u8bbf\u95ee\u3002 \u7a0b\u5e8f\u5faa\u73af\u3001\u5806\u6808\u7b49\u662f\u4ea7\u751f\u65f6\u95f4\u5c40\u90e8\u6027\u7684\u539f\u56e0\u3002<\/li>\n<li>\u7a7a\u95f4\u5c40\u90e8\u6027\uff08Spatial Locality\uff09\uff1a\u5728\u6700\u8fd1\u7684\u5c06\u6765\u5c06\u7528\u5230\u7684\u4fe1\u606f\u5f88\u53ef\u80fd\u4e0e\u73b0\u5728\u6b63\u5728\u4f7f\u7528\u7684\u4fe1\u606f\u5728\u7a7a\u95f4\u5730\u5740\u4e0a\u662f\u4e34\u8fd1\u7684\u3002<\/li>\n<li>\u987a\u5e8f\u5c40\u90e8\u6027\uff08Order Locality\uff09\uff1a\u5728\u5178\u578b\u7a0b\u5e8f\u4e2d\uff0c\u9664\u8f6c\u79fb\u7c7b\u6307\u4ee4\u5916\uff0c\u5927\u90e8\u5206\u6307\u4ee4\u662f\u987a\u5e8f\u8fdb\u884c\u7684\u3002\u987a\u5e8f\u6267\u884c\u548c\u975e\u987a\u5e8f\u6267\u884c\u7684\u6bd4\u4f8b\u5927\u81f4\u662f5:1\u3002\u6b64\u5916\uff0c\u5bf9\u5927\u578b\u6570\u7ec4\u8bbf\u95ee\u4e5f\u662f\u987a\u5e8f\u7684\u3002 \u6307\u4ee4\u7684\u987a\u5e8f\u6267\u884c\u3001\u6570\u7ec4\u7684\u8fde\u7eed\u5b58\u653e\u7b49\u662f\u4ea7\u751f\u987a\u5e8f\u5c40\u90e8\u6027\u7684\u539f\u56e0\u3002<\/li>\n<\/ol>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.3.2 Cache\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n<p>\u4e3b\u5b58\u4e0e\u7f13\u5b58\u6309\u5757\u5b58\u50a8\uff0c\u5757\u7684\u5927\u5c0f\u76f8\u540c\uff0c\u5757\u5185\u5730\u5740\u76f8\u540c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>cache\u7684\u7ed3\u6784\u5176\u5b9e\u548c\u5185\u5b58\u7684\u7ed3\u6784\u7c7b\u4f3c\uff0c\u4e5f\u5305\u542b\u5730\u5740\u548c\u5185\u5bb9\uff0c\u53ea\u662fcache\u7684\u5185\u5bb9\u9664\u4e86\u5b58\u7684\u6570\u636e\uff08data\uff09\u4e4b\u5916\uff0c\u8fd8\u5305\u542b\u5b58\u7684\u6570\u636e\u7684\u7269\u7406\u5185\u5b58\u7684\u5730\u5740\u4fe1\u606f\uff08tag\uff09\uff0c\u56e0\u4e3aCPU\u53d1\u51fa\u7684\u5bfb\u5740\u4fe1\u606f\u90fd\u662f\u9488\u5bf9\u7269\u7406\u5185\u5b58\u53d1\u51fa\u7684\uff0c\u6240\u4ee5cache\u4e2d\u9664\u4e86\u8981\u4fdd\u5b58\u6570\u636e\u4fe1\u606f\u4e4b\u5916\uff0c\u8fd8\u8981\u4fdd\u5b58\u6570\u636e\u5bf9\u5e94\u7684\u5730\u5740\uff0c\u8fd9\u6837\u624d\u80fd\u5728cache\u4e2d\u6839\u636e\u7269\u7406\u5185\u5b58\u7684\u5730\u5740\u4fe1\u606f\u67e5\u627e\u7269\u7406\u5185\u5b58\u4e2d\u5bf9\u5e94\u7684\u6570\u636e\u3002\uff08\u5f53\u7136\u4e3a\u4e86\u52a0\u5feb\u5bfb\u627e\u901f\u5ea6\uff0ccache\u4e2d\u4e00\u822c\u8fd8\u5305\u542b\u4e00\u4e2a\u6709\u6548\u4f4d\uff08valid\uff09\uff0c\u7528\u6765\u6807\u8bb0\u8fd9\u4e2acache line\u662f\u5426\u4fdd\u5b58\u7740\u6709\u6548\u7684\u6570\u636e\uff09\u3002\u4e00\u4e2atag\u548c\u5b83\u5bf9\u5e94\u7684\u6570\u636e\u7ec4\u6210\u7684\u4e00\u884c\u79f0\u4e3a\u4e00\u4e2acache line\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u4e0b\u8868\u4e2d\u7684\u4e00\u884c\u5c31\u662f\u4e00\u4e2acache line\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435566.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u77e5\u9053\u4e86cache\u7684\u7ed3\u6784\u4e4b\u540e\uff0c\u5982\u4f55\u5728cache\u4e2d\u53bb\u5bfb\u627e\u5bf9\u5e94\u7684\u6570\u636e\u5462\uff1f\u7b80\u5355\u8d77\u89c1\uff0c\u6211\u4eec\u5148\u9009\u62e9\u76f4\u63a5\u6620\u5c04\u7684cache\u7ec4\u6210\u65b9\u5f0f\uff08\u53c2\u89c1\u4e0b\u6587\uff09\u8fdb\u884c\u4e0b\u6587\u7684\u5206\u6790\u3002<\/p>\n<p>\u9996\u5148\u5bf9\u4e8e\u4e00\u6bb5\u7269\u7406\u5185\u5b58\uff08block\uff09\uff0c\u8be5\u7269\u7406\u5185\u5b58\u4e0a\u7684\u6bcf\u4e2a\u5b57\u8282\u7684\u5730\u5740\u5212\u5206\u4e3a\u4ee5\u4e0b\u51e0\u6bb5\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435640.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u8fd9\u6837\u7684\u8bdd\u7269\u7406\u5185\u5b58\u4e2d\u7684\u6570\u636e\u5230cache\u7684\u6620\u5c04\u5173\u7cfb\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435709.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u4e0a\u56fe\u56db\u7684\u6620\u5c04\u539f\u5219\u5c31\u662f\uff1a\u6839\u636e\u7269\u7406\u5730\u5740\u7684\u4e2d\u95f4\u4e09\u4f4d\uff08index\u5b57\u6bb5\uff09\u6765\u5b9a\u4f4d\u5f53\u524d\u6570\u636e\u5e94\u8be5\u5728cache\u7684\u54ea\u4e00\u884c\uff0c\u628a\u7269\u7406\u5730\u5740\u7684tag\u5b57\u6bb5\u548c\u8be5\u5730\u5740\u5bf9\u5e94\u7684\u5185\u5bb9\u653e\u5165\u5bf9\u5e94\u7684cache line\u7684tag\u5b57\u6bb5\u548cdata\u5b57\u6bb5\uff0c\u5e76\u628a\u76f8\u5e94\u7684valid\u4f4d\u7f6e\u7f6e\u4e3a1\u3002\u90a3\u4e48\u5728\u4e4b\u540e\u8fdb\u884ccache\u5bfb\u627e\u7684\u65f6\u5019\u5c31\u53ef\u4ee5\u6839\u636ecache line\u7684tag\u5b57\u6bb5\u6765\u8fa8\u8ba4\u5f53\u524dline\u4e2d\u7684\u6570\u636e\u662f\u6570\u636e\u54ea\u4e2ablock\u7684\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e0a\u56fe\u56db\u4e2d\u7684\u5730\u574000 000 00~11 111 11\u6309\u7167\u56fe\u4e09\u7684\u539f\u5219\u8fdb\u884c\u5730\u5740\u5212\u5206\uff1a\u5730\u5740\u7684\u6700\u9ad8\u4e24\u4f4d\u4e3aTag\u5b57\u6bb5\uff1b\u4e2d\u95f4\u4e09\u4f4d\u4e3aindex\u5b57\u6bb5\uff1b\u6700\u4f4e\u4e24\u4f4d\u4e3aBlock Offset \u5b57\u6bb5\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u7531\u4e8eBlock Offset\u662f\u4e24\u4f4d\uff0c\u4e5f\u5c31\u662f\u4e00\u4e2ablock\u7684\u5927\u5c0f\u662f2\u00b2=4\u4e2a\u5b57\u8282\u7684\u6570\u636e\uff0c\u4e5f\u5c31\u662f\u4e00\u4e2acache line\u7684data\u5b57\u6bb5\u5305\u542b4\u4e2a\u5b57\u8282\u7684\u6570\u636e\uff1bindex\u4e3a3\u4f4d\uff0c\u8bf4\u660ecache\u5171\u5305\u542b2\u00b3=8\u4e2a\u7ec4\uff08\u5bf9\u4e8e\u76f4\u63a5\u6620\u5c04\u7684cache\uff0c\u4e5f\u79f0\u4e3a8\u4e2a\u884c\uff09\uff1b\u5f88\u660e\u663e\uff0ccache\u7684\u4e00\u4e2a\u884c\u4e2d\u53ea\u80fd\u5b58\u50a81 \u5757(Block )=4\u5b57\u8282\u7684\u6570\u636e\uff0c\u4f46\u662f\u6309\u7167\u56fe\u56db\u7684\u6620\u5c04\u65b9\u5f0f\uff0c\u4f1a\u67092^(tag\u4f4d\u6570) = 2^2 = 4\u5757\u7684\u6570\u6620\u5c04\u5230\u540c\u4e00\u4e2a\u884c\uff0c\u6b64\u65f6\u901a\u8fc7Tag\u5b57\u6bb5\u7684\u6bd4\u8f83\u6765\u8fa8\u522b\u662f\u4e0d\u662f\u6211\u4eec\u8981\u53d6\u6570\u636e\u7684\u5730\u5740\uff0c\u5982\u679c\u4e0d\u662f\u7684\u8bdd\uff0c\u4e5f\u5c31\u662f\u53d1\u751f\u4e86cache\u7684\u7f3a\u5931\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5982\u56fe\u56db\u7684Block 0\u548cBlock 1\u7684index\u5b57\u6bb5\u90fd\u662f000\uff0c\u6309\u7167\u4e0a\u9762\u7684\u7406\u8bba\u5b83\u4eec\u90fd\u5e94\u8be5\u6620\u5c04\u5230\u7b2c 000=0\u884c\uff08\u8fd9\u513f\u7684\u884c\u4e5f\u5c31\u662f\u7ec4\uff0c\u56e0\u4e3a\u56fe\u56db\u662f\u76f4\u63a5\u6620\u5c04\u7684cache\uff09\uff0c\u4f46\u662f\u73b0\u5728\u7b2c0\u884c\u7684\u5185\u5bb9\u662fK\u3001L\u3001M\u3001N\uff0c\u4e5f\u5c31\u662fBlock 1\u7684\u5185\u5bb9\uff0c\u4e3a\u4ec0\u4e48\u5462\uff1f\u4ed4\u7ec6\u770b\u8be5cache line\u7684tag=01\uff0c\u6620\u5c04\u5230\u7b2c0\u884c\u7684\u5757\u53ea\u6709Block 1\u7684tag\u5b57\u6bb5=01\uff0c\u6240\u4ee5\u53ef\u4ee5\u5f97\u77e5\u6b64\u65f6\u8be5cache line\u4e2d\u5b58\u50a8\u7684\u6570\u636e\u662fBlock 1\u7684\u6570\u636e\uff0c\u6b64\u65f6\u5982\u679cCPU\u53d1\u51fa\u7684\u8bbf\u5b58\u8bf7\u6c42\u662f\u8bbf\u95eeBlock 0 \u7684\u8bdd\uff0c\u4e5f\u5c31\u662f\u53d1\u751f\u4e86\u7f3a\u5931\u3002\u6b64\u65f6\u8fdb\u4e00\u6b65\u5b9a\u91cf\u5206\u6790\u7684\u8bdd\uff0c\u5171\u67094\u4e2a\u6570\u636e\u5757\u7ade\u4e89\u4f7f\u7528cache \u7b2c0\u884c\u7684\u4f4d\u7f6e\uff0c\u4e5f\u5c31\u662f\u8bf4cache\u7684\u547d\u4e2d\u7387\u4e3a25%\u3002<\/p>\n<p>\u4e0a\u9762\u7684\u8fc7\u7a0b\u603b\u7ed3\u8d77\u6765\u5c31\u662f\uff1a<\/p>\n<p>\u7269\u7406\u5185\u5b58\u7684\u7d22\u5f15\u5b57\u6bb5(Index)\u9009\u62e9cache \u7684\u884c\uff0c\u901a\u8fc7\u5bf9\u6bd4\u7269\u7406\u5185\u5b58\u548ccache line\u7684Tag\u6765\u5224\u65ad\u662f\u5426\u547d\u4e2d\u3002\u5757\u504f\u79fb\u5b57\u6bb5(Block Offset)\u53ef\u4ee5\u4ececache line\u7684\u6570\u636e\u5757\u4e2d\u9009\u62e9\u671f\u671b\u6570\u636e\u3002\u6ce8\u610f\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2dcache\u7684index\u662f\u4e0d\u5360\u7a7a\u95f4\u7684\uff0c\u5b83\u5c31\u7c7b\u4f3c\u4e8e\u7269\u7406\u5185\u5b58\u7684\u5730\u5740\uff0c\u5bf9\u4e8e\u7269\u7406\u5185\u5b58\u6765\u8bf4\u662f\u901a\u8fc7\u5730\u5740\u53bb\u5bfb\u627e\u6570\u636e\uff0c\u5bf9\u4e8ecache\u6765\u8bf4\uff0c\u662f\u901a\u8fc7index\u6765\u627e\u5230\u5bf9\u5e94\u7684cache line\uff0c\u6216\u8005\u66f4\u901a\u4fd7\u7684\u8bb2\u5c31\u662f\uff1acache line\u7684\u5730\u5740\u5bf9\u5e94\u7684\u5c31\u662f\u7269\u7406\u5185\u5b58\u7684index\u5b57\u6bb5\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b64\u65f6\u8be5cache\u7684\u5bb9\u91cf\u8ba1\u7b97\u5982\u4e0b\uff1a\u6bcf\u4e00\u4e2acache line\u7684\u6570\u636e\u5b57\u6bb5\u53604\u4e2a\u5b57\u8282\uff0c\u51712\u00b3=8\u884c\uff0c\u6240\u4ee5\u6570\u636e\u5360\u636e4\u00d78=32\u4e2a\u5b57\u8282\uff0c\u4e00\u4e2acache line\u4e2dtag\u5b57\u6bb5\u548cvalid\u4f4d\u53602+1=3bit\uff0c\u6574\u4e2acache\u7684tag+valid=3bit\u00d78\u884c=24bit=3Byte\uff0c\u901a\u5e38\u60c5\u51b5\u4e0b\u6211\u4eec\u90fd\u662f\u4ee5cache\u4e2d\u6570\u636e\u90e8\u5206\u5360\u7684\u7a7a\u95f4\u8868\u793acache\u7684\u5bb9\u91cf\uff0c\u4e5f\u5c31\u662f32\u5b57\u8282\uff0c\u4f46\u662f\u5b9e\u9645\u4e0a\uff0c\u5b83\u8fd8\u989d\u5916\u591a\u5360\u7528\u4e863\u5b57\u8282\u7684\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n<blockquote><p>\u4e0a\u9762\u4e00\u5927\u6bb5\u5e9f\u8bdd\u8bf4\u7684\u5c31\u51e0\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ul>\n<li>tag\uff1a\u51b3\u5b9a\u5757\uff08block\uff09\u7684\u4e2a\u6570<\/li>\n<li>index\uff1a\u51b3\u5b9a\u5b58\u5728Cache\u54ea\u4e00\u884c\uff08Cache line\uff09<\/li>\n<li>offset\uff1a\u51b3\u5b9aCache\u4e2ddata\u7684\u5927\u5c0f\uff08\u5b57\u8282\u4e3a\u5355\u4f4d\uff09<\/li>\n<li>index+offset\uff1a\u51b3\u5b9a\u6bcf\u4e2a\u5757\u6709\u591a\u5c11\u4e2a\u6570\u636e<\/li>\n<\/ul>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<h4>1. Cache\u7684\u547d\u4e2d\u7387<\/h4>\n<p>\u4e3b\u5b58\u548c\u7f13\u5b58 \u6309\u5757\u5b58\u50a8\uff0c \u5757\u7684\u5927\u5c0f\u76f8\u540c\uff1b\u7f13\u5b58\u5171\u6709 <em>C<\/em> \u5757\uff0c\u4e3b\u5b58\u5171\u6709 <em>M<\/em> \u5757 \uff0c\u4e3b\u5b58 <em>M \u5757\u7684\u6570\u91cf<\/em>&gt;&gt;(\u8fdc\u8fdc\u5927\u4e8e) \u7f13\u5b58 <em>C\u5757\u7684\u6570\u91cf<\/em><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435887.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u547d\u4e2d\uff1a \u4e3b\u5b58\u5757 \u8c03\u5165 \u7f13\u5b58\uff0c\u4e3b\u5b58\u5757\u4e0e\u7f13\u5b58\u5757 \u5efa\u7acb \u4e86\u5bf9\u5e94\u5173\u7cfb\uff0c\u7528 \u6807\u8bb0\u8bb0\u5f55 \u4e0e\u67d0\u7f13\u5b58\u5757\u5efa\u7acb\u4e86\u5bf9\u5e94\u5173\u7cfb\u7684 \u4e3b\u5b58\u5757\u53f7<\/p>\n<p>\u672a\u547d\u4e2d\uff1a \u4e3b\u5b58\u5757\u4e0e\u7f13\u5b58\u5757 \u672a\u5efa\u7acb \u5bf9\u5e94\u5173\u7cfb\uff0c\u4e3b\u5b58\u5757 \u672a\u8c03\u5165 \u7f13\u5b58<\/p>\n<p>Cache \u7684\u547d\u4e2d\u7387 \uff1aCPU \u6b32\u8bbf\u95ee\u7684\u4fe1\u606f\u5728 Cache \u4e2d\u7684 \u6bd4\u7387 \uff0c\u547d\u4e2d\u7387 \u4e0e Cache \u7684 \u5bb9\u91cf \u4e0e \u5757\u957f \u6709\u5173 \uff0c\u4e00\u822c\u6bcf\u5757\u53ef\u53d6 4 ~ 8 \u4e2a\u5b57 \uff0c \u5757\u957f\u53d6\u4e00\u4e2a\u5b58\u53d6\u5468\u671f\u5185\u4ece\u4e3b\u5b58\u8c03\u51fa\u7684\u4fe1\u606f\u957f\u5ea6<\/p>\n<p>&nbsp;<\/p>\n<h4>2. Cache \u2013\u4e3b\u5b58\u7cfb\u7edf\u7684\u6548\u7387<\/h4>\n<p>\u6548\u7387 e \u4e0e \u547d\u4e2d\u7387 \u6709\u5173<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435764.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u8bbe Cache \u547d\u4e2d\u7387 \u4e3a <em>h<\/em> <em>\uff0c<\/em> \u8bbf\u95ee Cache \u7684\u65f6\u95f4\u4e3a <em>t<\/em> <em>c<\/em> <em>\uff0c<\/em> \u8bbf\u95ee \u4e3b\u5b58 \u7684\u65f6\u95f4\u4e3a <em>t<\/em> <em>m<\/em><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435872.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.3.3 Cache\u7684\u57fa\u672c\u7ed3\u6784<\/h3>\n<p>\u5c06\u4e3b\u5b58\u5730\u5740\u6620\u5c04\u5230\u7f13\u5b58\u4e2d\u79f0\u4e3a\u5730\u5740\u6620\u5c04\uff0c\u5c06\u4e3b\u5b58\u5730\u5740\u53d8\u6362\u6210\u7f13\u5b58\u5730\u5740\u79f0\u4e3a\u5730\u5740\u53d8\u6362\uff0c\u5f53\u65b0\u7684\u4e3b\u5b58\u5757\u9700\u8981\u8c03\u5165\u7f13\u5b58\u4e2d\uff0c\u800c\u5b83\u7684\u53ef\u7528\u4f4d\u7f6e\u53c8\u88ab\u5360\u7528\u65f6\uff0c\u9700\u6839\u636e\u66ff\u6362\u7b97\u6cd5\u89e3\u51b3\u8c03\u5165\u95ee\u9898\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435015.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.3.4 Cache\u7684\u8bfb\u5199\u64cd\u4f5c<\/h3>\n<h4>\u8bfb\u64cd\u4f5c<\/h4>\n<p>\u5982\u679c\u547d\u4e2d\u7f13\u5b58\uff0c\u76f4\u63a5\u4ece\u7f13\u5b58\u4e2d\u83b7\u53d6\u4fe1\u606f\uff0c\u5982\u679c\u6ca1\u547d\u4e2d\uff0c\u4ece\u4e3b\u5b58\u4e2d\u67e5\u627e\u4fe1\u606f\u3002\u5982\u679c\u7f13\u5b58Cache\u6ee1\uff0c\u6839\u636e\u66ff\u6362\u7b97\u6cd5\uff0c\u628a\u4ece\u4e3b\u5b58\u4e2d\u8bfb\u53d6\u7684\u4fe1\u606f\u653e\u5165\u7f13\u5b58\u3002<\/p>\n<p><strong>Cache\u7684\u8bfb\u64cd\u4f5c\u6d41\u7a0b\u56fe<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435056.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>\u5199\u64cd\u4f5c<\/h4>\n<p><strong>\u5199\u76f4\u8fbe\u6cd5<\/strong>\uff08Write \u2013 through\uff09<\/p>\n<p>\u5199\u64cd\u4f5c\u65f6\u6570\u636e\u65e2\u5199\u5165 Cache\u53c8\u5199\u5165\u4e3b\u5b58\uff0c \u5199\u64cd\u4f5c\u65f6\u95f4\u5c31\u662f\u8bbf\u95ee\u4e3b\u5b58\u7684\u65f6\u95f4 \uff0c Cache\u5757\u9000\u51fa\u65f6\uff0c\u4e0d\u9700\u8981\u5bf9\u4e3b\u5b58\u6267\u884c\u5199\u64cd\u4f5c\uff0c\u66f4\u65b0\u7b56\u7565\u6bd4\u8f83\u5bb9\u6613\u5b9e\u73b0\u3002<\/p>\n<ul>\n<li>\u4f18\u70b9\uff1a\u4e3b\u5b58\u548c\u7f13\u5b58\u6570\u636e\u59cb\u7ec8\u4fdd\u6301\u4e00\u81f4<\/li>\n<li>\u7f3a\u70b9\uff1a\u540c\u4e00\u65f6\u95f4\u5185\u53ef\u80fd\u5bf9\u540c\u4e00\u4e3b\u5b58\u8fdb\u884c\u53cd\u590d\u7684\u5199<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>\u5199\u56de\u6cd5\uff08Write \u2013 back\uff09<\/strong><\/p>\n<p>\u5199\u64cd\u4f5c\u65f6\u53ea\u628a\u6570\u636e\u5199\u5165 Cache \u800c\u4e0d\u5199\u5165\u4e3b\u5b58\uff0c\u5f53 Cache \u6570\u636e\u88ab\u66ff\u6362\u51fa\u53bb\u65f6\u624d\u5199\u56de\u4e3b\u5b58\uff0c \u5199\u64cd\u4f5c\u65f6\u95f4\u5c31\u662f\u8bbf\u95ee Cache \u7684\u65f6\u95f4\uff0c Cache\u5757\u9000\u51fa\u65f6\uff0c\u88ab\u66ff\u6362\u7684\u5757\u9700\u5199\u56de\u4e3b\u5b58\uff0c\u589e\u52a0\u4e86Cache \u7684\u590d\u6742\u6027\u3002<\/p>\n<ul>\n<li>\u4f18\u70b9\uff1a\u5199\u64cd\u4f5c\u65f6\u95f4\u5c31\u662f\u8bbf\u95ee Cache \u7684\u65f6\u95f4<\/li>\n<li>\u7f3a\u70b9\uff1a\u4e3b\u5b58\u548c\u7f13\u5b58\u6570\u636e\u4e0d\u4e00\u81f4\uff0c\u591a\u7cfb\u7edf\u60c5\u51b5\u4e0b\u4f1a\u51fa\u73b0\u6570\u636e\u4e00\u81f4\u6027\u95ee\u9898<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Cache\u7684\u6539\u8fdb<\/h4>\n<ol start=\"\">\n<li>\u5bf9Cache\u8fdb\u884c\u5206\u7ea7\uff0c\u589e\u52a0Cache\u7684\u7ea7\u6570<\/li>\n<li>\u5206\u7acb\u7f13\u5b58\uff0c\u628a\u6307\u4ee4 Cache\u548c\u6570\u636e Cache\u5206\u5f00\uff0c\u907f\u514d\u5728\u6d41\u6c34\u7684\u8fc7\u7a0b\u4e2d\u9020\u6210\u8d44\u6e90\u51b2\u7a81\u3002<\/li>\n<\/ol>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.3.5 Cache-\u4e3b\u5b58\u7684\u5730\u5740\u6620\u5c04<\/h3>\n<h4>\u76f4\u63a5\u6620\u5c04<\/h4>\n<p>\u4e3b\u5b58\u4e2d\u7684\u4efb\u610f\u5757\u6620\u5c04\u5230\u7f13\u5b58\u4e2d\u7684\u552f\u4e00\u5757\uff0c\u6bcf\u4e2a\u4e3b\u5b58\u5757\u53ea\u4e0e\u4e00\u4e2a\u7f13\u5b58\u5757\u76f8\u5bf9\u5e94\uff0c\u4f46\u662f\u5b9e\u73b0\u7b80\u5355\u3002<\/p>\n<p><strong>\u7279\u70b9\uff1a\u4e0d\u7075\u6d3b\uff0c\u6bcf\u4e2a\u4e3b\u5b58\u5757\u53ea\u80fd\u4e0e\u56fa\u5b9a\u5bf9\u5e94\u67d0\u4e2a\u7f13\u5b58\u5757\uff0c\u5373\u4f7f\u8fd8\u7a7a\u7740\u8bb8\u591a\u4f4d\u7f6e\u4e5f\u4e0d\u80fd\u4f7f\u7528\u3002<\/strong>\u8fd9\u4f7f\u5f97\u76f4\u63a5\u6620\u5c04\u7684\u5757\u51b2\u7a81\u6982\u7387\u6700\u9ad8\uff0c\u7a7a\u95f4\u5229\u7528\u7387\u6700\u4f4e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435151.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>\u5168\u76f8\u8054\u6620\u5c04<\/h4>\n<p>\u76f4\u63a5\u6620\u5c04\u7684\u53e6\u4e00\u4e2a\u6781\u7aef\uff0c<strong>\u53ef\u4ee5\u628a\u4e3b\u5b58\u6570\u636e\u5757\u88c5\u5165 Cache \u4e2d\u7684\u4efb\u4f55\u4f4d\u7f6e<\/strong>\u3002<\/p>\n<p>\u5168\u76f8\u8054\u6620\u5c04\u65b9\u5f0f\u7684\u4f18\u70b9\u662f\u6bd4\u8f83\u7075\u6d3b\uff0cCache \u5757\u7684\u51b2\u7a81\u6982\u7387\u4f4e\uff0c<strong>\u7a7a\u95f4\u5229\u7528\u7387\u9ad8<\/strong>\uff0c\u547d\u4e2d\u7387\u4e5f\u9ad8\uff0c\u7f3a\u70b9\u662f<strong>\u5730\u5740\u53d8\u6362\u901f\u5ea6\u6162<\/strong>\uff0c\u5b9e\u73b0\u6210\u672c\u9ad8\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435164.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>&nbsp;<\/p>\n<h4>\u7ec4\u76f8\u8054\u6620\u5c04<\/h4>\n<p>\u7ec4\u76f8\u8054\u6620\u5c04\u662f\u76f4\u63a5\u6620\u5c04\u548c\u5168\u76f8\u8054\u6620\u5c04\u76f8\u7ed3\u5408\u7684\u65b9\u5f0f\uff0c\u5c06\u4e3b\u5b58\u548ccache\u90fd\u5206\u6210\u82e5\u5e72\u6bb5\uff0c\u5e76\u4e14\u4f7f\u4ed6\u4eec\u6bcf\u7ec4\u6240\u5305\u542b\u7684\u5757\u6570\u90fd\u76f8\u7b49\uff0c\u7ec4\u4e4b\u95f4\u91c7\u7528\u5168\u76f8\u8054\u6620\u5c04\uff0c\u7ec4\u5185\u5757\u4e4b\u95f4\u91c7\u7528\u76f4\u63a5\u6620\u5c04\u3002<\/p>\n<p>\u76f4\u63a5\u6620\u5c04\u548c\u5168\u76f8\u8fde\u6620\u5c04\u7684\u6298\u4e2d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435236.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.3.6 \u66ff\u6362\u7b97\u6cd5<\/h3>\n<ol start=\"\">\n<li>FIFO(First In First Out)\uff1a\u9075\u5faa\u5148\u5165\u5148\u51fa\u539f\u5219\uff0c\u82e5\u5f53\u524dCache\u88ab\u586b\u6ee1\uff0c\u5219\u66ff\u6362\u6700\u65e9\u8fdb\u5165Cache\u7684\u90a3\u4e2a\u3002<\/li>\n<li>LRU(Least Recently Used)\uff1a\u6700\u8fd1\u6700\u5c11\u88ab\u4f7f\u7528\u7684\u88ab\u66ff\u6362\uff0c\u4e5f\u5c31\u662f\u66ff\u6362\u6700\u540e\u4e00\u6b21\u8bbf\u95ee\u65f6\u95f4\u6700\u4e45\u8fdc\u7684\u90a3\u4e2a\u3002<\/li>\n<li>LFU(Least Frequently Used)\uff1a\u6700\u4e0d\u5e38\u4f7f\u7528\u7684\u88ab\u66ff\u6362\uff0c\u4e5f\u5c31\u662f\u8fc7\u53bb\u67d0\u4e2a\u65f6\u95f4\u7a97\u53e3\u91cc\u5f15\u7528\u6b21\u6570\u6700\u5c11\u7684\u90a3\u4e2a\u3002<\/li>\n<\/ol>\n<hr>\n<h2>4.4 \u8f85\u52a9\u5b58\u50a8\u5668<\/h2>\n<h3>4.4.1 \u6982\u8ff0<\/h3>\n<p>\u4f8b\u5982\uff1a\u78c1\u76d8\u3001\u5149\u76d8\u3001\u786c\u76d8<\/p>\n<p>\u7279\u70b9\uff1a\u4e0d\u76f4\u63a5\u548cCPU\u4ea4\u6362\u4fe1\u606f\uff1b\u65ad\u7535\u540e\u80fd\u4fdd\u5b58\u4fe1\u606f<\/p>\n<p>&nbsp;<\/p>\n<h3>4.4.2 \u786c\u78c1\u76d8\u5b58\u50a8\u5668<\/h3>\n<h4>1.\u786c\u78c1\u76d8\u5b58\u50a8\u5668\u7684\u7c7b\u578b<\/h4>\n<ul>\n<li>\u56fa\u5b9a\u78c1\u5934\u548c\u79fb\u52a8\u78c1\u5934<\/li>\n<li>\u53ef\u6362\u76d8\u548c\u56fa\u5b9a\u76d8<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>2. \u786c\u78c1\u76d8\u5b58\u50a8\u5668\u7ed3\u6784<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/picture.chentaiyang.space\/202211021435257.png\" referrerpolicy=\"no-referrer\" alt=\"img\"><\/p>\n<p>\u78c1\u76d8\u63a7\u5236\u5668<\/p>\n<ul>\n<li>\u63a5\u6536\u4e3b\u673a\u53d1\u6765\u7684\u547d\u4ee4\uff0c\u8f6c\u6362\u6210\u78c1\u76d8\u9a71\u52a8\u5668\u7684\u63a7\u5236\u547d\u4ee4<\/li>\n<li>\u5b9e\u73b0\u4e3b\u673a\u548c\u9a71\u52a8\u5668\u4e4b\u95f4\u7684\u6570\u636e\u683c\u5f0f\u8f6c\u6362<\/li>\n<li>\u63a7\u5236\u78c1\u76d8\u9a71\u52a8\u5668\u8bfb\u5199<\/li>\n<\/ul>\n<p>\u78c1\u76d8\u63a7\u5236\u5668\u662f\u4e3b\u673a\u4e0e\u78c1\u76d8\u9a71\u52a8\u5668\u4e4b\u95f4\u7684\u63a5\u53e3\uff1a\u5bf9\u4e3b\u673a\uff08\u901a\u8fc7\u603b\u7ebf\uff09<\/p>\n<p>\u5bf9\u9a71\u52a8\u5668\uff08\u8bbe\u5907\u63a5\u53e3\uff09<\/p>\n<hr>\n<p>&nbsp;<\/p>\n<h3>4.4.3 \u5149\u76d8\u5b58\u50a8\u5668<\/h3>\n<h4>1. \u6982\u8ff0<\/h4>\n<p>\u91c7\u7528\u5149\u5b58\u50a8\u6280\u672f\uff1b\u5229\u7528\u6fc0\u5149\u5199\u5165\u548c\u8bfb\u51fa<\/p>\n<ul>\n<li>\u7b2c\u4e00\u4ee3\u5149\u5b58\u50a8\u6280\u672f     \u91c7\u7528\u975e\u78c1\u6027\u4ecb\u8d28     \u4e0d\u53ef\u64e6\u5199<\/li>\n<li>\u7b2c\u4e8c\u4ee3\u5149\u5b58\u50a8\u6280\u672f     \u91c7\u7528\u78c1\u6027\u4ecb\u8d28         \u53ef\u64e6\u5199<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>2. \u5149\u76d8\u5b58\u50a8\u539f\u7406<\/h4>\n<ul>\n<li>\u53ea\u8bfb\u578b\u548c\u53ea\u5199\u4e00\u6b21\u578b   \u70ed\u4f5c\u7528  \uff08\u7269\u7406\u548c\u5316\u5b66\uff09<\/li>\n<li>\u53ef\u64e6\u5199\u5149\u76d8                   \u70ed\u78c1\u6548\u5e94<\/li>\n<\/ul>\n<hr>\n<p>&nbsp;<\/p>\n<h2>4.5 \u8865\u5145<\/h2>\n<p>\u7b80\u8ff0\u7528\u6237\u627e\u4e00\u4e2a\u6570\u636e\uff0c\u8ba1\u7b97\u673a\u5185\u90e8\u6267\u884c\u8fc7\u7a0b\uff1a<\/p>\n<p>CPU\u5bc4\u5b58\u5668 -&gt; Cache -&gt; RAM\u7684MDR -&gt; RAM -&gt; \u8f85\u5b58<\/p>\n<p>&nbsp;<\/p>\n<p>\u672c\u7ae0\u5b8c<\/p>\n<p>\u656c\u7231\u4e0e\u660e\u5929\ud83c\udf39<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b58\u50a8\u5668\u8be6\u89e3\uff1b\u6587\u7ae0\u8f83\u957f\uff0c\u8bf7\u8010\u5fc3\u89c2\u770b\ud83c\udf39<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[51,50,35,52],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-14","tag-51","tag-50","tag-35","tag-52"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7b2c4\u7ae0-\u5b58\u50a8\u5668 - #\u762b\u7537\u65e5\u8bb0<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.taiyang.space\/?p=99\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7b2c4\u7ae0-\u5b58\u50a8\u5668 - #\u762b\u7537\u65e5\u8bb0\" \/>\n<meta property=\"og:description\" content=\"\u5b58\u50a8\u5668\u8be6\u89e3\uff1b\u6587\u7ae0\u8f83\u957f\uff0c\u8bf7\u8010\u5fc3\u89c2\u770b\ud83c\udf39\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.taiyang.space\/?p=99\" \/>\n<meta property=\"og:site_name\" content=\"#\u762b\u7537\u65e5\u8bb0\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-07T00:45:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-11T05:21:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picture.chentaiyang.space\/202211021434306.png\" \/>\n<meta name=\"author\" content=\"taiyang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"taiyang\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=99#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=99\"},\"author\":{\"name\":\"taiyang\",\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"headline\":\"\u7b2c4\u7ae0-\u5b58\u50a8\u5668\",\"datePublished\":\"2022-09-07T00:45:09+00:00\",\"dateModified\":\"2022-11-11T05:21:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=99\"},\"wordCount\":740,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"keywords\":[\"\u4e3b\u5b58\",\"\u5b58\u50a8\u5668\",\"\u8ba1\u7ec4\",\"\u8f85\u5b58\"],\"articleSection\":[\"\u8ba1\u7b97\u673a\u7ec4\u6210\u539f\u7406\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.taiyang.space\/?p=99#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=99\",\"url\":\"https:\/\/blog.taiyang.space\/?p=99\",\"name\":\"\u7b2c4\u7ae0-\u5b58\u50a8\u5668 - #\u762b\u7537\u65e5\u8bb0\",\"isPartOf\":{\"@id\":\"https:\/\/blog.taiyang.space\/#website\"},\"datePublished\":\"2022-09-07T00:45:09+00:00\",\"dateModified\":\"2022-11-11T05:21:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.taiyang.space\/?p=99#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.taiyang.space\/?p=99\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.taiyang.space\/?p=99#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/blog.taiyang.space\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7b2c4\u7ae0-\u5b58\u50a8\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.taiyang.space\/#website\",\"url\":\"https:\/\/blog.taiyang.space\/\",\"name\":\"#\u762b\u7537\u65e5\u8bb0\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.taiyang.space\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c\",\"name\":\"taiyang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg\",\"contentUrl\":\"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg\",\"width\":612,\"height\":640,\"caption\":\"taiyang\"},\"logo\":{\"@id\":\"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/blog.taiyang.space\"],\"url\":\"https:\/\/blog.taiyang.space\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7b2c4\u7ae0-\u5b58\u50a8\u5668 - #\u762b\u7537\u65e5\u8bb0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.taiyang.space\/?p=99","og_locale":"zh_CN","og_type":"article","og_title":"\u7b2c4\u7ae0-\u5b58\u50a8\u5668 - #\u762b\u7537\u65e5\u8bb0","og_description":"\u5b58\u50a8\u5668\u8be6\u89e3\uff1b\u6587\u7ae0\u8f83\u957f\uff0c\u8bf7\u8010\u5fc3\u89c2\u770b\ud83c\udf39","og_url":"https:\/\/blog.taiyang.space\/?p=99","og_site_name":"#\u762b\u7537\u65e5\u8bb0","article_published_time":"2022-09-07T00:45:09+00:00","article_modified_time":"2022-11-11T05:21:15+00:00","og_image":[{"url":"https:\/\/picture.chentaiyang.space\/202211021434306.png"}],"author":"taiyang","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"taiyang","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.taiyang.space\/?p=99#article","isPartOf":{"@id":"https:\/\/blog.taiyang.space\/?p=99"},"author":{"name":"taiyang","@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"headline":"\u7b2c4\u7ae0-\u5b58\u50a8\u5668","datePublished":"2022-09-07T00:45:09+00:00","dateModified":"2022-11-11T05:21:15+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.taiyang.space\/?p=99"},"wordCount":740,"commentCount":0,"publisher":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"keywords":["\u4e3b\u5b58","\u5b58\u50a8\u5668","\u8ba1\u7ec4","\u8f85\u5b58"],"articleSection":["\u8ba1\u7b97\u673a\u7ec4\u6210\u539f\u7406"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.taiyang.space\/?p=99#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.taiyang.space\/?p=99","url":"https:\/\/blog.taiyang.space\/?p=99","name":"\u7b2c4\u7ae0-\u5b58\u50a8\u5668 - #\u762b\u7537\u65e5\u8bb0","isPartOf":{"@id":"https:\/\/blog.taiyang.space\/#website"},"datePublished":"2022-09-07T00:45:09+00:00","dateModified":"2022-11-11T05:21:15+00:00","breadcrumb":{"@id":"https:\/\/blog.taiyang.space\/?p=99#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.taiyang.space\/?p=99"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.taiyang.space\/?p=99#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.taiyang.space\/"},{"@type":"ListItem","position":2,"name":"\u7b2c4\u7ae0-\u5b58\u50a8\u5668"}]},{"@type":"WebSite","@id":"https:\/\/blog.taiyang.space\/#website","url":"https:\/\/blog.taiyang.space\/","name":"#\u762b\u7537\u65e5\u8bb0","description":"","publisher":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.taiyang.space\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/5e3b9567310d4c4a328573992325178c","name":"taiyang","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/","url":"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg","contentUrl":"https:\/\/blog.taiyang.space\/wp-content\/uploads\/2022\/10\/touxiang.jpg","width":612,"height":640,"caption":"taiyang"},"logo":{"@id":"https:\/\/blog.taiyang.space\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/blog.taiyang.space"],"url":"https:\/\/blog.taiyang.space\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":14,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":322,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/322"}],"wp:attachment":[{"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.taiyang.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}