在线咨询 切换到宽版
eetop公众号 创芯大讲堂 创芯人才网

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
楼主: wapoca

[求助] 如何提取CDL时让电阻例化?

[复制链接]
发表于 2012-5-6 19:33:21 | 显示全部楼层
回复 10# wapoca


    ...没坐过,咋知道
回复 支持 反对

使用道具 举报

发表于 2012-5-7 13:18:20 | 显示全部楼层



Step 1: check (and try) if you get to generate correct netlsit from hspiceD views. -> You already mentioned your library did not have hspiceD views.

Alternative: use a (sed/awk/perl) script to post-process the CDL netlist.

    RGPS_1 net1 net2 $[RGPNC] $W=1u $L=10u

In your specific case, since you only need to post-process the resistor netlist format, it can be done by a fairly simple "sed" script.

Contents of the sed script (for instance, let me call it raw.sed) is as follows:

   s/\$\[//
   s/\]//
   s/\$//g

Excecute the following command under Linux:

   sed -f raw.sed YourNetlistFileName > raw.out

, where YourNetlistFileName is the name of original netlist file.
Check and see if the processed netlist in raw.out has the format you need.

Good luck!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-5-7 17:00:51 | 显示全部楼层
回复 12# fhchen2002
Thank you for your sharing.But i dont want to modify my netlist manully everytime.
do you have any other method?
Thanks
回复 支持 反对

使用道具 举报

发表于 2012-5-8 12:48:41 | 显示全部楼层
回复 13# wapoca


This is not manual editing.
This automation is executed by (Unix/Linux) shell script.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-8-24 23:14 , Processed in 0.011792 second(s), 3 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表