{"id":905,"date":"2022-07-11T14:26:03","date_gmt":"2022-07-11T06:26:03","guid":{"rendered":"http:\/\/www.rchen.top\/?p=905"},"modified":"2022-07-11T14:26:37","modified_gmt":"2022-07-11T06:26:37","slug":"1-1-cadence-ic617%e5%88%9d%e5%a7%8b%e8%ae%be%e7%bd%ae%ef%bf%bc","status":"publish","type":"post","link":"https:\/\/www.rchen.top\/?p=905","title":{"rendered":"cadence \u521d\u59cb\u8bbe\u7f6e\u6559\u7a0b"},"content":{"rendered":"<h2><a name=\"_Toc106628965\"><\/a>1.1.cadence IC617\u521d\u59cb\u8bbe\u7f6e<\/h2>\n<p>\uff080\uff09\u521b\u5efa\u4e00\u4e2aworkspace\u6587\u4ef6\u5939\u4f5c\u4e3a\u4ee5\u540e\u7684\u5de5\u4f5c\u76ee\u5f55\uff0c\u5e76\u5728\u8fd9\u4e2a\u6587\u4ef6\u5939\u4e0b\u521b\u5efa\u4e86\uff1aanalog_ic\u6587\u4ef6\u5939\uff0c\u987e\u540d\u601d\u4e49\uff0c\u6240\u6709\u4e0e\u6a21\u62dfIC\u8bbe\u8ba1\u76f8\u5173\u7684\u5185\u5bb9\u90fd\u5728\u8fd9\u4e2a\u6587\u4ef6\u5939\u5185\uff0c\u6bcf\u6b21\u5728\u7ec8\u7aef\u542f\u52a8Cadence IC\u8f6f\u4ef6\u7684\u65f6\u5019\u4e5f\u90fd\u9700\u8981\u5c06\u5de5\u4f5c\u76ee\u5f55\u5207\u6362\u5230analog_ic\u6587\u4ef6\u5939\u3002<\/p>\n<p>\u5728\u7ec8\u7aef\u8f93\u5165\u542f\u52a8\uff1a<\/p>\n<p>b virtuoso &amp;<\/p>\n<p>\uff081\uff09Cadence\u8f6f\u4ef6\u7684\u4f7f\u7528\u6d89\u53ca\u5230\u4e00\u90e8\u5206\u6587\u4ef6\u914d\u7f6e\u95ee\u9898\uff0c\u9996\u5148\u4ecb\u7ecd\u4ee5\u4e0b\u4e09\u4e2a\u6587\u4ef6\uff1a\u4ee5&#8221;.&#8221;\u5f00\u5934\u7684\u6587\u4ef6\u662f\u9690\u85cf\u6587\u4ef6<\/p>\n<p>cds.lib\u6587\u4ef6\uff1a\u8be5\u6587\u4ef6\u662f\u8bbe\u8ba1\u5e93\u7ba1\u7406\u6587\u4ef6\uff0c\u5305\u542b\u4e00\u4e9b\u57fa\u7840\u8bbe\u8ba1\u5e93\u5b9a\u4e49\u548c\u7528\u6237\u81ea\u5b9a\u4e49\u5de5\u7a0b\u5e93\u3002<\/p>\n<p>.cdsinit\u6587\u4ef6\uff1a\u5305\u542bCadence\u7684\u4e00\u4e9b\u521d\u59cb\u5316\u8bbe\u7f6e\u4fe1\u606f\uff0c\u4ee5\u53ca\u8f6f\u4ef6\u7684\u5feb\u6377\u952e\u8bbe\u7f6e\uff0c\u90e8\u5206\u529f\u80fd\u548c.cdsenv\u6587\u4ef6\u91cd\u53e0\u3002<\/p>\n<p>.cdsenv\u6587\u4ef6\uff1a\u5305\u542bCadence\u5404\u79cd\u5de5\u5177\u7684\u521d\u59cb\u5316\u8bbe\u7f6e\uff0c\u90e8\u5206\u529f\u80fd\u548c.cdsinit\u6587\u4ef6\u91cd\u53e0\u3002<\/p>\n<p>\uff082\uff09Cadence\u8f6f\u4ef6\u5728\u542f\u52a8\u65f6\u9996\u5148\u4f1a\u5728\u542f\u52a8\u76ee\u5f55\u641c\u7d22\u4ee5\u4e0a\u6587\u4ef6\uff08.cdsenv\u6587\u4ef6\u6839\u636e\u8bbe\u7f6e\u800c\u5b9a\uff09\uff0c\u5982\u679c\u542f\u52a8\u76ee\u5f55\u6ca1\u6709\u8fd9\u4e9b\u6587\u4ef6\u53c8\u4f1a\u5728\u7528\u6237\u4e3b\u76ee\u5f55\u641c\u7d22\u4ee5\u4e0a\u6587\u4ef6\uff0c\u6700\u540e\u4f1a\u5728\u8f6f\u4ef6\u5b89\u88c5\u76ee\u5f55\u4e0b\u641c\u7d22\u4ee5\u4e0a\u6587\u4ef6\uff0c\u6240\u4ee5\u4e3a\u4e86\u66f4\u597d\u7684\u4f7f\u7528\u8f6f\u4ef6\u6700\u597d\u5728Cadence\u7b2c\u4e00\u6b21\u542f\u52a8\u524d\u51c6\u5907\u597d\u4ee5\u4e0a\u6587\u4ef6\u3002<\/p>\n<p>cds.lib\u6587\u4ef6\uff1a\u53ef\u4ee5\u5728\u5de5\u4f5c\u76ee\u5f55\u65b0\u5efa\u6587\u672c\u6587\u4ef6\u5e76\u8f93\u5165\uff1a<\/p>\n<p>&lt;Cadence install_dir&gt;\/share\/cdssetup\/cds.lib\uff0c\u6587\u4ef6\u540d\u4fdd\u5b58\u4e3a: cds.lib.<\/p>\n<p>.cdsinit\u6587\u4ef6\uff1a\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u8def\u5f84\uff1a<\/p>\n<p>&lt;Cadence install_dir&gt;\/tools\/dfII\/samples\/local\/cdsinit, \u62f7\u8d1d\u5230\u81ea\u5df1\u7684\u5de5\u4f5c\u76ee\u5f55\uff0c\u5e76\u4fdd\u5b58\u4e3a.cdsinit\u6587\u4ef6\u3002<\/p>\n<p>.cdsenv\u6587\u4ef6\uff1a\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u8def\u5f84\uff1a<\/p>\n<p>&lt;Cadence install_dir&gt;\/tools\/dfII\/samples\/.cdsenv, \u62f7\u8d1d\u5230\u81ea\u5df1\u7684\u5de5\u4f5c\u76ee\u5f55\uff0c\u5e76\u4fdd\u5b58\u4e3a.cdsenv\u6587\u4ef6<\/p>\n<p>\u6709\u4e00\u4e2a\u5730\u65b9\u9700\u8981\u7279\u522b\u6ce8\u610f\uff0c\u6309\u7167\u4e0a\u9762\u7684\u65b9\u6cd5\u628acdsinit\u6587\u4ef6\u62f7\u8d1d\u5230\u81ea\u5df1\u7684\u5de5\u4f5c\u76ee\u5f55\u5e76\u6b63\u786e\u547d\u540d\u4e4b\u540e\uff0c\u6709\u4e00\u6b65\u5f88\u5173\u952e\u7684\u64cd\u4f5c\uff1a\u6253\u5f00\u6587\u4ef6\u5e76\u5b9a\u4f4d\u5230\u6587\u4ef6\u4e2d\uff1aLOAD USER CUSTOMIZATION \u4e4b\u540e\u7684\u5185\u5bb9\uff08\u884c\u9996\u6ca1\u6709\u5206\u53f7\u7684if&#8230;else&#8230;\u8bed\u53e5\uff09\u5728\u6bcf\u4e00\u884c\u884c\u9996\u6dfb\u52a0\u4e00\u4e2a&#8221;;&#8221;, \u4ee3\u8868\u6ce8\u91ca\u6389\u8fd9\u90e8\u5206\u5185\u5bb9\uff0c\u5177\u4f53\u539f\u56e0\u53ef\u4ee5\u9605\u8bfbif&#8230;else&#8230;\u4e0a\u9762\u7684\u8bf4\u660e\uff0c\u5b9e\u9645\u4e0a\u662f\u4e3a\u4e86\u9632\u6b62\u8f6f\u4ef6\u5bf9\u8fd9\u4e2a\u6587\u4ef6\u53d1\u751f\u9012\u5f52\u8c03\u7528\uff0c\u5bfc\u81f4\u7cfb\u7edf\u6b7b\u6389\uff0c\u8fd9\u4e00\u70b9\u4e00\u5b9a\u8981\u7559\u610f\uff0c\u5f88\u591a\u4eba\u56e0\u4e3a\u8fd9\u4e2a\u539f\u56e0\u5bfc\u81f4\u8f6f\u4ef6\u542f\u52a8\u4e0d\u6b63\u5e38\u3002<\/p>\n<p>;################################################<\/p>\n<p>;#<\/p>\n<p>;# LOAD USER CUSTOMIZATION FILE<\/p>\n<p>;#<\/p>\n<p>;################################################<\/p>\n<p>;<\/p>\n<p>;The site customization file is going to load the user<\/p>\n<p>;customization file. In case you have copied this site<\/p>\n<p>;customization file as your user customization file<\/p>\n<p>;comment out or remove the next section to prevent<\/p>\n<p>;recursive loading of .\/.cdsinit<\/p>\n<p>;<\/p>\n<p>;if( isFile( &#8220;.\/.cdsinit&#8221; ) then<\/p>\n<p>;&nbsp;&nbsp;&nbsp; printf( &#8220;Loading .\/.cdsinit init file from the site init file.\\n&#8221; )<\/p>\n<p>;&nbsp;&nbsp;&nbsp; loadi( &#8220;.\/.cdsinit&#8221; )<\/p>\n<p>;else<\/p>\n<p>; if( isFile( &#8220;~\/.cdsinit&#8221; ) then<\/p>\n<p>;&nbsp;&nbsp;&nbsp; printf( &#8220;Loading $HOME\/.cdsinit init file from the site init file.\\n&#8221; )<\/p>\n<p>;&nbsp;&nbsp;&nbsp; loadi( &#8220;~\/.cdsinit&#8221; )<\/p>\n<p>; )<\/p>\n<p>\ud83d\ude09<\/p>\n<p>;<\/p>\n<p>;END OF THE SITE CUSTOMIZATION FILE<\/p>\n<h2><a name=\"_Toc106628969\"><\/a>1.2.Spectre\u4eff\u771f\u7ed3\u679c\u5b58\u653e\u95ee\u9898\u7684\u89e3\u51b3<\/h2>\n<p>cadence spectre \u8dd1\u4eff\u771f\u7684\u65f6\u5019\uff0c\u7ecf\u5e38\u4f1a\u56e0\u4e3a\u4eff\u771f\u6587\u4ef6\u592a\u5927\u4f7f\u5f97home\u6587\u4ef6\u5939\u6ee1\uff0c\u90a3\u4e48\u5982\u4f55\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u5462\uff1f\u8fd9\u91cc\u7ed9\u51fa\u4e00\u4e2a\u89e3\u51b3\u529e\u6cd5\u3002<\/p>\n<p><strong>\u65b9\u6cd5<\/strong><strong>1\uff1a<\/strong><\/p>\n<p>\u9996\u5148\u7ed9\u51fa\u4e00\u4e9b\u4e4b\u524d\u4e00\u4e9b\u76f8\u5173\u7684\u5e16\u5b50\u6216\u8005\u535a\u5ba2\u3002<\/p>\n<p><a href=\"http:\/\/bbs.eetop.cn\/viewthread.php?tid=348139\">http:\/\/bbs.eetop.cn\/viewthread.php?tid=348139<\/a><\/p>\n<p><a href=\"http:\/\/blog.sina.com.cn\/s\/blog_74dffc060102x54q.html\">http:\/\/blog.sina.com.cn\/s\/blog_74dffc060102x54q.html<\/a><\/p>\n<p>\u901a\u8fc7.cdsenv \u8bbe\u7f6e\u9ed8\u8ba4\u7684\u4eff\u771f\u5668\uff08Simulator\uff09:<\/p>\n<p>asimenv.startup simulator string &#8220;spectre&#8221;<\/p>\n<p>\u8bbe\u7f6e\u9ed8\u8ba4\u7684\u4eff\u771f\u7ed3\u679c\u5b58\u653e\u8def\u5f84\uff08Project directory\uff09:<\/p>\n<p>asimenv.startup projectDir string &#8220;~\/simulation&#8221;<\/p>\n<p>\u6b64\u5904\u4e24\u6761\u8bbe\u7f6e\u4e5f\u53ef\u4ee5\u901a\u8fc7.cdsinit\u6765\u8bbe\u7f6e<\/p>\n<p><strong>envSetVal(&#8220;asimenv.startup&#8221; &#8220;simulator&#8221; &#8216;string &#8220;spectre&#8221;)<\/strong><\/p>\n<p><strong>envSetVal(&#8220;asimenv.startup&#8221;&#8221;projectDir&#8221; &#8216;string &#8220;\/work\/home\/rchen\/simulation&#8221;)&nbsp;<\/strong><\/p>\n<p><strong>\u65b9\u6cd5<\/strong><strong>2\uff1a<\/strong><\/p>\n<p>link simulation\u6587\u4ef6\u5939\u8def\u5f84<\/p>\n<p>\u4f8b\u5982\u5728\/work\/home\/xxx\u4e0b\u521b\u5efasimulation<\/p>\n<p>\u7136\u540eln -s \/work\/home\/xxx\/simulation \/simulation<\/p>\n<h2><a name=\"_Toc106628970\"><\/a>1.3.cadence\u4e2d\u96c6\u6210hspice\u4eff\u771f\u8f6f\u4ef6<\/h2>\n<p>\u5728\u4e2a\u4eba\u5de5\u4f5c\u76ee\u5f55.cdsinit\u6700\u540e\u6dfb\u52a0\u5185\u5bb9spiceADE.ile\u7684\u63a5\u53e3\u8def\u5f84<\/p>\n<p>\uff08\u6ca1\u6709\u8bf7\u6dfb\u52a0.cdsinit\uff0c\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u8def\u5f84\uff1a&lt;Cadence install_dir&gt;\/tools\/dfII\/samples\/local\/cdsinit\u62f7\u8d1d\u5230\u81ea\u5df1\u7684\u5de5\u4f5c\u76ee\u5f55\uff09<\/p>\n<p><strong>load(&#8220;\/cadtools\/synopsys\/hspice_vS-2021.09\/interface\/spiceADE.ile&#8221;) <\/strong><\/p>\n<p>\u5728\u73af\u5883\u53d8\u91cf\u4e2d\u52a0\u5165\uff08\u4ee5.cshrc\u4e3a\u4f8b\uff09<\/p>\n<p><strong>setenv CDS_LOAD_ENV CSF<\/strong><\/p>\n<p>\u4fdd\u5b58\u5b8c\uff0csource\u4e00\u4e0b<\/p>\n<p>3\u3001\u8bbe\u7f6ecadence<\/p>\n<p>\u5728\u65b0\u5efa\u6587\u4ef6\u5939\u4e0b\u542f\u52a8virtuoso\uff0c\u6253\u5f00ADE L\uff0c<\/p>\n<p>\u5728ADE\u4e0b\u4fee\u6539\u4eff\u771f\u5de5\u5177\u5c31\u53ef\u4ee5\u8fdb\u884c\u4eff\u771f\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"462\" class=\"alignnone wp-image-906 size-full\" src=\"http:\/\/www.rchen.top\/wp-content\/uploads\/2022\/07\/Pasted-21.png\"><\/p>\n<h2><a name=\"_Toc106628971\"><\/a>1.4.cadence\u4e2d\u96c6\u6210calibre\u5f00\u53d1\u73af\u5883<\/h2>\n<p>1\u3001\u9996\u5148\u67e5\u770bcalibre\u5b89\u88c5\u8def\u5f84<\/p>\n<p>which calibre<\/p>\n<p><strong>\/cadtools\/mentor\/aoj_cal_2020.4_34.17\/aoj_cal_2020.4_34.17\/bin\/calibre<\/strong><\/p>\n<p>2\u3001\u5728\u4e2a\u4eba\u5de5\u4f5c\u76ee\u5f55\u4e0b.cdsinit\u4e2d\u52a0\u5165<\/p>\n<p><strong>load(&#8220;\/cadtools\/mentor\/aoj_cal_2020.4_34.17\/aoj_cal_2020.4_34.17\/\/lib\/calibre.OA.skl&#8221;)<\/strong><\/p>\n<p>3\u3001\u542f\u52a8virtuoso \u4f7f\u7528<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"137\" class=\"alignnone wp-image-907 size-full\" src=\"http:\/\/www.rchen.top\/wp-content\/uploads\/2022\/07\/Pasted-22.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.1.cadence IC617\u521d\u59cb\u8bbe\u7f6e \uff080\uff09\u521b\u5efa\u4e00\u4e2aworkspace\u6587\u4ef6\u5939\u4f5c\u4e3a\u4ee5\u540e\u7684\u5de5\u4f5c\u76ee\u5f55\uff0c\u5e76\u5728\u8fd9\u4e2a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":473,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90],"tags":[107],"class_list":["post-905","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-eda","tag-eda"],"_links":{"self":[{"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/posts\/905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rchen.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=905"}],"version-history":[{"count":2,"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/posts\/905\/revisions"}],"predecessor-version":[{"id":909,"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/posts\/905\/revisions\/909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rchen.top\/index.php?rest_route=\/wp\/v2\/media\/473"}],"wp:attachment":[{"href":"https:\/\/www.rchen.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rchen.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rchen.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}