{"id":2871,"date":"2019-11-04T01:37:53","date_gmt":"2019-11-04T01:37:53","guid":{"rendered":""},"modified":"2019-11-04T09:42:55","modified_gmt":"2019-11-04T01:42:55","slug":"fpga%e8%ae%be%e8%ae%a1%e7%9a%84%e5%85%ab%e4%b8%aa%e9%87%8d%e8%a6%81%e7%9f%a5%e8%af%86%e7%82%b9","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2871","title":{"rendered":"FPGA\u8bbe\u8ba1\u7684\u516b\u4e2a\u91cd\u8981\u77e5\u8bc6\u70b9"},"content":{"rendered":"
\n\t1.\u9762\u79ef\u4e0e\u901f\u5ea6\u7684\u5e73\u8861\u4e0e\u4e92\u6362<\/p>\n
\n\t\u8fd9\u91cc\u7684\u9762\u79ef\u6307\u4e00\u4e2a\u8bbe\u8ba1\u6d88\u8017FPGA<\/u>\/CPLD<\/u>\u7684\u903b\u8f91\u8d44\u6e90\u7684\u6570\u91cf\uff0c\u5bf9\u4e8eFPGA\u53ef\u4ee5\u7528\u6d88\u8017\u7684FF\uff08\u89e6\u53d1\u5668<\/u>\uff09\u548cLUT\uff08\u67e5\u627e\u8868\uff09\u6765\u8861\u91cf\uff0c\u66f4\u4e00\u822c\u7684\u8861\u91cf\u65b9\u5f0f\u53ef\u4ee5\u7528\u8bbe\u8ba1\u6240\u5360\u7684\u7b49\u4ef7\u903b\u8f91\u95e8\u6570\u3002<\/p>\n \n\t\u901f\u5ea6\u6307\u8bbe\u8ba1\u5728\u82af\u7247\u4e0a\u7a33\u5b9a\u8fd0\u884c\uff0c\u6240\u80fd\u8fbe\u5230\u7684\u6700\u9ad8\u9891\u7387\uff0c\u8fd9\u4e2a\u9891\u7387\u7531\u8bbe\u8ba1\u7684\u65f6\u5e8f\u72b6\u51b5\u6765\u51b3\u5b9a\uff0c\u548c\u8bbe\u8ba1\u6ee1\u8db3\u7684\u65f6\u949f<\/u>\u8981\u6c42\uff0cPAD<\/u> to PAD ti<\/u>me \uff0cClock Setup TIme\uff0cClock Hold TIme\uff0cClock-to-Output Delay\u7b49\u4f17\u591a\u65f6\u5e8f\u7279\u5f81\u91cf\u5bc6\u5207\u76f8\u5173\u3002<\/p>\n \n\t\u9762\u79ef\u548c\u901f\u5ea6\u8fd9\u4e24\u4e2a\u6307\u6807\u8d2f\u7a7fFPGA\/CPLD\u8bbe\u8ba1\u7684\u65f6\u949f\uff0c\u662f\u8bbe\u8ba1\u8d28\u91cf\u7684\u8bc4\u4ef7\u7684\u7ec8\u6781\u6807\u51c6\u3002<\/p>\n \n\t\u9762\u79ef\u548c\u901f\u5ea6\u662f\u4e00\u5bf9\u5bf9\u7acb\u7edf\u4e00\u7684\u77db\u76fe\u4f53\u3002\u8981\u6c42\u4e00\u4e2a\u540c\u4e8b\u5177\u5907\u8bbe\u8ba1\u9762\u79ef\u6700\u5c0f\uff0c\u8fd0\u884c\u9891\u7387\u6700\u9ad8\u662f\u4e0d\u73b0\u5b9e\u7684\u3002\u66f4\u79d1\u5b66\u7684\u8bbe\u8ba1\u76ee\u6807\u5e94\u8be5\u662f\u5728\u6ee1\u8db3\u8bbe\u8ba1\u65f6<\/u>\u5e8f\u8981\u6c42\uff08\u5305\u62ec\u5bf9\u8bbe\u8ba1\u9891\u7387\u7684\u8981\u6c42\uff09\u7684\u524d\u63d0\u4e0b\uff0c\u5360\u7528\u6700\u5c0f\u7684\u82af\u7247\u9762\u79ef\u3002\u6216\u8005\u5728\u6240\u89c4\u5b9a\u7684\u9762\u79ef\u4e0b\uff0c\u662f\u8bbe\u8ba1\u7684\u65f6\u5e8f\u4f59\u91cf\u66f4\u5927\uff0c\u9891\u7387\u8dd1\u7684\u66f4\u9ad8\u3002\u8fd9\u4e24\u79cd\u76ee\u6807\u5145\u5206\u4f53\u73b0\u4e86\u9762\u79ef\u548c\u901f\u5ea6\u7684\u5e73\u8861\u7684\u601d\u60f3\u3002<\/p>\n \n\t\u4f5c\u4e3a\u77db\u76fe\u7684\u4e24\u4e2a\u7ec4\u6210\u90e8\u5206\uff0c\u9762\u79ef\u548c\u901f\u5ea6\u7684\u5730\u4f4d\u662f\u4e0d\u4e00\u6837\u7684\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u6ee1\u8db3\u65f6\u5e8f\u3001\u5de5\u4f5c\u9891\u7387\u7684\u8981\u6c42\u66f4\u91cd\u8981\u4e00\u4e9b\uff0c\u5f53\u4e24\u8005\u51b2\u7a81\u65f6\uff0c\u91c7\u7528\u901f\u5ea6\u4f18\u5148\u7684\u51c6\u5219\u3002<\/p>\n \n\t\u4ece\u7406\u8bba\u4e0a\u8bb2\uff0c\u5982\u679c\u4e00\u4e2a\u8bbe\u8ba1\u65f6\u5e8f\u4f59\u91cf\u8f83\u5927\uff0c\u6240\u80fd\u8dd1\u7684\u901f\u5ea6\u8fdc\u8fdc\u9ad8\u4e8e\u8bbe\u8ba1\u8981\u6c42\uff0c\u90a3\u4e48\u5c31\u901a\u8fc7\u529f\u80fd\u6a21\u5757\u7684\u590d\u7528\u6765\u51cf\u5c11\u6574\u4e2a\u8bbe\u8ba1\u6d88\u8017\u7684\u82af\u7247\u9762\u79ef\uff0c\u8fd9\u5c31\u662f\u7528\u901f\u5ea6\u7684\u4f18\u52bf\u6362\u53d6\u9762\u79ef\u7684\u8282\u7ea6\u3002\u53cd\u4e4b\uff0c\u5982\u679c\u4e00\u4e2a\u8bbe\u8ba1\u7684\u65f6\u5e8f\u8981\u6c42\u5f88\u9ad8\uff0c\u666e\u901a\u65b9\u6cd5\u8fbe\u4e0d\u5230\u8bbe\u8ba1\u9891\u7387\uff0c\u90a3\u4e48\u4e00\u822c\u53ef\u4ee5\u901a\u8fc7\u5c06\u6570\u636e\u6d41\u4e32\u5e76\u8f6c\u6362\uff0c\u5e76\u884c\u590d\u5236\u591a\u4e2a\u64cd\u4f5c\u6a21\u5757\uff0c\u5bf9\u6574\u4e2a\u8bbe\u8ba1\u91c7\u53d6\u4e52\u4e53\u64cd\u4f5c\u548c\u4e32\u5e76\u8f6c\u6362\u7684\u601d\u60f3\u8fd0\u884c\u3002<\/p>\n \n\t2.\u786c\u4ef6\u539f\u5219<\/p>\n \n\t\u786c\u4ef6\u539f\u5219\u4e3b\u8981\u9488\u5bf9HDL\u4ee3\u7801\u7f16\u5199\u800c\u8a00<\/p>\n \n\tVerilog<\/u> \u662f\u91c7\u7528\u4e86C\u8bed\u8a00\u5f62\u5f0f\u7684\u786c\u4ef6\u7684\u62bd\u8c61\uff0c\u5b83\u7684\u672c\u8d28\u4f5c\u7528\u5728\u4e8e\u63cf\u8ff0\u786c\u4ef6\uff01\u5b83\u7684\u6700\u7ec8\u5b9e\u73b0\u7ed3\u679c\u662f\u82af\u7247\u5185\u90e8\u7684\u5b9e\u9645\u7535\u8def<\/u>\u3002\u6240\u4ee5\u8bc4\u5224\u4e00\u6bb5HDL\u4ee3\u7801\u7684\u4f18\u52a3\u7684\u6700\u7ec8\u6807\u51c6\u662f\uff1a\u5176\u63cf\u8ff0\u5e76\u5b9e\u73b0\u7684\u786c\u4ef6\u7535\u8def\u7684\u6027\u80fd\u3002\u5305\u62ec\u9762\u79ef\u548c\u901f\u5ea6\u4e24\u4e2a\u65b9\u9762\u3002\u8bc4\u4ef7\u4e00\u4e2a\u8bbe\u8ba1\u7684\u4ee3\u7801\u6c34\u5e73\u8f83\u9ad8\uff0c\u4ec5\u4ec5\u662f\u8bf4\u8fd9\u4e2a\u8bbe\u8ba1\u662f\u7531\u786c\u4ef6\u60f3HDL\u4ee3\u7801\u8fd9\u79cd\u8868\u73b0\u5f62\u5f0f\u7684\u8f6c\u6362\u66f4\u52a0\u6d41\u7545\u3001\u5408\u7406\u3002\u800c\u4e00\u4e2a\u8bbe\u8ba1\u6700\u7ec8\u6027\u80fd\uff0c\u5728\u66f4\u5927\u7a0b\u5ea6\u4e0a\u53d6\u51b3\u4e8e\u8bbe\u8ba1\u5de5\u7a0b\u5e08\u6240\u6784\u60f3\u7684\u786c\u4ef6\u5b9e\u73b0\u65b9\u6848\u7684\u6548\u7387\u4ee5\u53ca\u5408\u7406\u6027\u3002\uff08HDL\u4ee3\u7801\u4ec5\u4ec5\u662f\u786c\u4ef6\u8bbe\u8ba1\u7684\u8868\u8fbe\u5f62\u5f0f\u4e4b\u4e00\uff09<\/p>\n \n\t\u521d\u5b66\u8005\uff0c\u7247\u9762\u8ffd\u6c42\u4ee3\u7801\u7684\u6574\u6d01\u3001\u7b80\u77ed\uff0c\u662f\u9519\u8bef\u7684\u3002\u662f\u4e0eHDL\u7684\u6807\u51c6\u80cc\u9053\u800c\u9a70\u7684\u3002\u6b63\u786e\u7684\u7f16\u7801\u65b9\u6cd5\uff0c\u9996\u5148\u8981\u505a\u5230\u5bf9\u6240\u9700\u5b9e\u73b0\u7684\u786c\u4ef6\u7535\u8def\u80f8\u6709\u6210\u7af9\uff0c\u5bf9\u8be5\u90e8\u5206\u7684\u786c\u4ef6\u7684\u7ed3\u6784\u548c\u8fde\u63a5\u5341\u5206\u6e05\u6670\uff0c\u7136\u540e\u518d\u7528\u9002\u5f53\u7684HDL\u8bed\u53e5\u8868\u8fbe\u51fa\u6765\u5373\u53ef\u3002<\/p>\n \n\t\u53e6\u5916\uff0cVerilog\u4f5c\u4e3a\u4e00\u79cdHDL\u8bed\u8a00\uff0c\u662f\u5206\u5c42\u6b21\u7684\u3002\u7cfb\u7edf\u7ea7--\u7b97\u6cd5\u7ea7--\u5bc4\u5b58\u5668<\/u>\u4f20\u8f93\u7ea7--\u903b\u8f91\u7ea7--\u95e8\u7ea7--\u5f00\u5173<\/u>\u7ea7\u3002<\/p>\n \n\t\u6784\u5efa\u4f18\u5148\u7ea7\u6811\u4f1a\u6d88\u8017\u5927\u91cf\u7684\u7ec4\u5408\u903b\u8f91\uff0c\u6240\u4ee5\u5982\u679c\u80fd\u591f\u4f7f\u7528case\u7684\u5730\u65b9\uff0c\u5c3d\u91cf\u4f7f\u7528case\u4ee3\u66ffif<\/u>.....else......<\/p>\n \n\t3.\u7cfb\u7edf\u539f\u5219<\/p>\n \n\t\u7cfb\u7edf\u539f\u5219\u5305\u542b\u4e24\u4e2a\u5c42\u6b21\u7684\u542b\u4e49\uff1a\u66f4\u9ad8\u5c42\u9762\u4e0a\u770b\uff0c\u662f\u4e00\u4e2a\u786c\u4ef6\u7cfb\u7edf\uff0c\u4e00\u5757\u5355\u677f\u5982\u4f55\u8fdb\u884c\u6a21\u5757\u82b1\u8d39\u548c\u4efb\u52a1\u5206\u914d\uff0c\u4ec0\u4e48\u6837\u7684\u7b97\u6cd5\u548c\u529f\u80fd\u9002\u5408\u653e\u5728FPGA\u91cc\u9762\u5b9e\u73b0\uff0c\u4ec0\u4e48\u6837\u7684\u7b97\u6cd5\u548c\u529f\u80fd\u9002\u5408\u653e\u5728DSP<\/u>\uff0cCPU<\/u>\u91cc\u9762\u5b9e\u73b0\uff0c\u4ee5\u53caFPGA\u7684\u89c4\u6a21\u4f30\u7b97\u6570\u636e\u63a5\u53e3<\/u>\u8bbe\u8ba1\u7b49\u3002\u5177\u4f53\u5230FPGA\u8bbe\u8ba1\u5c31\u8981\u5bf9\u8bbe\u8ba1\u7684\u5168\u5c40\u6709\u4e2a\u5b8f\u89c2\u4e0a\u7684\u5408\u7406\u5b89\u6392\uff0c\u6bd4\u5982\u65f6\u949f\u57df\uff0c\u6a21\u5757\u590d\u7528\uff0c\u7ea6\u675f\uff0c\u9762\u79ef\uff0c\u901f\u5ea6\u7b49\u95ee\u9898\u3002\u5728\u7cfb\u7edf\u4e0a\u6a21\u5757\u7684\u4f18\u5316\u6700\u4e3a\u91cd\u8981\u3002<\/p>\n \n\t\u4e00\u822c\u6765\u8bf4\u5b9e\u65f6\u6027\u8981\u6c42\u9ad8\uff0c\u9891\u7387\u5feb\u7684\u529f\u80fd\u6a21\u5757\u9002\u5408FPGA\u5b9e\u73b0\u3002\u800cFPGA\u548cCPLD\u76f8\u6bd4\uff0c\u66f4\u9002\u5408\u5b9e\u73b0\u89c4\u6a21\u8f83\u5927\uff0c\u9891\u7387\u8f83\u9ad8\u3001\u5bc4\u5b58\u5668\u8f83\u591a\u7684\u8bbe\u8ba1\u3002\u4f7f\u7528FPGA\/CPLD\u8bbe\u8ba1\u65f6\uff0c\u5e94\u8be5\u5bf9\u82af\u7247\u5185\u90e8\u7684\u5404\u79cd\u5e95\u5c42\u786c\u4ef6\u8d44\u6e90\uff0c\u548c\u53ef\u7528\u7684\u8bbe\u8ba1\u8d44\u6e90\u6709\u4e00\u4e2a\u8f83\u6df1\u523b\u7684\u8ba4\u8bc6\u3002\u6bd4\u5982FPGA\u4e00\u822c\u89e6\u53d1\u5668\u8d44\u6e90\u4e30\u5bcc\uff0cCPLD\u7684\u7ec4\u5408\u903b\u8f91\u8d44\u6e90\u66f4\u52a0\u4e30\u5bcc\u3002FPGA\/CPLD\u4e00\u822c\u662f\u7531\u5e95\u5c42\u53ef\u7f16\u7a0b\u786c\u4ef6\u5355\u5143\uff0cBRAM<\/u>\uff0c\u5e03\u7ebf<\/u>\u8d44\u6e90\uff0c\u53ef\u914d\u7f6eIO\u5355\u5143\uff0c\u65f6\u949f\u8d44\u6e90\u7b49\u6784\u6210\u3002\u5e95\u5c42\u53ef\u7f16\u7a0b\u786c\u4ef6\u5355\u5143\u4e00\u822c\u7531\u89e6\u53d1\u5668\u548c\u67e5\u627e\u8868\u7ec4\u6210\u3002Xilinx\u7684\u5e95\u5c42\u53ef\u7f16\u7a0b\u786c\u4ef6\u8d44\u6e90\u8f83SLICE\uff0c\u7531\u4e24\u4e2aFF\u548c2\u4e2aLUT\u6784\u6210\u3002Altera<\/u> \u7684\u5e95\u5c42\u786c\u4ef6\u8d44\u6e90\u53ebLE\uff0c\u75311\u4e2aFF\u548c1\u4e2aLUT\u6784\u6210\u3002<\/p>\n \n\t\u4f7f\u7528\u7247\u5185RAN\u53ef\u4ee5\u5b9e\u73b0\u5355\u53e3RAM\uff0c\u53cc\u53e3RAM\uff0c\u540c\u6b65\u3001\u5f02\u6b65FIFO\uff0cROM<\/u>\uff0cCAM\u7b49\u5e38\u7528\u5355\u5143\u6a21\u5757\u3002<\/p>\n \n\t\u4e00\u822c\u7684FPGA\u7cfb\u7edf\u89c4\u5212\u7684\u7b80\u5316\u6d41\u7a0b<\/p>\n \n\t<\/p>\n \n\t<\/p>\n \n\t4.\u540c\u6b65\u8bbe\u8ba1\u539f\u5219<\/p>\n \n\t\u5f02\u6b65\u7535\u8def<\/p>\n \n\t\u7535\u8def\u7684\u903b\u8f91\u6838\u5fc3\u662f\u7528\u7ec4\u5408\u903b\u8f91\u7535\u8def\u5b9e\u73b0\u3002\u6bd4\u5982\u5f02\u6b65\u7684FIFO\/RAM\u8bfb\u5199\u4fe1\u53f7\uff0c\u5730\u5740\u8bd1\u7801\u7b49\u7535\u8def\u3002\u7535\u8def\u7684\u4e3b\u8981\u4fe1\u53f7\u3001\u8f93\u51fa\u4fe1\u53f7\u7b49\u5e76\u4e0d\u4f9d\u8d56\u4e8e\u4efb\u4f55\u4e00\u4e2a\u65f6\u949f\u6027\u4fe1\u53f7\uff0c\u4e0d\u662f\u7531\u65f6\u949f\u4fe1\u53f7\u9a71\u52a8FF\u4ea7\u751f\u7684\u3002<\/p>\n \n\t\u5f02\u6b65\u65f6\u5e8f\u7535\u8def\u7684\u6700\u5927\u7f3a\u70b9\u662f\u5bb9\u6613\u4ea7\u751f\u6bdb\u523a<\/u>\u3002\u5728\u5e03\u5c40\u5e03\u7ebf\u540e\u4eff\u771f\u548c\u7528\u903b\u8f91\u5206\u6790\u4eea\u89c2\u6d4b\u5b9e\u9645\u4fe1\u53f7\u65f6\uff0c\u8fd9\u79cd\u6bdb\u523a\u5c24\u5176\u660e\u663e\u3002<\/p>\n \n\t\u540c\u6b65\u65f6\u5e8f <\/p>\n \n\t\u7535\u8def\u7684\u6838\u5fc3\u903b\u8f91\u7528\u5404\u79cd\u5404\u6837\u7684\u89e6\u53d1\u5668\u5b9e\u73b0<\/p>\n \n\t\u7535\u8def\u7684\u4e3b\u8981\u4fe1\u53f7\u3001\u8f93\u51fa\u4fe1\u53f7\u90fd\u662f\u7531\u67d0\u4e2a\u65f6\u949f\u6cbf\u9a71\u52a8\u89e6\u53d1\u5668\u4ea7\u751f\u51fa\u6765\u7684\u3002<\/p>\n \n\t\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u53ef\u4ee5\u5f88\u597d\u7684\u907f\u514d\u6bdb\u523a\u3002\u5e03\u5c40\u5e03\u7ebf\u540e\u4eff\u771f\uff0c\u548c\u7528\u903b\u8f91\u5206\u6790\u4eea\u91c7\u6837\u5b9e\u9645\u5de5\u4f5c\u4fe1\u53f7\u90fd\u6ca1\u6709\u6bdb\u523a\u3002<\/p>\n \n\t\u662f\u5426\u65f6\u5e8f\u7535\u8def\u4e00\u5b9a\u6bd4\u5f02\u6b65\u7535\u8def\u4f7f\u7528\u66f4\u591a\u7684\u8d44\u6e90\u5462\uff1f<\/p>\n \n\t\u4ece\u5355\u7eaf\u7684ASCI\u8bbe\u8ba1\u6765\u770b\uff0c\u5927\u7ea6\u9700\u89817\u4e2a\u95e8\u6765\u5b9e\u73b0\u4e00\u4e2aD\u89e6\u53d1\u5668\uff0c\u800c\u4e00\u4e2a\u95e8\u5373\u53ef\u5b9e\u73b0\u4e00\u4e2a2\u8f93\u5165\u4e0e\u975e\u95e8\uff0c\u6240\u4ee5\u4e00\u822c\u6765\u8bf4\uff0c\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u6bd4\u5f02\u6b65\u7535\u8def\u5360\u7528\u66f4\u5927\u7684\u9762\u79ef\u3002\uff08FPGA\/CPLD\u4e2d\u4e0d\u540c\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5355\u5143\u5757\u7684\u8ba1\u7b97\u65b9\u5f0f\uff09<\/p>\n \n\t\u5982\u4f55\u5b9e\u73b0\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u7684\u5ef6\u65f6\uff1f<\/p>\n \n\t\u5f02\u6b65\u7535\u8def\u4ea7\u751f\u5ef6\u65f6\u7684\u4e00\u822c\u65b9\u6cd5\u662f\u63d2\u5165\u4e00\u4e2aBuffer\uff0c\u4e24\u7ea7\u4e0e\u975e\u95e8\u7b49\u3002\u8fd9\u79cd\u5ef6\u65f6\u8c03\u6574\u624b\u6bb5\u662f\u4e0d\u9002\u7528\u540c\u6b65\u65f6\u5e8f\u8bbe\u8ba1\u601d\u60f3\u7684\u3002\u9996\u5148\u8981\u660e\u786e\u4e00\u70b9HDL\u8bed\u6cd5\u4e2d\u7684\u5ef6\u65f6\u63a7\u5236\u8bed\u6cd5\uff0c\u662f\u884c\u4e3a\u7ea7\u7684\u4ee3\u7801\u63cf\u8ff0\uff0c\u5e38\u7528\u4e8e\u4eff\u771f\u6d4b\u8bd5<\/u>\u6fc0\u52b1\uff0c\u4f46\u662f\u5728\u7535\u8def\u7efc\u5408\u662f\u4f1a\u88ab\u5ffd\u7565\uff0c\u5e76\u4e0d\u80fd\u542f\u52a8\u5ef6\u65f6\u4f5c\u7528\u3002<\/p>\n \n\t\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u7684\u5ef6\u65f6\u4e00\u822c\u662f\u901a\u8fc7\u65f6\u5e8f\u63a7\u5236\u5b8c\u6210\u7684\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u7684\u5ef6\u65f6\u88ab\u5f53\u505a\u4e00\u4e2a\u7535\u8def\u903b\u8f91\u6765\u8bbe\u8ba1\u3002\u5bf9\u4e8e\u6bd4\u8f83\u5927\u7684\u548c\u7279\u6b8a\u5b9a\u65f6\u8981\u6c42\u7684\u5ef6\u65f6\uff0c\u4e00\u822c\u7528\u9ad8\u901f\u65f6\u949f\u4ea7\u751f\u4e00\u4e2a\u8ba1\u6570\u5668\uff0c\u901a\u8fc7\u8ba1\u6570\u5668\u7684\u8ba1\u6570\u63a7\u5236\u5ef6\u8fdf\uff1b\u5bf9\u4e8e\u6bd4\u8f83\u5c0f\u7684\u5ef6\u65f6\uff0c\u53ef\u4ee5\u7528D\u89e6\u53d1\u5668\u6253\u4e00\u4e0b\uff0c\u8fd9\u79cd\u505a\u6cd5\u4e0d\u4ec5\u4ec5\u4f7f\u4fe1\u53f7\u5ef6\u65f6\u4e86\u4e00\u4e2a\u65f6\u949f\u5468\u671f\uff0c\u800c\u4e14\u5b8c\u6210\u4e86\u4fe1\u53f7\u4e0e\u65f6\u949f\u7684\u521d\u6b21\u540c\u6b65\uff0c\u5728\u8f93\u5165\u4fe1\u53f7\u91c7\u6837\u548c\u589e\u52a0\u65f6\u5e8f\u7ea6\u675f\u4f59\u91cf\u4e2d\u4f7f\u7528\u3002<\/p>\n \n\t\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u7684\u65f6\u949f\u5982\u4f55\u4ea7\u751f\uff1f<\/p>\n \n\t\u65f6\u949f\u7684\u8d28\u91cf\u548c\u7a33\u5b9a\u6027\u76f4\u63a5\u51b3\u5b9a\u7740\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u7684\u6027\u80fd\u3002<\/p>\n \n\t\u8f93\u5165\u4fe1\u53f7\u7684\u540c\u6b65<\/p>\n \n\t\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u8981\u6c42\u5bf9\u8f93\u5165\u4fe1\u53f7\u8fdb\u884c\u540c\u6b65\u5316\uff0c\u5982\u679c\u8f93\u5165\u6570\u636e\u7684\u8282\u62cd\u548c\u672c\u7ea7\u82af\u7247\u7684\u5904\u7406\u65f6\u949f\u540c\u9891\uff0c\u5e76\u4e14\u5efa\u7acb\u4fdd\u6301\u65f6\u95f4\u5339\u914d\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528\u672c\u7ea7\u82af\u7247\u7684\u4e3b\u65f6\u949f\u5bf9\u8f93\u5165\u6570\u636e\u5bc4\u5b58\u5668\u91c7\u6837\uff0c\u5b8c\u6210\u8f93\u5165\u6570\u636e\u7684\u540c\u6b65\u5316\u3002\u5982\u679c\u8f93\u5165\u6570\u636e\u548c\u672c\u7ea7\u82af\u7247\u7684\u5904\u7406\u65f6\u949f\u662f\u5f02\u6b65\u7684\uff0c\u7279\u522b\u662f\u9891\u7387\u4e0d\u5339\u914d\u7684\u65f6\u5019\uff0c\u5219\u8981\u7528\u5904\u7406\u65f6\u949f\u5bf9\u8f93\u5165\u6570\u636e\u505a\u4e24\u6b21\u5bc4\u5b58\u5668\u91c7\u6837\uff0c\u624d\u80fd\u5b8c\u6210\u8f93\u5165\u6570\u636e\u7684\u540c\u6b65\u5316\u3002<\/p>\n \n\t\u662f\u4e0d\u662f\u5b9a\u4e49\u4e3aReg\u578b\uff0c\u5c31\u4e00\u5b9a\u7efc\u5408\u6210<\/u>\u5bc4\u5b58\u5668\uff0c\u5e76\u4e14\u662f\u540c\u6b65\u65f6\u5e8f\u7535\u8def\u5462\uff1f<\/p>\n \n\t\u7b54\u6848\u7684\u5426\u5b9a\u7684\u3002Verilog\u4e2d\u6700\u5e38\u7528\u7684\u4e24\u79cd\u6570\u636e\u7c7b\u578bWire\u548cReg\uff0c\u4e00\u822c\u6765\u8bf4\uff0cWire\u578b\u6307\u5b9a\u4e66\u6570\u636e\u548c\u7f51\u7ebf<\/u>\u901a\u8fc7\u7ec4\u5408\u903b\u8f91\u5b9e\u73b0\uff0c\u800creg\u578b\u6307\u5b9a\u7684\u6570\u636e\u4e0d\u4e00\u5b9a\u5c31\u662f\u7528\u5bc4\u5b58\u5668\u5b9e\u73b0\u3002<\/p>\n \n\t5.\u4e52\u4e53\u64cd\u4f5c<\/p>\n \n\t\u4e52\u4e53\u64cd\u4f5c\u662f\u4e00\u4e2a\u5e38\u5e38\u5e94\u7528\u4e8e\u6570\u636e\u6d41\u63a7\u5236\u7684\u5904\u7406\u6280\u5de7\u3002<\/p>\n \n\t<\/p>\n \n\t\u6570\u636e\u7f13\u51b2\u6a21\u5757\u53ef\u4ee5\u4e3a\u4efb\u4f55\u7684\u5b58\u50a8<\/u>\u6a21\u5757\uff0c\u6bd4\u8f83\u5e38\u7528\u7684\u5b58\u50a8\u6a21\u5757\u4e3a\u53cc\u53e3RAM(DPRAM),\u5355\u53e3RAM\uff08SPRAM\uff09\uff0cFIFO\u7b49\u3002\u5728\u7b49\u4e00\u4e2a\u7f13\u51b2\u5468\u671f\uff0c\u5c06\u8f93\u5165\u7684\u6570\u636e\u6d41\u7f13\u5b58\u5230\u6570\u636e\u7f13\u5b58\u6a21\u57571\uff0c\u5728\u7b2c\u4e8c\u4e2a\u7f13\u51b2\u5468\u671f\uff0c\u901a\u8fc7\u8f93\u5165\u6570\u636e\u6d41\u9009\u62e9\u5355\u5143\uff0c\u5c06\u8f93\u5165\u7684\u6570\u636e\u6d41\u7f13\u5b58\u5230\u6570\u636e\u7f13\u51b2\u6a21\u57572.\u4e52\u4e53\u64cd\u4f5c\u7684\u6700\u5927\u7279\u70b9\u662f\uff0c\u901a\u8fc7\u8f93\u5165\u6570\u636e\u9009\u62e9\u5355\u5143\u548c\u8f93\u51fa\u6570\u636e\u9009\u62e9\u5355\u5143\uff0c\u8fdb\u884c\u8fd0\u7b97\u548c\u5904\u7406\u3002\u628a\u4e52\u4e53\u64cd\u4f5c\u6a21\u5757\u5f53\u6210\u4e00\u4e2a\u6574\u4f53\uff0c\u7ad9\u5728\u4e24\u7aef\u770b\u6570\u636e\uff0c\u8f93\u5165\u6570\u636e\u548c\u8f93\u51fa\u6570\u636e\u6d41\u90fd\u662f\u8fde\u7eed\u4e0d\u65ad\u7684\uff0c\u6ca1\u6709\u4efb\u4f55\u505c\u987f\uff0c\u56e0\u6b64\u975e\u5e38\u9002\u5408\u5bf9\u6570\u636e\u6d41\u8fdb\u884c\u6d41\u6c34\u7ebf\u5f0f\u5904\u7406\u3002\u6240\u4ee5\u4e52\u4e53\u64cd\u4f5c\u5e38\u5e38\u5e94\u7528\u4e8e\u6d41\u6c34\u7ebf\u5f0f\u7b97\u6cd5\uff0c\u5b8c\u6210\u6570\u636e\u7684\u65e0\u7f1d\u7f13\u51b2\u548c\u5904\u7406\u3002<\/p>\n \n\t\u4e52\u4e53\u64cd\u4f5c\u7684\u7b2c\u4e8c\u4e2a\u4f18\u70b9\u662f\u53ef\u4ee5\u8282\u7ea6\u7f13\u51b2\u533a\u7a7a\u95f4\u3002\u6bd4\u5982\u5728WCDMA<\/u>\u57fa\u5e26\u5e94\u7528\u4e2d\uff0c1\u5e27\u662f\u753115\u4e2a\u65f6\u9699\u7ec4\u6210\u7684\uff0c\u6709\u65f6\u9700\u8981\u5c061\u6574\u5e27\u7684\u6570\u636e\u5ef6\u65f6\u4e00\u4e2a\u65f6\u9699\u540e\u5904\u7406\uff0c\u6bd4\u8f83\u76f4\u63a5\u7684\u65b9\u6cd5\u5c31\u662f\u5c06\u8fd9\u5e27\u6570\u636e\u7f13\u5b58\u8d77\u6765\uff0c\u7136\u540e\u5ef6\u65f6\u4e00\u4e2a\u65f6\u9699\uff0c\u8fdb\u884c\u5904\u7406\u3002\u8fd9\u65f6\u7f13\u51b2\u533a\u7684\u957f\u5ea6\u4e3a1\u5e27\u7684\u6570\u636e\u957f\uff0c\u5047\u8bbe\u6570\u636e\u901f\u7387\u662f3.84Mb\/s\uff0c1\u5e2710ms\uff0c\u6b64\u65f6\u9700\u8981\u7f13\u51b2\u533a\u7684\u957f\u5ea6\u662f38400bit\uff0c\u5982\u679c\u91c7\u7528\u4e52\u4e53\u64cd\u4f5c\uff0c\u53ea\u9700\u5b9a\u4e49\u4e24\u4e2a\u7f13\u51b21\u65f6\u9699\u7684\u6570\u636eRAM\uff0c\u5f53\u5411\u4e00\u4e2aRAM\u5199\u6570\u636e\u65f6\uff0c\u4ece\u53e6\u4e00\u5757RAM\u8bfb\u6570\u636e\uff0c\u7136\u540e\u9001\u5230\u5904\u7406\u5355\u5143\u5904\u7406\uff0c\u6b64\u65f6\u6bcf\u5757RAM\u7684\u5bb9\u91cf\u4ec5\u97002560bit\uff0c2\u5757\u52a0\u8d77\u67655120bit\u7684\u5bb9\u91cf\u3002<\/p>\n \n\t\u5de7\u5999\u7684\u8fd0\u7528\u4e52\u4e53\u64cd\u4f5c\uff0c\u8fd8\u53ef\u4ee5\u8fbe\u5230\u4f4e\u901f\u6a21\u5757\u5904\u7406\u9ad8\u901f\u6570\u636e\u6d41\u7684\u6548\u679c\u3002<\/p>\n \n\t<\/p>\n \n\t6.\u4e32\u5e76\u8f6c\u6362<\/p>\n \n\t<\/p>\n \n\t7.\u6d41\u6c34\u7ebf\u64cd\u4f5c<\/p>\n \n\t\u6d41\u6c34\u7ebf\u5904\u7406\u662f\u9ad8\u901f\u8bbe\u8ba1\u4e2d\u4e00\u4e2a\u5e38\u7528\u7684\u8bbe\u8ba1\u624b\u6bb5\u3002\u5982\u679c\u67d0\u4e2a\u8bbe\u8ba1\u7684\u5904\u7406\u6d41\u7a0b\u5206\u4e3a\u82e5\u5e72\u6b65\u9aa4\uff0c\u800c\u4e14\u6574\u4e2a\u6570\u636e\u5904\u7406\u662f\u5355\u6d41\u5411\u7684\u3002\u5219\u53ef\u4ee5\u8003\u8651\u91c7\u7528\u6d41\u6c34\u7ebf\u8bbe\u8ba1\u65b9\u6cd5\u63d0\u9ad8\u7cfb\u7edf\u7684\u5de5\u4f5c\u9891\u7387\u3002<\/p>\n \n\t<\/p>\n \n\t\u5176\u57fa\u672c\u7ed3\u6784\u4e3a\uff1a\u5c06\u9002\u5f53\u5212\u5206\u7684n\u4e2a\u64cd\u4f5c\u6b65\u9aa4\u5355\u6d41\u5411\u4e32\u8054\u8d77\u6765\u3002\u6d41\u6c34\u7ebf\u64cd\u4f5c\u7684\u6700\u5927\u7279\u70b9\u548c\u8981\u6c42\u662f\uff0c\u6570\u636e\u5728\u5404\u4e2a\u6b65\u9aa4\u7684\u5904\u7406\uff0c\u4ece\u65f6\u95f4\u4e0a\u662f\u8fde\u7eed\u7684\uff0c\u5982\u679c\u5c06\u6bcf\u4e2a\u64cd\u4f5c\u6b65\u9aa4\u7b80\u5316\u5047\u8bbe\u4e3a\u4e00\u4e2a\u901a\u8fc7D\u89e6\u53d1\u5668\uff08\u5c31\u662f\u7528\u5bc4\u5b58\u5668\u6253\u4e00\u4e2a\u8282\u62cd\uff09\uff0c\u90a3\u4e48\u6d41\u6c34\u7ebf\u64cd\u4f5c\u5c31\u7c7b\u4f3c\u4e00\u4e2a\u79fb\u4f4d\u5bc4\u5b58\u5668\u7ec4\uff0c\u6570\u636e\u6d41\u4f9d\u6b21\u6d41\u7ecfD\u89e6\u53d1\u5668\uff0c\u5b8c\u6210\u6bcf\u4e2a\u6b65\u9aa4\u7684\u64cd\u4f5c\u3002\u6d41\u6c34\u7ebf\u8bbe\u8ba1\u65f6\u5e8f\u56fe\u5982\u4e0b\uff1a<\/p>\n \n\t<\/p>\n \n\t\u6d41\u6c34\u7ebf\u8bbe\u8ba1\u7684\u5173\u952e\u5728\u4e8e\uff0c\u6574\u4e2a\u8bbe\u8ba1\u65f6\u5e8f\u7684\u5408\u7406\u5b89\u6392\u3002\u8981\u6c42\u6bcf\u4e2a\u64cd\u4f5c\u6b65\u9aa4\u7684\u5212\u5206\u5408\u7406\u3002\u5982\u679c\u524d\u7ea7\u64cd\u4f5c\u65f6\u95f4\u6070\u597d\u7b49\u4e8e\u540e\u7ea7\u64cd\u4f5c\u65f6\u95f4\uff0c\u8bbe\u8ba1\u6700\u4e3a\u7b80\u5355\uff0c\u524d\u7ea7\u7684\u8f93\u51fa\u76f4\u63a5\u6c47\u5165\u540e\u7ea7\u7684\u8f93\u5165\u5373\u53ef\u3002\u5982\u679c\u524d\u7ea7\u64cd\u4f5c\u65f6\u95f4\u5927\u4e8e\u540e\u7ea7\u64cd\u4f5c\u65f6\u95f4\uff0c\u5219\u9700\u8981\u8fdb\u884c\u9002\u5f53\u7f13\u5b58\u3002\u5982\u679c\u524d\u7ea7\u64cd\u4f5c\u65f6\u95f4\u5c0f\u4e8e\u540e\u7ea7\u64cd\u4f5c\u65f6\u95f4\uff0c\u5219\u5fc5\u987b\u901a\u8fc7\u590d\u5236\u903b\u8f91\uff0c\u5c06\u6570\u636e\u6d41\u5206\u6d41\uff0c\u6216\u5728\u524d\u7ea7\u5bf9\u6570\u636e\u91c7\u7528\u5b58\u50a8\u3001\u540e\u5904\u7406\u7684\u65b9\u5f0f\u3002\u5426\u5219\u4f1a\u9020\u6210\u540e\u7ea7\u6570\u636e\u7684\u6ea2\u51fa\u3002<\/p>\n \n\t8.\u6570\u636e\u63a5\u53e3\u7684\u540c\u6b65\u65b9\u6cd5<\/p>\n \n\t\u6570\u636e\u63a5\u53e3\u7684\u540c\u6b65\u5728FPGA\/CPLD\u8bbe\u8ba1\u4e2d\u4e00\u4e2a\u5e38\u89c1\u95ee\u9898\u3002\u5f88\u591a\u8bbe\u8ba1\u5de5\u4f5c\u4e0d\u7a33\u5b9a\u90fd\u662f\u6e90\u4e8e\u6570\u636e\u63a5\u53e3\u7684\u540c\u6b65\u95ee\u9898\u3002<\/p>\n \n\t1.\u8f93\u5165\u8f93\u51fa\u7684\u5ef6\u65f6\u4e0d\u53ef\u6d4b\uff0c\u6216\u8005\u53ef\u80fd\u6709\u53d8\u52a8\uff0c\u5982\u4f55\u5b8c\u6210\u6570\u636e\u7684\u540c\u6b65\uff1f<\/p>\n \n\t\u5bf9\u4e8e\u6570\u636e\u5ef6\u8fdf\u4e0d\u53ef\u6d4b\u6216\u8005\u53d8\u52a8\uff0c\u5c31\u9700\u8981\u5efa\u7acb\u540c\u6b65\u673a\u5236\u3002\u6216\u8005\u7528\u4e00\u4e2a\u540c\u6b65\u4f7f\u80fd\uff0c\u6216\u8005\u540c\u6b65\u6307\u793a\u4fe1\u53f7\u3002\u53e6\u5916\u4f7f\u6570\u636e\u901a\u8fc7RAM\u6216\u8005FIFO\u7684\u5b58\u53d6\uff0c\u4e5f\u53ef\u4ee5\u8fbe\u5230\u6570\u636e\u540c\u6b65\u7684\u76ee\u7684\u3002<\/p>\n \n\t\u628a\u6570\u636e\u5b58\u653e\u5728RAM\u6216FIFO\u7684\u65b9\u6cd5\u5982\u4e0b\uff0c\u5c06\u4e0a\u7ea7\u82af\u7247\u63d0\u4f9b\u7684\u6570\u636e\u968f\u8def\u65f6\u949f\u4f5c\u4e3a\u5199\u4fe1\u53f7\uff0c\u5c06\u6570\u636e\u5199\u5165RAM\u6216\u8005FIFO\uff0c\u7136\u540e\u4f7f\u7528\u672c\u7ea7\u65f6\u949f\u7684\u91c7\u6837\u65f6\u949f\uff08\u4e00\u822c\u662f\u6570\u636e\u5904\u7406\u7684\u4e3b\u65f6\u949f\uff09\uff0c\u5c06\u6570\u636e\u8bfb\u51fa\u6765\u5373\u53ef\u3002\u8fd9\u79cd\u505a\u6cd5\u7684\u5173\u952e\u662f\u6570\u636e\u5199\u5165RAM\u6216\u8005FIFO\u8981\u53ef\u9760\uff0c\u5982\u679c\u4f7f\u7528\u540c\u6b65RAM\u6216\u8005FIFO\uff0c\u5c31\u8981\u6c42\u6709\u4e00\u4e2a\u4e0e\u6570\u636e\u5ef6\u8fdf\u76f8\u5bf9\u5173\u7cfb\u56fa\u5b9a\u7684\u968f\u8def\u6307\u793a\u4fe1\u53f7\u3002<\/p>\n \n\t<\/p>\n","protected":false},"excerpt":{"rendered":" 1.\u9762\u79ef\u4e0e\u901f\u5ea6\u7684\u5e73\u8861\u4e0e\u4e92\u6362 \u8fd9\u91cc\u7684\u9762\u79ef\u6307\u4e00\u4e2a\u8bbe\u8ba1\u6d88\u8017 FPGA \/ CPLD \u7684\u903b\u8f91\u8d44\u6e90\u7684\u6570\u91cf\uff0c\u5bf9\u4e8eFPGA\u53ef\u4ee5\u7528\u6d88\u8017\u7684FF\uff08 \u89e6\u53d1\u5668 \uff09\u548cLUT\uff08\u67e5\u627e\u8868\uff09\u6765\u8861\u91cf\uff0c\u66f4\u4e00\u822c\u7684\u8861\u91cf\u65b9\u5f0f\u53ef\u4ee5\u7528\u8bbe\u8ba1\u6240\u5360\u7684\u7b49<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2871"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2871"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2871\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2871"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}