{"id":1095,"date":"2018-09-25T08:04:35","date_gmt":"2018-09-25T08:04:35","guid":{"rendered":""},"modified":"2018-09-25T16:04:58","modified_gmt":"2018-09-25T08:04:58","slug":"%e6%b5%85%e6%9e%90fpga%e7%9a%84%e5%9b%9b%e5%a4%a7%e8%ae%be%e8%ae%a1%e8%a6%81%e7%82%b9","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=1095","title":{"rendered":"\u6d45\u6790FPGA\u7684\u56db\u5927\u8bbe\u8ba1\u8981\u70b9"},"content":{"rendered":"

\n\tFPGA<\/u>\u7684\u7528\u5904\u6bd4\u6211\u4eec\u5e73\u65f6\u60f3\u8c61\u7684\u7528\u5904\u66f4\u5e7f\u6cdb\uff0c\u539f\u56e0\u5728\u4e8e\u5176\u4e2d\u96c6\u6210\u7684\u6a21\u5757\u79cd\u7c7b\u66f4\u591a\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u539f\u6765\u7684\u7b80\u5355\u903b\u8f91\u5355\u5143\uff08LE\uff09\u3002<\/p>\n

\n\t\u73b0\u5728\u7684FPGA\u4e0d\u4ec5\u5305\u542b\u4ee5\u524d\u7684LE,RAM<\/u>\u4e5f\u66f4\u5927\u66f4\u5feb\u66f4\u7075\u6d3b\uff0c\u7ba1\u6559IOB\u4e5f\u66f4\u52a0\u7684\u590d\u6742\uff0c\u652f\u6301\u7684IO\u7c7b\u578b\u4e5f\u66f4\u591a\uff0c\u800c\u4e14\u5185\u90e8\u8fd8\u96c6\u6210\u4e86\u4e00\u4e9b\u7279\u6b8a\u529f\u80fd\u5355\u5143\uff0c\u5305\u62ec\uff1a<\/p>\n

\n\t <\/div>\n

\n\tDSP<\/u>:\u5b9e\u9645\u4e0a\u5c31\u662f\u4e58\u52a0\u5668\uff0cFPGA\u5185\u90e8\u53ef\u4ee5\u96c6\u6210\u591a\u4e2a\u4e58\u52a0\u5668\uff0c\u800c\u4e00\u822c\u7684DSP\u82af\u7247\u5f80\u5f80\u6bcf\u4e2acore\u53ea\u6709\u4e00\u4e2a\u3002\u6362\u8a00\u4e4b\uff0cFPGA\u53ef\u4ee5\u66f4\u5bb9\u6613\u5b9e\u73b0\u591a\u4e2aDSP core\u529f\u80fd\u3002\u5728\u67d0\u4e9b\u9700\u8981\u5927\u91cf\u4e58\u52a0\u8ba1\u7b97\u7684\u573a\u5408\uff0c\u5f80\u5f80\u591a\u4e2a\u4e58\u52a0\u5668\u5e76\u884c\u5de5\u4f5c\u7684\u901f\u5ea6\u53ef\u4ee5\u8fdc\u8fdc\u8d85\u8fc7\u4e00\u4e2a\u9ad8\u901f\u4e58\u52a0\u5668\u3002<\/p>\n

\n\tSERDES:\u9ad8\u901f\u4e32\u884c\u63a5\u53e3\u3002\u5c06\u6765PCI-E\u3001XAUI\u3001HT\u3001S-ATA\u7b49\u9ad8\u901f\u4e32\u884c\u63a5\u53e3\u4f1a\u8d8a\u6765\u8d8a\u591a\u3002\u6709\u4e86SERDES\u6a21\u5757\uff0cFPGA\u53ef\u4ee5\u5f88\u5bb9\u6613\u5c06\u8fd9\u4e9b\u9ad8\u901f\u4e32\u884c\u63a5\u53e3\u96c6\u6210\u8fdb\u6765\uff0c\u65e0\u9700\u518d\u8d2d\u4e70\u4e13\u95e8\u7684\u63a5\u53e3\u82af\u7247\u3002<\/p>\n

\n\tCPU<\/u> core:\u5206\u4e3a2\u79cd\uff0c\u8f6fcore\u548c\u786ccore.\u8f6fcore\u662f\u7528\u903b\u8f91\u4ee3\u7801\u5199\u7684CPU\u6a21\u5757\uff0c\u53ef\u4ee5\u5728\u4efb\u4f55\u8d44\u6e90\u8db3\u591f\u7684FPGA\u4e2d\u5b9e\u73b0\uff0c\u4f7f\u7528\u975e\u5e38\u7075\u6d3b\u3002\u800c\u4e14\u5728\u5927\u5bb9\u91cf\u7684FPGA\u4e2d\u8fd8\u53ef\u4ee5\u96c6\u6210\u591a\u4e2a\u8f6fcore,\u5b9e\u73b0\u591a\u6838\u5e76\u884c\u5904\u7406\u3002\u786ccore\u662f\u5728\u7279\u5b9a\u7684FPGA\u5185\u90e8\u505a\u597d\u7684CPU core,\u4f18\u70b9\u662f\u901f\u5ea6\u5feb\u3001\u6027\u80fd\u597d\uff0c\u7f3a\u70b9\u662f\u4e0d\u591f\u7075\u6d3b\u3002<\/p>\n

\n\t\u4e0d\u8fc7\uff0cFPGA\u8fd8\u662f\u6709\u7f3a\u70b9\u3002\u5bf9\u4e8e\u67d0\u4e9b\u9ad8\u4e3b\u9891\u7684\u5e94\u7528\uff0cFPGA\u5c31\u65e0\u80fd\u4e3a\u529b\u4e86\u3002\u73b0\u5728\u867d\u7136\u7406\u8bba\u4e0aFPGA\u53ef\u4ee5\u652f\u6301\u7684500MHz,\u4f46\u5728\u5b9e\u9645\u8bbe\u8ba1\u4e2d\uff0c\u5f80\u5f80200MHz\u4ee5\u4e0a\u5de5\u4f5c\u9891\u7387\u5c31\u5f88\u96be\u5b9e\u73b0\u4e86\u3002<\/p>\n

\n\tFPGA\u8bbe\u8ba1\u8981\u70b9\u4e4b\u4e00\uff1a\u65f6\u949f<\/u>\u6811<\/p>\n

\n\t\u5bf9\u4e8eFPGA\u6765\u8bf4\uff0c\u8981\u5c3d\u53ef\u80fd\u907f\u514d\u5f02\u6b65\u8bbe\u8ba1\uff0c\u5c3d\u53ef\u80fd\u91c7\u7528\u540c\u6b65\u8bbe\u8ba1\u3002<\/p>\n

\n\t\u540c\u6b65\u8bbe\u8ba1\u7684\u7b2c\u4e00\u4e2a\u5173\u952e\uff0c\u4e5f\u662f\u5173\u952e\u4e2d\u7684\u5173\u952e\uff0c\u5c31\u662f\u65f6\u949f\u6811\u3002<\/p>\n

\n\t\u4e00\u4e2a\u7cdf\u7cd5\u7684\u65f6\u949f\u6811\uff0c\u5bf9FPGA\u8bbe\u8ba1\u6765\u8bf4\uff0c\u662f\u4e00\u573a\u65e0\u6cd5\u5f25\u8865\u7684\u707e\u96be\uff0c\u662f\u4e00\u4e2a\u6ca1\u6709\u6253\u597d\u5730\u57fa\u7684\u5927\u697c\uff0c\u5d29\u6e83\u662f\u5fc5\u7136\u7684\u3002<\/p>\n

\n\t\u5177\u4f53\u4e00\u4e9b\u7684\u8bbe\u8ba1\u7ec6\u5219\uff1a<\/p>\n

\n\t1.\u5c3d\u53ef\u80fd\u91c7\u7528\u5355\u4e00\u65f6\u949f\uff1b<\/p>\n

\n\t2.\u5982\u679c\u6709\u591a\u4e2a\u65f6\u949f\u57df\uff0c\u4e00\u5b9a\u8981\u4ed4\u7ec6\u5212\u5206\uff0c\u5343\u4e07\u5c0f\u5fc3\uff1b<\/p>\n

\n\t3.\u8de8\u65f6\u949f\u57df\u7684\u4fe1\u53f7\u4e00\u5b9a\u8981\u505a\u540c\u6b65\u5904\u7406\u3002\u5bf9\u4e8e\u63a7\u5236\u4fe1\u53f7\uff0c\u53ef\u4ee5\u91c7\u7528\u53cc\u91c7\u6837\uff1b\u5bf9\u4e8e\u6570\u636e\u4fe1\u53f7\uff0c\u53ef\u4ee5\u91c7\u7528\u5f02\u6b65fifo.\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5f02\u6b65fifo\u4e0d\u662f\u4e07\u80fd\u7684\uff0c\u4e00\u4e2a\u5f02\u6b65fifo\u4e5f\u53ea\u80fd\u89e3\u51b3\u4e00\u5b9a\u8303\u56f4\u5185\u7684\u9891\u5dee\u95ee\u9898\u3002<\/p>\n

\n\t4.\u5c3d\u53ef\u80fd\u5c06FPGA\u5185\u90e8\u7684PLL\u3001DLL\u5229\u7528\u8d77\u6765\uff0c\u8fd9\u4f1a\u7ed9\u4f60\u7684\u8bbe\u8ba1\u5e26\u6765\u5927\u91cf\u7684\u597d\u5904\u3002<\/p>\n

\n\t5.\u5bf9\u4e8e\u7279\u6b8a\u7684IO\u63a5\u53e3\uff0c\u9700\u8981\u4ed4\u7ec6\u8ba1\u7b97Tsu\u3001Tco\u3001Th,\u5e76\u5229\u7528PLL\u3001DLL\u3001DDIO\u3001\u7ba1\u811a\u53ef\u8bbe\u7f6e\u7684delay\u7b49\u591a\u79cd\u5de5\u5177\u6765\u5b9e\u73b0\u3002\u7b80\u5355\u5bf9\u7ba1\u811a\u8fdb\u884cTsu\u3001Tco\u3001Th\u7684\u7ea6\u675f\u5f80\u5f80\u662f\u4e0d\u884c\u7684\u3002<\/p>\n

\n\t\u53ef\u80fd\u8bf4\u7684\u4e0d\u662f\u5f88\u786e\u5207\u3002\u8fd9\u91cc\u7684\u65f6\u949f\u6811\u5b9e\u9645\u4e0a\u6cdb\u6307\u65f6\u949f\u65b9\u6848\uff0c\u4e3b\u8981\u662f\u65f6\u949f\u57df\u548cPLL\u7b49\u7684\u89c4\u5212\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b\u4e0d\u7275\u626f\u5230\u8d70\u7ebf\u65f6\u5ef6\u7684\u8be6\u7ec6\u8ba1\u7b97\uff08\u4e00\u822c\u90fd\u8d70\u5168\u5c40\u65f6\u949f\u7f51\u7edc\u548c\u5c40\u90e8\u65f6\u949f\u7f51\u7edc\uff0c\u65f6\u5ef6\u56fa\u5b9a\uff09\uff0c\u548cASIC<\/u>\u4e2d\u7684\u65f6\u949f\u6811\u4e0d\u4e00\u6837\u3002<\/p>\n

\n\t\u5bf9\u4e8eASIC,\u5c31\u5fc5\u987b\u5bf9\u65f6\u949f\u7f51\u7edc\u7684\u8bbe\u8ba1\u3001\u5e03\u7ebf\u3001\u65f6\u5ef6\u8ba1\u7b97\u8fdb\u884c\u4ed4\u7ec6\u7684\u5206\u6790\u8ba1\u7b97\u624d\u884c\u3002<\/p>\n

\n\tFPGA\u8bbe\u8ba1\u8981\u70b9\u4e4b\u4e8c\uff1aFSM<\/p>\n

\n\tFSM:\u6709\u9650\u72b6\u6001\u673a\u3002\u8fd9\u4e2a\u53ef\u4ee5\u8bf4\u65f6\u903b\u8f91\u8bbe\u8ba1\u7684\u57fa\u7840\u3002\u51e0\u4e4e\u7a0d\u5fae\u5927\u4e00\u70b9\u7684\u903b\u8f91\u8bbe\u8ba1\uff0c\u51e0\u4e4e\u90fd\u80fd\u770b\u5f97\u5230FSM\u3002<\/p>\n

\n\tFSM\u5206\u4e3amoore\u578b\u548cmerly\u578b\uff0cmoore\u578b\u7684\u72b6\u6001\u8fc1\u79fb\u548c\u53d8\u91cf\u65e0\u5173\uff0cmerly\u578b\u5219\u6709\u5173\u3002\u5b9e\u9645\u4f7f\u7528\u4e2d\u5927\u90e8\u5206\u90fd\u91c7\u7528merly\u578b\u3002<\/p>\n

\n\tFSM\u901a\u5e38\u67092\u79cd\u5199\u6cd5\uff1a\u5355\u8fdb\u7a0b\u3001\u53cc\u8fdb\u7a0b\u3002<\/p>\n

\n\t\u521d\u5b66\u8005\u5f80\u5f80\u559c\u6b22\u5355\u8fdb\u7a0b\u5199\u6cd5\uff0c\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n

\n\t<\/p>\n

\n\t\u7b80\u5355\u7684\u8bf4\uff0c\u5355\u8fdb\u7a0bFSM\u5c31\u662f\u628a\u6240\u6709\u7684\u540c\u6b65\u3001\u5f02\u6b65\u5904\u7406\u90fd\u653e\u5165\u4e00\u4e2aalways\u4e2d\u3002<\/p>\n

\n\t\u4f18\u70b9\uff1a<\/p>\n

\n\t1.\u770b\u8d77\u6765\u6bd4\u8f83\u7b80\u5355\u660e\u4e86\uff0c\u5199\u8d77\u6765\u4e5f\u4e0d\u7528\u5728\u6bcf\u4e2acase\u5206\u652f\u6216\u8005if\u5206\u652f\u4e2d\u5199\u5168\u5bf9\u5404\u4e2a\u4fe1\u53f7\u548c\u72b6\u6001\u4fe1\u53f7\u7684\u5904\u7406\u3002\u4e5f\u53ef\u4ee5\u7b80\u5355\u5728\u5176\u4e2d\u52a0\u5165\u4e00\u4e9b\u8ba1\u6570\u5668\u8fdb\u884c\u8ba1\u6570\u5904\u7406\u3002<\/p>\n

\n\t2.\u6240\u6709\u7684\u8f93\u51fa\u4fe1\u53f7\u90fd\u5df2\u7ecf\u662f\u7ecf\u8fc7D\u89e6\u53d1\u5668\u9501\u5b58\u4e86\u3002<\/p>\n

\n\t\u7f3a\u70b9\uff1a<\/p>\n

\n\t1.\u4f18\u5316\u6548\u679c\u4e0d\u4f73\u3002\u7531\u4e8e\u540c\u6b65\u3001\u5f02\u6b65\u653e\u5728\u4e00\u8d77\uff0c\u7f16\u8bd1\u5668\u4e00\u822c\u5bf9\u5f02\u6b65\u903b\u8f91\u7684\u4f18\u5316\u6548\u679c\u6700\u597d\u3002\u5355\u8fdb\u7a0bFSM\u628a\u540c\u6b65\u3001\u5f02\u6b65\u6df7\u6742\u5728\u4e00\u8d77\u7684\u7ed3\u679c\u5c31\u662f\u5bfc\u81f4\u7f16\u8bd1\u5668\u4f18\u5316\u6548\u679c\u5dee\uff0c\u5f80\u5f80\u5bfc\u81f4\u903b\u8f91\u901f\u5ea6\u6162\u3001\u8d44\u6e90\u6d88\u8017\u591a\u3002<\/p>\n

\n\t2.\u67d0\u4e9b\u65f6\u5019\u9700\u8981\u66f4\u5feb\u7684\u4fe1\u53f7\u8f93\u51fa\uff0c\u4e0d\u5fc5\u7ecf\u8fc7D\u89e6\u53d1\u5668\u9501\u5b58\uff0c\u8fd9\u65f6\u5355\u8fdb\u7a0bFSM\u7684\u5904\u7406\u5c31\u6bd4\u8f83\u9ebb\u70e6\u4e86\u3002<\/p>\n

\n\t\u53cc\u8fdb\u7a0bFSM,\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n

\n\t<\/p>\n

\n\t\u4ece\u4e0a\u9762\u53ef\u4ee5\u770b\u5230\uff0c\u540c\u6b65\u5904\u7406\u548c\u5f02\u6b65\u5904\u7406\u5206\u522b\u653e\u52302\u4e2aalways\u4e2d\u3002\u5176\u4e2dFSM\u72b6\u6001\u53d8\u91cf\u4e5f\u91c7\u75282\u4e2a\u6765\u8fdb\u884c\u63a7\u5236\u3002\u53cc\u8fdb\u7a0bFSM\u7684\u539f\u7406\u8fd9\u91cc\u5c31\u4e0d\u591a\u8bf4\u4e86\uff0c\u5728\u5f88\u591a\u903b\u8f91\u8bbe\u8ba1\u4e66\u4e2d\u90fd\u6709\u4ecb\u7ecd\u3002<\/p>\n

\n\t\u4f18\u70b9\uff1a<\/p>\n

\n\t1.\u7f16\u8bd1\u5668\u4f18\u5316\u6548\u679c\u660e\u663e\uff0c\u53ef\u4ee5\u5f97\u5230\u5f88\u7406\u60f3\u7684\u901f\u5ea6\u548c\u8d44\u6e90\u5360\u7528\u7387\u3002<\/p>\n

\n\t2.\u6240\u6709\u7684\u8f93\u51fa\u4fe1\u53f7\uff08\u9664\u4e86FSM_status_current\uff09\u90fd\u662f\u7ec4\u5408\u8f93\u51fa\u7684\uff0c\u6bd4\u5355\u8fdb\u7a0bFSM\u5feb\u3002<\/p>\n

\n\t\u7f3a\u70b9\uff1a<\/p>\n

\n\t1.\u6240\u6709\u7684\u8f93\u51fa\u4fe1\u53f7\uff08\u9664\u4e86FSM_status_current\uff09\u90fd\u662f\u7ec4\u5408\u8f93\u51fa\u7684\uff0c\u5728\u67d0\u4e9b\u573a\u5408\u9700\u8981\u989d\u5916\u5199\u4ee3\u7801\u6765\u8fdb\u884c\u9501\u5b58\u3002<\/p>\n

\n\t2.\u5728\u5f02\u6b65\u5904\u7406\u7684always\u4e2d\uff0c\u6240\u6709\u7684if\u3001case\u5206\u652f\u5fc5\u987b\u628a\u6240\u6709\u7684\u8f93\u51fa\u4fe1\u53f7\u90fd\u8d4b\u503c\uff0c\u800c\u4e14\u4e0d\u80fd\u51fa\u73b0\u5728FSM\u4e2d\u7684\u8f93\u51fa\u4fe1\u53f7\u56de\u9001\u8d4b\u503c\u7ed9\u672cFSM\u4e2d\u7684\u5176\u4ed6\u4fe1\u53f7\u7684\u60c5\u51b5\uff0c\u5426\u5219\u4f1a\u51fa\u73b0 latch.<\/p>\n

\n\tlatch\u4f1a\u5bfc\u81f4\u5982\u4e0b\u95ee\u9898\uff1a<\/p>\n

\n\t1.\u529f\u80fd\u4eff\u771f\u7ed3\u679c\u548c\u540e\u4eff\u4e0d\u7b26\uff1b<\/p>\n

\n\t2.\u51fa\u73b0\u65e0\u6cd5\u6d4b\u8bd5\u7684\u903b\u8f91\uff1b<\/p>\n

\n\t3.\u903b\u8f91\u5de5\u4f5c\u4e0d\u7a33\u5b9a\uff0c\u7279\u522b\u662flatch\u90e8\u5206\u5bf9\u6bdb\u523a\u5f02\u5e38\u654f\u611f\uff1b<\/p>\n

\n\t4.\u67d0\u4e9b\u53ca\u5176\u7279\u6b8a\u7684\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u51fa\u73b0\u6b63\u53cd\u9988\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u707e\u96be\u6027\u7684\u540e\u679c\u3002<\/p>\n

\n\t\u8fd9\u4e0d\u662f\u6050\u5413\u4e5f\u4e0d\u662f\u5f00\u73a9\u7b11\uff0c\u6211\u5c31\u4eb2\u773c\u89c1\u8fc7\u4e00\u4e2a\u5c0f\u4f19\u628a\u4ed6\u505a\u7684\u903b\u8f91\u52a0\u8f7d\u4e0a\u53bb\u540e\uff0c\u6574\u4e2aFPGA\u7ed9\u70b8\u98de\u4e86\u3002\u540e\u6765\u6000\u7591\u53ef\u80fd\u662f\u51fa\u73b0\u6b63\u53cd\u9988\u5bfc\u81f4\u9ad8\u9891\u632f\u8361\uff0c\u6700\u540e\u5bfc\u81f4\u82af\u7247\u8fc7\u70ed\u70b8\u6389\uff08\u8fd9\u4e2aFPGA\u82af\u7247\u6ca1\u6709\u5b89\u88c5\u6563\u70ed\u7247\uff09\u3002<\/p>\n

\n\tFPGA\u8bbe\u8ba1\u8981\u70b9\u4e4b\u4e09\uff1alatch<\/p>\n

\n\t\u9996\u5148\u56de\u7b54\u4e00\u4e0b\uff1a<\/p>\n

\n\tstate<\/u>CAD\u6ca1\u6709\u7528\u8fc7\uff0c\u4e0d\u8fc7\u6211\u611f\u89c9\u7528\u8fd9\u4e2a\u4e1c\u4e1c\u5728\u6784\u5efa\u5927\u7684\u7cfb\u7edf\u7684\u65f6\u5019\u4f3c\u4e4e\u4e0d\u662f\u5f88\u65b9\u4fbf\u3002\u4e5f\u8bb8\u7528systemC<\/u>\u6216\u8005system Verilog<\/u>\u66f4\u597d\u4e00\u4e9b\u3002\u53e6\u5916\u540c\u6b65\u3001\u5f02\u6b65\u7684\u53eb\u6cd5\u662f\u6211\u6240\u5728\u516c\u53f8\u7684\u4e60\u60ef\u53eb\u6cd5\uff0c\u4e0d\u592a\u5bf9\uff0c\u4e0d\u8fc7\u5df2\u7ecf\u7528\u4e60\u60ef\u4e86\u3002<\/p>\n

\n\t\u8fd9\u6b21\u8bb2\u4e00\u4e0blatch\uff0clatch\u7684\u5371\u5bb3\u5df2\u7ecf\u8bf4\u8fc7\u4e86\uff0c\u8fd9\u91cc\u4e0d\u518d\u591a\u8bf4\uff0c\u5173\u952e\u8bb2\u4e00\u4e0b\u5982\u4f55\u907f\u514d\u3002<\/p>\n

\n\t1.\u5728\u7ec4\u5408\u903b\u8f91\u8fdb\u7a0b\u4e2d\uff0cif\u8bed\u53e5\u4e00\u5b9a\u8981\u6709else!\u5e76\u4e14\u6240\u6709\u7684\u4fe1\u53f7\u90fd\u8981\u5728if\u7684\u6240\u6709\u5206\u652f\u4e2d\u88ab\u8d4b\u503c\u3002<\/p>\n

\n\t<\/p>\n

\n\t\u53e6\u5916\u9700\u8981\u6ce8\u610f\uff0c\u4e0b\u9762\u4e5f\u4f1a\u4ea7\u751flatch.\u4e5f\u5c31\u662f\u8bf4\u5728\u7ec4\u5408\u903b\u8f91\u8fdb\u7a0b\u4e2d\u4e0d\u80fd\u51fa\u73b0\u81ea\u5df1\u8d4b\u503c\u7ed9\u81ea\u5df1\u6216\u8005\u95f4\u63a5\u51fa\u73b0\u81ea\u5df1\u8d4b\u503c\u7ed9\u81ea\u5df1\u7684\u60c5\u51b5\u3002<\/p>\n

\n\t<\/p>\n

\n\t\u4f46\u5982\u679c\u662f\u65f6\u5e8f\u903b\u8f91\u8fdb\u7a0b\uff0c\u5219\u4e0d\u5b58\u5728\u8be5\u95ee\u9898\u3002<\/p>\n

\n\t2.case\u8bed\u53e5\u7684default\u4e00\u5b9a\u4e0d\u80fd\u5c11\uff01<\/p>\n

\n\t\u539f\u56e0\u548cif\u8bed\u53e5\u76f8\u540c\uff0c\u8fd9\u91cc\u4e0d\u518d\u591a\u8bf4\u4e86\u3002\u9700\u8981\u63d0\u9192\u7684\u662f\uff0c\u5728\u65f6\u5e8f\u903b\u8f91\u8fdb\u7a0b\u4e2d\uff0cdefault\u8bed\u53e5\u4e5f\u4e00\u5b9a\u8981\u52a0\u4e0a\uff0c\u8fd9\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u4e60\u60ef\u3002<\/p>\n

\n\t3.\u7ec4\u5408\u903b\u8f91\u8fdb\u7a0b\u654f\u611f\u53d8\u91cf\u4e0d\u80fd\u5c11\u4e5f\u4e0d\u80fd\u591a\u3002<\/p>\n

\n\t\u8fd9\u4e2a\u95ee\u9898\u5012\u4e0d\u662f\u592a\u5927\uff0cverilog2001\u8bed\u6cd5\u4e2d\u53ef\u4ee5\u76f4\u63a5\u7528 * \u641e\u5b9a\u4e86\u3002<\/p>\n

\n\t\u987a\u4fbf\u63d0\u4e00\u53e5\uff0clatch\u6709\u5f0a\u5c31\u4e00\u5b9a\u6709\u5229\u3002\u5728FPGA\u7684LE\u4e2d\uff0c\u603b\u5b58\u5728\u4e00\u4e2alatch\u548c\u4e00\u4e2aD\u89e6\u53d1\u5668\uff0c\u5728\u652f\u6301DDR\u7684IOE\uff08IOB\uff09\u4e2d\u4e5f\u5b58\u5728\u7740\u4e00\u4e2alatch\u6765\u5b9e\u73b0DDIO\u3002\u4e0d\u8fc7\u5728\u6211\u4eec\u5e73\u65f6\u7684\u8bbe\u8ba1\u4e2d\uff0c\u5bf9latch\u8fd8\u662f\u8981\u5c3d\u53ef\u80fd\u7684\u656c\u800c\u8fdc\u4e4b\u3002<\/p>\n

\n\tFPGA\u8bbe\u8ba1\u8981\u70b9\u4e4b\u56db\uff1a\u903b\u8f91\u4eff\u771f<\/p>\n

\n\t\u4eff\u771f\u662fFPGA\u8bbe\u8ba1\u4e2d\u5fc5\u4e0d\u53ef\u5c11\u7684\u4e00\u6b65\u3002\u6ca1\u6709\u4eff\u771f\uff0c\u5c31\u6ca1\u6709\u4e00\u5207\u3002\u4eff\u771f\u662f\u4e00\u4e2a\u5355\u8c03\u800c\u7e41\u7410\u7684\u5de5\u4f5c\uff0c\u5f88\u5bb9\u6613\u8ba9\u4eba\u4ea7\u751f\u653e\u5f03\u6216\u8005\u5077\u5de5\u51cf\u6599\u7684\u5ff5\u5934\u3002\u8fd9\u65f6\u4e00\u5b9a\u8981\u633a\u4f4f\uff01<\/p>\n

\n\t\u4eff\u771f\u5206\u4e3a\u5355\u5143\u4eff\u771f\u3001\u96c6\u6210\u4eff\u771f\u3001\u7cfb\u7edf\u4eff\u771f\u3002<\/p>\n

\n\t\u5355\u5143\u4eff\u771f\uff1a\u9488\u5bf9\u6bcf\u4e00\u4e2a\u6700\u5c0f\u57fa\u672c\u6a21\u5757\u7684\u4eff\u771f\u3002\u5355\u5143\u4eff\u771f\u8981\u6c42\u4ee3\u7801\u884c\u8986\u76d6\u7387\u3001\u6761\u4ef6\u5206\u652f\u8986\u76d6\u7387\u3001\u8868\u8fbe\u5f0f\u8986\u76d6\u7387\u5fc5\u987b\u8fbe\u5230100%!\u8fd9\u4e09\u79cd\u8986\u76d6\u7387\u90fd\u53ef\u4ee5\u901a\u8fc7MODELSIM\u6765\u67e5\u770b\uff0c\u4e0d\u8fc7\u9700\u8981\u5728\u7f16\u8bd1\u8be5\u6a21\u5757\u65f6\u8981\u5728Compi<\/u>le opti<\/u>on\u4e2d\u8bbe\u7f6e\u597d\u3002<\/p>\n

\n\t\u96c6\u6210\u4eff\u771f\uff1a\u5c06\u591a\u4e2a\u5927\u6a21\u5757\u5408\u5728\u4e00\u8d77\u8fdb\u884c\u4eff\u771f\u3002\u8986\u76d6\u7387\u8981\u6c42\u5c3d\u91cf\u9ad8\u3002<\/p>\n

\n\t\u7cfb\u7edf\u4eff\u771f\uff1a\u5c06\u6574\u4e2a\u786c\u4ef6\u7cfb\u7edf\u5408\u5728\u4e00\u8d77\u8fdb\u884c\u4eff\u771f\u3002\u6b64\u65f6\u6574\u4e2a\u4eff\u771f\u5e73\u53f0\u5305\u542b\u4e86\u903b\u8f91\u5468\u8fb9\u82af\u7247\u63a5\u53e3\u7684\u4eff\u771f\u6a21\u578b\uff0c\u4ee5\u53caBFM\u3001Testbench\u7b49\u3002\u7cfb\u7edf\u4eff\u771f\u9700\u8981\u6839\u636e\u88ab\u4eff\u771f\u903b\u8f91\u7684\u529f\u80fd\u3001\u6027\u80fd\u9700\u6c42\u4ed4\u7ec6\u8bbe\u8ba1\u4eff\u771f\u6d4b\u8bd5\u4f8b\u548c\u4eff\u771f\u6d4b\u8bd5\u5e73\u53f0\u3002\u7cfb\u7edf\u4eff\u771f\u662f\u903b\u8f91\u8bbe\u8ba1\u7684\u4e00\u4e2a\u5927\u5206\u652f\uff0c\u662f\u4e00\u95e8\u9700\u8981\u4e13\u95e8\u5b66\u4e60\u7684\u5b66\u79d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

FPGA \u7684\u7528\u5904\u6bd4\u6211\u4eec\u5e73\u65f6\u60f3\u8c61\u7684\u7528\u5904\u66f4\u5e7f\u6cdb\uff0c\u539f\u56e0\u5728\u4e8e\u5176\u4e2d\u96c6\u6210\u7684\u6a21\u5757\u79cd\u7c7b\u66f4\u591a\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u539f\u6765\u7684\u7b80\u5355\u903b\u8f91\u5355\u5143\uff08LE\uff09\u3002 \u73b0\u5728\u7684FPGA\u4e0d\u4ec5\u5305\u542b\u4ee5\u524d\u7684LE, RAM \u4e5f\u66f4\u5927\u66f4\u5feb\u66f4\u7075\u6d3b\uff0c\u7ba1\u6559IOB\u4e5f\u66f4<\/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\/1095"}],"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=1095"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/1095\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1095"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}