{"id":4880,"date":"2024-10-08T09:01:01","date_gmt":"2024-10-08T01:01:01","guid":{"rendered":""},"modified":"2024-10-08T09:01:01","modified_gmt":"2024-10-08T01:01:01","slug":"vivadoltx\u6587\u4ef6_tcl\u811a\u672c\u8bed\u8a00","status":"publish","type":"post","link":"https:\/\/mushiming.com\/4880.html","title":{"rendered":"vivadoltx\u6587\u4ef6_tcl\u811a\u672c\u8bed\u8a00"},"content":{"rendered":"
vivado\u7684\u76ee\u5f55\u7ed3\u6784\uff1a<\/p>\n
1\u3001*.xpc : \u9879\u76ee\u7ba1\u7406\u6587\u4ef6\uff0c\u91cc\u9762\u8bb0\u5f55\u4e86\u8be5\u5de5\u7a0b\u7684\u6587\u4ef6\u7d22\u5f15<\/p>\n
2\u3001*.src : \u9879\u76ee\u6e90\u6587\u4ef6\u76ee\u5f55\uff0cip\u76ee\u5f55\u4e0b\u662fip\u6838\u751f\u6210\u7684\u6587\u4ef6<\/p>\n
3\u3001*.runs \uff1a \u5185\u90e8\u6709\u8bb8\u591a\u540d\u4e3a(name)_synth_n\u548c(name)_imp_n\u5f62\u5f0f\u7684\u6587\u4ef6\u5939\uff0c\u91cc\u9762\u662f\u7efc\u5408\u548c\u5e03\u5c40\u5e03\u7ebf\u751f\u6210\u7684\u4e00\u4e9b\u4e34\u65f6\u6587\u4ef6\uff0c\u5bf9\u4e8e\u4e3b\u6a21\u5757\uff0c\u5176(name)\u4e3a\u7a7a\uff0c\u91cc\u9762\u751f\u6210\u7684\u6587\u4ef6\u4e2d\u5305\u542b\u62a5\u544a\u6587\u4ef6\u548cbit\u6d41\u3002<\/p>\n
<\/p>\n
VIVADO \u63d0\u4f9b\u4e24\u79cd\u4ee3\u7801\u5c01\u88c5\u65b9\u6cd5\uff1aDCP\u6587\u4ef6\u548cedf\u6587\u4ef6\u3002<\/p>\n
1\u3001write_checkpoint -force \/x\/xxx.dcp\uff0c\u5176\u4e2dxxx\u4e3a\u6a21\u5757\u540d\u79f0\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u751f\u6210\u5b8c\u6574\u7684dcp\u6587\u4ef6\u3002<\/p>\n
2\u3001rite_verilog -mode synth_stub \/x\/xxx_stub.edf\u751f\u6210\u9ed1\u76d2\u63a5\u53e3\u6587\u4ef6\u3002edf\u6587\u4ef6\u4e0d\u50cfDCP\u6587\u4ef6\uff0c\u53ef\u4ee5\u5355\u72ec\u88ab\u8c03\u7528\uff0cedf\u6587\u4ef6\u5fc5\u987b\u914d\u5408.v\u7684\u9ed1\u76d2\u63a5\u53e3\u624d\u80fd\u88ab\u8c03\u7528<\/p>\n
<\/p>\n
xci\u6587\u4ef6\u662f\u4e00\u4e2axml\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u5b83\u80fd\u591f\u641c\u96c6ip\u6240\u6709\u7684\u914d\u7f6e\u4fe1\u606f\uff0c\u66f4\u91cd\u8981\u7684\u662f\u5305\u62ecVivado\u6307\u5411\u7684ip\u6240\u751f\u6210\u7684\u5927\u91cf\u6587\u4ef6\uff0c\u6bd4\u5982\u4e0a\u4e0b\u6587\u7efc\u5408\u3001\u7ea6\u675f\u548c\u6a21\u62df\u6587\u4ef6\u7b49\u3002\u6839\u636exci\u6587\u4ef6Vivado\u53ef\u4ee5\u786e\u5b9aIP\u662f\u5426\u5df2\u7ecf\u201c\u5b8c\u5168\u751f\u6210\u201d\u6216\u8005\u7f3a\u5c11\u54ea\u4e9b\u6587\u4ef6\u3002<\/p>\n
<\/p>\n
\u5f53\u8bfb\u53d6xci\u6587\u4ef6\u65f6\uff0cVivado\u4f1a\u8bfb\u53d6\u751f\u6210\u7684dcp\uff08design checkpoint\uff09\u6587\u4ef6\uff0c\u8df3\u8fc7\u5d4c\u5165\u7684\u7ea6\u675f\u4fe1\u606f\uff0c\u91c7\u7528\u7684\u662f\u539f\u59cbIP\u7684\u7ea6\u675f\u6587\u4ef6\u3002<\/p>\n
<\/p>\n
foreach<\/em> \u8bed\u6cd5\u7ed3\u6784\u63d0\u4f9b\u4e86\u904d\u5386\u6570\u7ec4\u7684\u7b80\u5355\u65b9\u5f0f\u3002foreach<\/em> \u4ec5\u80fd\u591f\u5e94\u7528\u4e8e\u6570\u7ec4\u548c\u5bf9\u8c61\u3002<\/p>\n catch\u547d\u4ee4<\/strong><\/p>\n \u7528\u4e8e\u963b\u6b62\u56e0\u9519\u8bef\u800c\u5bfc\u81f4\u7684\u4e2d\u65ad\u6267\u884c\uff0c\u7c7b\u4f3cpython\u4e2d\u7684\u5f02\u5e38\uff0c\u6267\u884c\u6210\u529f\u8fd4\u56de0\uff0c\u5426\u5219\u8fd4\u56de1<\/p>\n IP Output Products\uff1a<\/strong><\/p>\n <ip_name>.xci\uff1a<\/strong><\/p>\n \u5305\u542bIP\u5b9a\u5236\u4fe1\u606f\u3002\u60a8\u53ef\u4ee5\u4ece\u8be5\u6587\u4ef6\u751f\u6210\u8f93\u51fa\u4ea7\u54c1\u3002\u5982\u679c\u76ee\u5f55\u4e2d\u5b58\u5728IP\u7684\u5347\u7ea7\u8def\u5f84\uff0c\u5219\u53ef\u4ee5\u4ece\u6b64\u6587\u4ef6\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c<\/p>\n <ip_name>.xcix\uff1a<\/strong><\/p>\n IP\u6838\u5c01\u88c5\u6587\u4ef6\uff0c\u5b83\u5217\u51fa\u4e86\u8bbe\u8ba1\u4e2dIP\u4e4b\u95f4\u7684\u6240\u6709\u901a\u7528\u5143\u7d20\u3002<\/p>\n <ip_name>.xml\uff1a<\/strong><\/p>\n IP\u7269\u6599\u6e05\u5355\uff08BOM\uff09\u6587\u4ef6\uff0c\u7528\u4e8e\u8ddf\u8e2aIP\u7684\u5f53\u524d\u72b6\u6001\uff0c\u5305\u62ec\u751f\u6210\u7684\u6587\u4ef6\uff0c\u8ba1\u7b97\u7684\u53c2\u6570\u548c\u63a5\u53e3\u4fe1\u606f<\/p>\n <ip_name>.veo | vho\uff1a<\/strong><\/p>\n Verilog\uff08VEO\uff09\u6216VHDL\uff08VHO\uff09\u5b9e\u4f8b\u5316\u6a21\u677f\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u6587\u4ef6\u4e2d\u7684\u4e00\u4e2a\u5728\u60a8\u7684\u8bbe\u8ba1\u4e2d\u5b9e\u4f8b\u5316IP\u3002<\/p>\n <ip_name>.dcp\uff1a<\/strong><\/p>\n \u5408\u6210\u8bbe\u8ba1\u68c0\u67e5\u70b9\u6587\u4ef6\u5305\u542b\u7efc\u5408\u540e\u7f51\u8868\u548c\u5904\u7406\u8fc7\u7684XDC\u7ea6\u675f\u3002 <ip_name>.stub\uff1a<\/strong><\/p>\n \u4e0e\u7b2c\u4e09\u65b9\u7efc\u5408\u5de5\u5177\u4e00\u8d77\u4f7f\u7528\u7684\u6a21\u5757\uff08Verilog\uff09\u548c\u7ec4\u4ef6\uff08VHDL\uff09\u6765\u63a8\u65adIP\u7684\u9ed1\u76d2\u5b50\u3002<\/p>\n <ip_name>.funcsim\uff1a<\/strong><\/p>\n Vivado 2015.3\u7248\u4e4b\u524d\u7684\u7efc\u5408\u540e\u7ed3\u6784\u4eff\u771f\u7f51\u8868\u6587\u4ef6\u3002<\/p>\n <ip_name>.xdc\uff1a<\/strong><\/p>\n \u65f6\u5e8f\/\u7269\u7406\u7ea6\u675f\u6587\u4ef6\uff0c\u8fd9\u4e9b\u6587\u4ef6\u5e76\u4e0d\u662f\u5bf9\u4e8e\u6240\u6709IP\u90fd\u5b58\u5728\uff0c\u5e76\u4e14\u5b83\u4eec\u7684\u4f4d\u7f6e\u56e0IP\u800c\u5f02\u3002<\/p>\n <ip_name>_in_context.xdc\uff1a<\/strong><\/p>\n \u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u786e\u5b9a\u65f6\u949f\u7ea6\u675f\u548c\u89e3\u91ca\u65f6\u949f\u6d88\u606f\u3002<\/p>\n <ip_name>_clocks.xdc\uff1a<\/strong><\/p>\n \u5177\u6709\u65f6\u949f\u4f9d\u8d56\u6027\u7684\u7ea6\u675f\u3002\u8fd9\u4e9b\u6587\u4ef6\u5bf9\u4e8e\u6240\u6709IP\u90fd\u4e0d\u5b58\u5728\uff0c\u5e76\u4e14\u5b83\u4eec\u7684\u4f4d\u7f6e\u56e0IP\u800c\u5f02\u3002<\/p>\n <ip_name>_board.xdc\uff1a<\/strong><\/p>\n \u5e73\u53f0\u677f\u6d41\u7a0b\u4e2d\u4f7f\u7528\u7684\u7ea6\u675f\u6761\u4ef6\u3002\u8fd9\u4e9b\u6587\u4ef6\u5bf9\u4e8e\u6240\u6709IP\u90fd\u4e0d\u5b58\u5728\uff0c\u5e76\u4e14\u5b83\u4eec\u7684\u4f4d\u7f6e\u56e0IP\u800c\u5f02\u3002<\/p>\n <ip_name>_ooc.xdc\uff1a<\/strong><\/p>\n \u9ed8\u8ba4\u7684\u65f6\u949f\u5b9a\u4e49\uff0c\u7528\u4e8e\u5408\u6210IP\u7684\u4e0a\u4e0b\u6587\u3002<\/p>\n <\/p>\n \u597d\u4e86\uff0c\u67e5\u4e86\u8fd9\u4e48\u591a\uff0c\u4e5f\u5206\u522b\u770b\u4e86\u6bcf\u4e2a\u6587\u6863\u7684\u4ee3\u7801\uff0c\u53d1\u73b0\u8fd9\u4e9b\u5bf9\u6211\u6ca1\u5565help\u3002<\/strong><\/p>\n \u60f3\u5229\u7528tcl\u6587\u4ef6\uff0c\u76f4\u63a5\u751f\u6210\u5e26\u6709\u60f3\u8981\u7684ip\u7684vivado gui\u3002<\/p>\n 1\u3001\u9996\u5148\uff0c\u6253\u5f00vivado gui\u754c\u9762\u3002\u6309\u7167\u4f60\u60f3\u8981\u7684\u4e1c\u897f\u4e00\u6b65\u6b65\u64cd\u4f5c\u3002\u64cd\u4f5c\u5b8c\u6210\u4e4b\u540e\uff0c\u5728Tcl Console<\/strong>\u9009\u9879\u8fd9\u8fb9\uff0c\u53ef\u4ee5\u627e\u5230\u4f60\u6240\u6709\u7684tcl\u547d\u4ee4\u3002<\/p>\n 2\u3001\u628a\u6240\u6709\u84dd\u8272\u663e\u793a\u7684\u547d\u4ee4\u52a0\u5230\u4f60\u65b0\u5efa\u7684tcl\u6587\u4ef6\u4e2d\u3002\u5728\u6587\u4ef6\u4e2d\uff0c\u4fee\u6539\u53c2\u6570\u3002<\/p>\n 3\u3001\u5728\u6587\u4ef6\u6700\u5e95\u7aef\u52a0\u4e0a start_gui<\/strong> \u547d\u4ee4\u3002<\/p>\n 4\u3001\u8fd0\u884c vivado -mode tcl -source xx.tcl<\/strong> \u547d\u4ee4\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u6253\u5f00\u4f60\u60f3\u8981\u7684gui\u4e86\u3002<\/p>\n \u6ce8\uff1a\u5728json\u6587\u4ef6\u4e2d\u6709\u4f60\u60f3\u8981\u7684ram\u5404\u79cd\u53c2\u6570\u3002\u6240\u4ee5\u5728\u5199tcl\u6587\u4ef6\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u5230\u7528set_property\u6765\u8bbe\u7f6e\u53c2\u6570\u3002<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":"vivadoltx\u6587\u4ef6_tcl\u811a\u672c\u8bed\u8a00vivado\u7684\u76ee\u5f55\u7ed3\u6784\uff1a1\u3001*.xpc:\u9879\u76ee\u7ba1\u7406\u6587\u4ef6\uff0c\u91cc\u9762\u8bb0\u5f55\u4e86\u8be5\u5de5\u7a0b\u7684\u6587\u4ef6\u7d22\u5f152\u3001*.src:\u9879\u76ee\u6e90\u6587\u4ef6\u76ee\u5f55\uff0c...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/4880"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=4880"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/4880\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=4880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=4880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=4880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5efa\u8bae\uff1a\u8d5b\u7075\u601d\u5efa\u8bae\u60a8\u4e0d\u8981\u76f4\u63a5\u5f15\u7528IP DCP\u6587\u4ef6;\u800c\u662f\u4f7f\u7528XCI\u6587\u4ef6,\u5728\u9700\u8981\u65f6\u5f15\u5165DCP\u3002<\/p>\n