{"id":2216,"date":"2019-03-12T08:53:28","date_gmt":"2019-03-12T08:53:28","guid":{"rendered":""},"modified":"2019-03-12T16:53:54","modified_gmt":"2019-03-12T08:53:54","slug":"%e5%9f%ba%e4%ba%8efpga%e7%9a%84%e5%8a%a0%e5%af%86%e7%ae%97%e6%b3%95%e8%ae%be%e8%ae%a1%e6%96%b9%e6%a1%88%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2216","title":{"rendered":"\u57fa\u4e8eFPGA\u7684\u52a0\u5bc6\u7b97\u6cd5\u8bbe\u8ba1\u65b9\u6848\u8be6\u89e3"},"content":{"rendered":"
\n\t1 \u5f15\u8a00<\/p>\n
\n\t\u968f\u7740\u4fe1\u606f\u6280\u672f\u548c\u7f51\u7edc\u5316\u8fdb\u7a0b\u7684\u53d1\u5c55\uff0c\u7f51\u7edc\u901a\u4fe1\u5b89\u5168\u95ee\u9898\u65e5\u76ca\u7a81\u51fa\u3002\u73b0\u573a\u53ef\u7f16\u7a0b\u95e8\u9635\u5217\uff08FPGA<\/u>\uff09\u4ee5\u5176\u81ea\u8eab\u8bbe\u8ba1\u7075\u6d3b\u3001\u53ef\u9760\u6027\u9ad8\u7684\u4f18\u70b9\u5e7f\u6cdb\u5e94\u7528\u4e8e\u52a0\u5bc6\u9886\u57df\u3002\u786c\u4ef6\u5b9e\u73b0\u7684\u52a0\u5bc6\u7b97\u6cd5\u4e0d\u5360\u7528\u8ba1\u7b97\u673a\u8d44\u6e90\uff0e\u52a0\u5bc6\u8fc7\u7a0b\u5b8c\u5168\u4e0e\u5916\u90e8\u603b\u7ebf\u9694\u79bb\uff0c\u5177\u6709\u8f83\u9ad8\u7684\u6570\u636e\u4fdd\u62a4\u80fd\u529b\u3002\u7b97\u6cd5\u53ef\u7075\u6d3b\u6539\u53d8\uff0c\u5177\u6709\u8f83\u5f3a\u7684\u72ec\u7acb\u6027\u3002\u52a0\u5bc6\u673a\u7531\u5355\u7247\u673a<\/u>\uff0cFPGA\u548cEl\u901a\u4fe1\u63a5\u53e3\u7ec4\u6210\u3002FPGA\u5185\u90e8\u7b97\u6cd5\u7531VHDL\u8bed\u8a00\u7f16\u5199\u3002\u8be5\u7cfb\u7edf\u9002\u7528\u4e8e\u8981\u6c42\u6570\u636e\u5b89\u5168\u8f83\u9ad8\u7684\u573a\u5408\uff0c\u5176\u7ec8\u7aef\u53ef\u4e3a\u8ba1\u7b97\u673a\uff0c\u94f6\u884cPOS\u673a\u7b49\uff0c\u63d0\u4f9b\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u548c\u4fdd\u5bc6\u6027\u3002<\/p>\n \n\t2 \u6d41\u52a0\u5bc6\u89e3\u5bc6\u539f\u7406\u53ca\u7b97\u6cd5<\/p>\n \n\t2\uff0e1 \u6d41\u52a0\u5bc6\u89e3\u5bc6\u539f\u7406<\/p>\n \n\t\u6d41\u5bc6\u7801\u7531\u5bc6\u94a5\u548c\u5bc6\u7801\u7b97\u6cd5\u4e24\u90e8\u5206\u7ec4\u6210\uff0c\u5bc6\u94a5\u4e00\u822c\u5b58\u50a8\u5728\u52a0\u89e3\u5bc6\u8bbe\u5907\u5185\u90e8\uff0c\u5728\u6570\u636e\u4f20\u8f93\u524d\u5df2\u8bbe\u7f6e\u5b8c\u6210\u3002\u5bc6\u7801\u7b97\u6cd5\u5728\u8f83\u957f\u65f6\u95f4\u5185\u662f\u4e0d\u53d8\u7684\u3002\u5728\u540c\u6b65\u6d41\u5bc6\u7801\u4e2d\uff0c\u53ea\u8981\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u6709\u76f8\u540c\u7684\u5bc6\u94a5\u548c\u5185\u90e8\u72b6\u6001\uff0c\u5c31\u80fd\u4ea7\u751f\u76f8\u540c\u7684\u5bc6\u94a5\u6d41\u3002<\/p>\n \n\t\u6570\u636e\u4f20\u8f93\u65f6\uff0c\u52a0\u5bc6\u7aef\u548c\u89e3\u5bc6\u7aef\u4f7f\u7528\u540c\u4e00\u4e2a\u521d\u59cb\u5bc6\u94a5\uff0c\u52a0\u5bc6\u65f6\u5bc6\u7801\u6d41\u4e0e\u660e\u6587\u76f8\u5f02\u6216\u5f97\u5230\u5bc6\u6587\uff0c\u540c\u65f6\u6bcf\u9694\u4e00\u5b9a\u65f6\u95f4\u52a0\u5165\u540c\u6b65\u6570\u636e\uff1b\u89e3\u5bc6\u65f6\u4ee5\u540c\u6b65\u6a21\u5f0f\u4ea7\u751f\u7684\u5bc6\u6587\u4e0e\u5bc6\u7801\u6d41\u8fdb\u884c\u5f02\u6216\u5f97\u5230\u660e\u6587\uff0c\u540c\u6b65\u6a21\u5f0f\u91c7\u752863\u4f4dGold\u7801\u3002\u6574\u4e2a\u52a0\u89e3\u5bc6\u8fc7\u7a0b\u4e0e\u53d1\u9001\u6570\u636e\u683c\u5f0f\u5982\u56fe1\u6240\u793a\u3002\u5728\u53d1\u9001\u5bc6\u6587\u4e2d\u52a0\u5165\u521d\u59cb\u540c\u6b65\u7801\uff0c\u63a5\u6536\u7aef\u5229\u7528Gold\u7801\u7684\u4e09\u503c\u7279\u6027\u68c0\u6d4bGold\u7801\u5b9e\u73b0\u540c\u6b65\u6570\u636e\u3002\u5bf9\u63a5\u6536\u6570\u636e\u6d41\u548cGold\u7801\u505a\u4e92\u76f8\u5173\u8fd0\u7b97\uff0c\u76f8\u5173\u7ed3\u679c\u6ee1\u8db3Gold\u7801\u7684\u4e09\u503c\u7279\u6027\uff0c\u8bf4\u660e\u5f53\u524d\u6570\u636e\u6d41\u662f\u53d1\u9001\u7aef\u52a0\u5165\u7684\u540c\u6b65Gold\u7801\uff0e\u6807\u5fd7\u4e3a\u5bc6\u6587\u7684\u8d77\u59cb\uff0c\u7136\u540e\u8c03\u7528\u89e3\u5bc6\u7b97\u6cd5\u5bf9\u540e\u7eed\u7684\u5bc6\u6587\u89e3\u5bc6\uff0c\u6062\u590d\u4f20\u8f93\u7684\u6570\u636e\u3002<\/p>\n \n\t<\/p>\n \n\t2\uff0e2 A5\uff0f1\u7b97\u6cd5\u539f\u7406<\/p>\n \n\tA5\uff0f1\u5f15\u662fGSM\u79fb\u52a8\u901a\u4fe1\u4e2d\u6570\u636e\u4f20\u8f93\u7684\u6d41\u5bc6\u7801\u52a0\u5bc6\u7b97\u6cd5\u3002A5\uff0f1\u5bc6\u7801\u6d41\u4ea7\u751f\u5668\u751f\u6210\u7684\u5bc6\u7801\u4e0e\u660e\u6587\u6570\u636e\u5e27\u7684\u6bcf\u4e00\u4f4d\u76f8\u5f02\u6216\u5f97\u5230\u5bc6\u6587\u5e8f\u5217\u3002A5\uff0f1\u7b97\u6cd5\u75313\u4e2a\u4e0d\u540c\u957f\u5ea6\u7684\u7ebf\u6027\u53cd\u9988\u79fb\u4f4d\u5bc4\u5b58\u5668<\/u>R1\uff0cR2\uff0cR3\u7ec4\u6210\uff0c\u5176\u957f\u5ea6\u5206\u522b\u4e3a19\uff0c22\uff0c23\u4f4d\uff0c\u5176\u53cd\u9988\u7279\u5f81\u65b9\u7a0b\u5206\u522b\u4e3a\uff1ax18+x17+x16+x13+1\uff0cx22+x21+x20+x7+1\u3002\u7b97\u6cd5\u7684\u521d\u59cb\u5bc6\u94a5\u662f64\u4f4d\u5411\u91cf\u3002\u5bc6\u7801\u6d41\u8f93\u51fa\u4f4d\u4e3a3\u4e2a\u79fb\u4f4d\u5bc4\u5b58\u5668\u7684\u5f02\u6216\u8f93\u51fa\u3002\u79fb\u4f4d\u5bc4\u5b58\u5668\u7684\u4f7f\u80fd\u7531\u591a\u6570\u51fd\u6570\u63a7\u5236\u3002Rl\u7684\u7b2c8\u4f4d\u3001R2\u7684\u7b2c10\u4f4d\u3001R3\u7684\u7b2c10\u4f4d\u4e3a\u591a\u6570\u51fd\u6570\u6570\u636e\u8f93\u5165\uff0c\u5b83\u4eec\u51b3\u5b9a3\u4e2a\u79fb\u4f4d\u5bc4\u5b58\u5668\u7684\u79fb\u4f4d\u72b6\u51b5\u3002\u5728\u8fd93\u4e2a\u6570\u636e\u4f4d\u4e2d\uff0c\u5982\u679c\u6709\u4e24\u4e2a\u6216\u4e24\u4e2a\u4ee5\u4e0a\u7684\u90fd\u4e3a0\uff0c\u591a\u6570\u51fd\u6570\u503c\u5c31\u4e3a0\uff1b\u5982\u679c\u6709\u4e24\u4e2a\u6216\u4e24\u4e2a\u4ee5\u4e0a\u7684\u90fd\u4e3a1\uff0c\u591a\u6570\u51fd\u6570\u503c\u5c31\u4e3a1\u3002\u591a\u6570\u51fd\u6570\u8f93\u5165\u76843\u4e2a\u6570\u636e\u4f4d\u4e2d\u4e0e\u591a\u6570\u51fd\u6570\u503c\u76f8\u540c\uff0c\u76f8\u5e94\u7684\u79fb\u4f4d\u5bc4\u5b58\u5668\u5c31\u79fb\u4f4d\u3002A5\uff0f1\u7684\u786c\u4ef6\u5b9e\u73b0\u539f\u7406\u5982\u56fe2\u6240\u793a\u3002\u5bc6\u7801\u6d41\u7684\u4ea7\u751f\u5206\u4e24\u4e2a\u9636\u6bb5\uff0e\u7b2c\u4e00\u9636\u6bb5\u7ed9\u5bc4\u5b58\u5668\u88c5\u4eba64\u4f4d\u521d\u59cb\u503c\uff1b\u7b2c\u4e8c\u9636\u6bb5\u5219\u6839\u636e\u65f6\u949f<\/u>\u8282\u62cd\u548c\u4f7f\u80fd\u63a7\u5236\u4ea7\u751f\u5bc6\u7801\u6d41\u3002<\/p>\n \n\t<\/p>\n \n\t2\uff0e3 W7\u7b97\u6cd5\u539f\u7406<\/p>\n \n\tW7H\u7b97\u6cd5\u4e0eA5\uff0f1\u7b97\u6cd5\u5728\u7ed3\u6784\u539f\u7406\u4e0a\u6709\u76f8\u4f3c\u4e4b\u5904\u3002W7\u7b97\u6cd5\u75318\u4e2a\u7c7b\u4f3c\u4e8eA5\uff0f1\u7b97\u6cd5\u786c\u4ef6\u7ed3\u6784\u6a21\u5757\u5e76\u884c\u7ec4\u6210\uff0c\u6bcf\u4e00\u4e2a\u6a21\u5757\u90fd\u5305\u542b3\u4e2a\u7ebf\u6027\u53cd\u9988\u79fb\u4f4d\u5bc4\u5b58\u5668\u548c\u591a\u6570\u51fd\u6570\u3002\u4e0d\u540c\u7684\u662fw7\u7b97\u6cd5\u662f128\u4f4d\u7684\u521d\u59cb\u5bc6\u94a5\uff0c\u7ebf\u6027\u53cd\u9988\u79fb\u4f4d\u5bc4\u5b58\u5668\u7684\u957f\u5ea6\u56fe2 A5\uff0f1\u7b97\u6cd5\u7684\u786c\u4ef6\u5b9e\u73b0\u539f\u7406\u548c\u53cd\u9988\u7ed3\u6784\u90fd\u4e0d\u540c\u4e8eA5\uff0f1\u7b97\u6cd5\u30023\u4e2a\u7ebf\u6027\u53cd\u9988\u79fb\u4f4d\u5bc4\u5b58\u5668\u957f\u5ea6\u5206\u522b\u4e3a38\u300143\u300147\u4f4d\u30028\u4e2a\u5e76\u884c\u6a21\u5757\u91c7\u7528\u540c\u4e00\u521d\u59cb\u5bc6\u94a5\u3002\u4f46\u53cd\u9988\u7ed3\u6784\u548c\u591a\u6570\u51fd\u6570\u7684\u8f93\u5165\u4f4d\u5747\u5404\u4e0d\u76f8\u540c\u30028\u4e2a\u6a21\u5757\u7684\u8f93\u51fa\u7ec4\u62108\u4f4d\u5bc6\u7801\u6d41\uff0c\u52a0\u5bc6\u6548\u7387\u66f4\u9ad8\u3002\u5404\u7ebf\u6027\u79fb\u4f4d\u5bc4\u5b58\u5668\u7531\u56fa\u5b9a\u6570\u636e\u4f4d\u901a\u8fc7\u903b\u8f91\u4e0e\u4ea7\u751f1\u4f4d\u6570\u636e\uff0c\u518d\u5c06\u8be5\u4f4d\u6570\u636e\u4e0e\u6700\u9ad8\u4f4d\u8f93\u51fa\u5f02\u6216\uff0c\u6700\u540e\u5c063\u4e2a\u79fb\u4f4d\u5bc4\u5b58\u5668\u8f93\u51fa\u518d\u5f02\u6216\u8f93\u51fa\u4f5c\u4e3a\u672c\u5e76\u884c\u5757\u7684\u5bc6\u7801\u4f4d\u8f93\u51fa\u3002\u7531\u4e8e\u67098\u4e2a\u5e76\u884c\u5757\uff0c\u6700\u540e\u603b\u7684\u8f93\u51fa8 bit\uff0c\u53731\u5b57\u8282\u3002\u8bbe\u8ba1\u65f6\uff0c\u6bcf\u96948\u4e2a\u65f6\u949f\u5468\u671f\u8f93\u51fa\u4e00\u6b21\uff0c\u4fdd\u8bc1\u6570\u636e\u901f\u7387\u7684\u4e00\u81f4\u6027\u3002<\/p>\n \n\t3 \u7cfb\u7edf\u786c\u4ef6\u8bbe\u8ba1<\/p>\n \n\t\u8be5\u7cfb\u7edf\u786c\u4ef6\u8bbe\u8ba1\u7531\u5355\u7247\u673a\uff0cFPGA\u548cEl\u63a5121\u7b49\u7ec4\u6210\uff0c\u5982\u56fe3\u6240\u793a\u3002\u5355\u7247\u673a\u7528\u4e8e\u8f93\u5165\u7528\u6237\u521d\u59cb\u5bc6\u94a5\uff1bFPGA\u8d1f\u8d23\u5bc6\u94a5\u6d41\u4ea7\u751f\u4ee5\u53ca\u52a0\u89e3\u5bc6\uff1bE1\u63a5\u53e3\u5b9e\u73b0\u6570\u636e\u6d41\u7684\u53d1\u9001\u548c\u63a5\u6536\uff0c\u5b8c\u6210HDB3\u7801\u548cTTL\u7535\u5e73\u4e4b\u95f4\u7684\u8f6c\u6362\uff0c\u5b9e\u73b0\u901a\u4fe1\u63a5\u53e3\u5355\u5143\u548c\u534f\u8bae\u6570\u636e\u5904\u7406\u5355\u5143\u4e4b\u95f4\u7684\u5168\u53cc\u5de5\u901a\u4fe1\u3002<\/p>\n \n\t<\/p>\n \n\t\u7531\u4e8e\u901a\u4fe1\u94fe\u8def\u91c7\u7528E1\u6807\u51c6\uff0c\u8be5\u7cfb\u7edf\u8bbe\u8ba1\u7684\u5916\u90e8\u6570\u636e\u94fe\u8def\u63a5121\u91c7\u7528E1\u63a5\u53e3\uff0c\u9009\u7528\u63a5\u53e3\u5668\u4ef6DS21348\u3002DS21348\u652f\u6301El\u548cT1\u7ebf\u63a5\u53e3\u5355\u5143\uff0c\u901a\u8fc7\u5bc4\u5b58\u5668\u8bbe\u7f6e\u9009\u62e9E1\u7ebf\u63a5\u53e3\u5355\u5143\u3002DS21348\u53ef\u914d\u7f6e\u4e3a\u786c\u4ef6\u6a21\u5f0f\uff0c\u5b8c\u6210HDB3\u5230TTL\u3001TTL\u5230HDB3\u7684\u7535\u5e73\u8f6c\u6362\uff0c\u65f6\u949f\u540c\u6b65\u3001\u6570\u636e\u4fe1\u53f7\u683c\u5f0f\u8f6c\u6362\u4ee5\u53ca\u6570\u636e\u5e27\u5904\u7406\u3002\u8be5\u7cfb\u7edf\u53ef\u5e76\u884c\u5904\u7406\u4e24\u8def\u6570\u636e\uff0c\u4e00\u8def\u52a0\u5bc6\uff0c\u4e00\u8def\u89e3\u5bc6\uff0c\u5b9e\u73b0\u5168\u53cc\u5de5\u901a\u4fe1\u3002<\/p>\n \n\t\u7531\u4e8eTI<\/u>\u516c\u53f8\u7684MSP430<\/u>\u7cfb\u5217\u5fae\u5904\u7406\u5668\u5e73\u53f0\u5177\u6709\u4f4e\u529f\u8017\u548c\u5c0f\u4f53\u79ef\u7b49\u7279\u70b9\uff0c\u9002\u5408\u4fbf\u643a\u5f0f\u5e94\u7528\u573a\u5408\uff0c\u6240\u4ee5\u5355\u7247\u673a\u91c7\u7528MSP430\u7cfb\u5217\uff0c\u5e76\u901a\u8fc7SPI<\/u>\u63a5\u53e3\u5b9e\u73b0\u4e0eFPGA\u7684\u6570\u636e\u901a\u4fe1<\/u>\u3002\u5355\u7247\u673a\u5916\u63a5\u4e00\u952e\u76d8\uff0c\u7528\u4e8e\u8f93\u5165\u521d\u59cb\u5bc6\u94a5\u3002\u8003\u8651\u5230\u7528\u6237\u8f93\u5165\u5bc6\u94a5\u4f4d\u6570\u4e0d\u80fd\u5f88\u591a\uff0c\u53ef\u8bbe\u7f6e\u7b80\u77ed\u7684\u5bc6\u94a5\uff0c\u5e76\u5728\u5355\u7247\u673a\u5185\u90e8\u6269\u5c55\u81f3\u7b97\u6cd5\u6240\u9700\u7684\u4f4d\u6570\uff0c\u7136\u540e\u901a\u8fc7\u5355\u7247\u673aSPI\u63a5\u53e3\u4f20\u9001\u81f3FGPA\u3002SPI\u63a5\u53e3\u51714\u6761\u4fe1\u53f7\u7ebf\uff1a\u4e32\u884c\u65f6\u949f\uff08SCK\uff09\uff0c\u4e3b\u673a\u8f93\u51fa\uff0f\u4ece\u673a\u8f93\u5165\uff08MOSI\uff09\uff0c\u4e3b\u673a\u8f93\u5165\uff0f\u4ece\u673a\u8f93\u51fa\uff08MISO\uff09\uff0c\u4ece\u673a\u7247\u9009\uff08SS\uff09\u3002SPI\u63a5\u53e3\u53ef\u914d\u7f6e\u4e3a\u4e3b\u6216\u4ece\u6a21\u5f0f\u3002\u8bbe\u8ba1\u914d\u7f6e\u4e3a\u4e3b\u6a21\u5f0f\u3002\u5f53\u5355\u7247\u673a\u5411FPGA\u4f20\u8f93\u547d\u4ee4\u6216\u6570\u636e\u65f6\uff0c\u5e94\u7528SPIO\u6a21\u5f0f\u3002\u5f53\u7247\u9009\u4fe1\u53f7\u4e19\u62c9\u4f4e\uff0c\u5728\u6bcf\u4e2a\u65f6\u949f\uff08SCK\uff09\u7684\u4e0a\u5347\u6cbf\u53d1\u9001\u6570\u636e\uff0c\u65e0\u9700FPGA\u5411\u5355\u7247\u673a\u8f93\u4eba\u6570\u636e\uff0c\u6240\u4ee5\u4e0d\u4f7f\u7528MISO\u6570\u636e\u7ebf\u3002\u7247\u9009\u4fe1\u53f7SS\u4e0eFP-CA\u7684RAM<\/u>\u7684\u4f7f\u80fd\u76f8\u8fde\uff0c\u63a7\u5236\u6570\u636e\u8bfb\u5165\u3002\u5f53\u7528\u6237\u8f93\u4eba\u521d\u59cb\u5bc6\u94a5\u540e\uff0c\u7ecf\u8fc7\u6570\u636e\u6269\u5c55\uff0c\u4e0e\u7b97\u6cd5\u9009\u62e9\u6570\u636e\u901a\u8fc7SPI\u63a5\u53e3\u4f20\u9001\u81f3FPGA\u3002SPI\u63a5\u53e3\u65f6\u5e8f\u5982\u56fe4\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\tFPGA\u91c7\u7528CyeloneII\u7cfb\u5217\u4e2d\u7684EP20F256C6\uff0c\u8be5\u5668\u4ef6\u662f\u4f4e\u6210\u672c\u67b6\u6784FPGA\uff0c\u53ef\u63d0\u4f9b\u591a\u8fbe18 752\u4e2a\u903b\u8f91\u5355\u5143\uff0e152\u4e2a\u7528\u6237IO\uff0c239 616 bit\u7684\u5b58\u50a8\u4f4d\uff0c\u5bc6\u5ea6\u8d85\u8fc7CyeloneI FPGA\u76843\u500d\uff0c\u5b8c\u5168\u6ee1\u8db3\u7cfb\u7edf\u8bbe\u8ba1\u9700\u8981\u3002CycloneII FPGA\u5185\u90e8\u7684\u903b\u8f91\u8d44\u6e90\u53ef\u5b9e\u73b0\u590d\u6742\u5e94\u7528\u3002CyeloneII\u5668\u4ef6\u91c7\u7528\u7684\u4f4e\u6210\u672c\u4e32\u884c\u914d\u7f6e\u5668\u4ef6\uff0c\u8fd9\u79cd\u4e32\u884c\u914d\u7f6e\u5668\u4ef6\u6700\u5927\u53ef\u63d0\u4f9b64 Mbit\u7684nas<\/u>h\u5b58\u50a8\u5668\u3002\u6240\u4ee5\uff0c\u91c7\u7528EP20F256C6\u53ef\u9ad8\u6548\u5b8c\u6210\u7cfb\u7edf\u6838\u5fc3\u7b97\u6cd5\uff0c\u6709\u6548\u8282\u7ea6\u6210\u672c\u3002\u5176\u5185\u90e8\u7b97\u6cd5\u7531VHDL\u8bed\u8a00\u7f16\u7a0b\u5b9e\u73b0\u3002\u4e3b\u8981\u7a0b\u5e8f\u6a21\u5757\uff1a\u52a0\u89e3\u5bc6\u7b97\u6cd5\u6a21\u5757\uff08A5\uff0f1\u548cW7\uff09\u3001\u6570\u636e\u5b58\u50a8\u6a21\u5757\u3001\u540c\u6b65\u4ea7\u751f\u6a21\u5757\u3001\u540c\u6b65\u68c0\u6d4b\u6a21\u5757\u3002\u52a0\u5bc6\u548c\u89e3\u5bc6\u5404\u6709\u4e00\u5957\u72ec\u7acb\u7684\u6a21\u5757\u96c6\u5408\u3002\u5176\u4e2dA5\uff0f1\u7b97\u6cd5\u6a21\u5757\u7684VHDL\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n \n\t<\/p>\n \n\t<\/p>\n \n\t<\/p>\n \n\tFPGA\u7684\u6a21\u5757\u63a7\u5236\u7531\u4e24\u4e2a\u72ec\u7acb\u7684\u72b6\u6001\u673a\u7ec4\u6210\uff0c\u7528\u4e8e\u5904\u7406\u52a0\u5bc6\u7b97\u6cd5\u548c\u89e3\u5bc6\u7b97\u6cd5\uff0c\u5176\u72b6\u6001\u8f6c\u6362\u5982\u56fe5\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t\u7cfb\u7edf\u4e0a\u7535\u521d\u59cb\u5316\u540e\uff0c\u7531\u7528\u6237\u5411\u5355\u7247\u673a\u8f93\u5165\u521d\u59cb\u5bc6\u94a5\u548c\u7b97\u6cd5\u9009\u62e9\u6570\u636e\uff0c\u901a\u8fc7SPI\u63a5\u53e3\u9001\u5165FPGA\uff0cFPGA\u63a5\u6536\u5230\u5bc6\u94a5\u540e\u5c06\u521d\u59cb\u5bc6\u94a5\u4f20\u7ed9\u7b97\u6cd5\u6a21\u5757\uff0c\u7b97\u6cd5\u6a21\u5757\u521d\u59cb\u5316\u540e\u4ea7\u751f\u540c\u6b65Gold\u7801\uff0c\u5e76\u7b49\u5f85\u6570\u636e\uff0c\u5f53\u5f85\u52a0\u5bc6\u6570\u636e\u6709\u6548\u65f6\uff0c\u542f\u52a8\u52a0\u5bc6\u7b97\u6cd5\uff1b\u5f53\u6570\u636e\u65e0\u6548\u65f6\uff0c\u518d\u6b21\u8fdb\u5165\u7b49\u5f85\u6570\u636e\u72b6\u6001\u3002\u76f8\u5e94\u5730\uff0c\u89e3\u5bc6\u6a21\u5757\u5148\u68c0\u6d4b\u8d77\u59cb\u7684\u540c\u6b65Gold\u7801\uff0c\u68c0\u6d4b\u5230\u540e\uff0c\u5f53\u5f85\u89e3\u5bc6\u6570\u636e\u6709\u6548\u65f6\uff0c\u542f\u52a8\u89e3\u5bc6\u7b97\u6cd5\uff0c\u5f53\u5f85\u89e3\u5bc6\u6570\u636e\u65e0\u6548\u65f6\uff0c\u518d\u6b21\u8fdb\u5165\u7b49\u5f85\u6570\u636e\u72b6\u6001\u3002\u5982\u6b64\u5f80\u590d\uff0c\u5b8c\u6210\u6570\u636e\u7684\u52a0\u5bc6\u89e3\u5bc6\u8fc7\u7a0b\u3002\u5728\u5bc6\u94a5\u4f20\u8f93\u8fc7\u7a0b\u4e2d\uff0c\u7531\u4e8e\u4e24\u79cd\u7b97\u6cd5\u6240\u9700\u7684\u521d\u59cb\u5bc6\u94a5\u4f4d\u6570\u4e0d\u540c\uff0c\u5f53\u4f7f\u7528w7\u7b97\u6cd5\u65f6\uff0c\u521d\u59cb\u5bc6\u94a5\u5728\u9001\u5165FPGA\u4e2d\u540e\u8fd8\u9700\u4e8c\u6b21\u6269\u5c55\u8fbe\u5230\u6240\u9700\u7684\u4f4d\u6570\u3002<\/p>\n \n\t4 \u4eff\u771f\u4e0e\u5206\u6790<\/p>\n \n\t\u91c7\u7528Quartus<\/u>lI 8\uff0e0\u8f6f\u4ef6\u4eff\u771fFPGA\u529f\u80fd\u3002\u5171\u75284 865\u4e2a\u903b\u8f91\u5355\u5143\uff0c1 024 bit\u7684\u7247\u4e0a\u5b58\u50a8\u4f4d\uff0c\u65f6\u5e8f\u5206\u6790\u5f97\u5230\u6700\u5927\u5de5\u4f5c\u9891\u7387\u4e3a95\uff0e79 MHz\u3002\u4eff\u771f\u52a0\u5bc6\u65f6\u5e8f\u5982\u56fe6\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t5 \u7ed3\u8bba<\/p>\n \n\t\u901a\u8fc7\u5bf9\u6574\u4e2a\u8bbe\u8ba1\u7684\u8c03\u8bd5\u9a8c\u8bc1\uff0c\u7ed3\u679c\u6ee1\u8db3\u8bbe\u8ba1\u8981\u6c42\u3002\u6574\u4e2a\u7cfb\u7edf\u5177\u6709\u8f83\u9ad8\u7684\u5b89\u5168\u6027\u548c\u4fdd\u5bc6\u6027\uff0c\u53ef\u4e3a\u8981\u6c42\u901a\u4fe1\u5b89\u5168\u7684\u7f51\u7edc\u5e94\u7528\u63d0\u4f9b\u4e00\u79cd\u57fa\u4e8e\u786c\u4ef6\u7684\u52a0\u5bc6\u65b9\u5f0f\uff0c\u57fa\u4e8eFPGA\u7684\u52a0\u5bc6\u7b97\u6cd5\u8bbe\u8ba1\u5177\u6709\u5f88\u9ad8\u7684\u7075\u6d3b\u6027\uff0c\u5982\u679c\u91c7\u7528\u66f4\u52a0\u5148\u8fdb\u7684\u52a0\u5bc6\u7b97\u6cd5\uff0c\u53ef\u8fdb\u4e00\u6b65\u63d0\u9ad8\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u548c\u4fdd\u5bc6\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" 1 \u5f15\u8a00 \u968f\u7740\u4fe1\u606f\u6280\u672f\u548c\u7f51\u7edc\u5316\u8fdb\u7a0b\u7684\u53d1\u5c55\uff0c\u7f51\u7edc\u901a\u4fe1\u5b89\u5168\u95ee\u9898\u65e5\u76ca\u7a81\u51fa\u3002\u73b0\u573a\u53ef\u7f16\u7a0b\u95e8\u9635\u5217\uff08 FPGA \uff09\u4ee5\u5176\u81ea\u8eab\u8bbe\u8ba1\u7075\u6d3b\u3001\u53ef\u9760\u6027\u9ad8\u7684\u4f18\u70b9\u5e7f\u6cdb\u5e94\u7528\u4e8e\u52a0\u5bc6\u9886\u57df\u3002\u786c\u4ef6\u5b9e\u73b0\u7684\u52a0\u5bc6\u7b97\u6cd5\u4e0d\u5360<\/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\/2216"}],"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=2216"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2216\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2216"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}