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

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 5585|回复: 18

[原创] 关于ocean,出图问题,求助

[复制链接]
发表于 2014-10-7 10:03:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
QQ图片20141007100747.png
通过写脚本,我想先简单地看温度变化时vth的变化,但是出图之后,横坐标没有意义,vth是直线。怎么才能有vth随温度变化的一个曲线?
发表于 2014-10-7 10:09:25 | 显示全部楼层
本帖最后由 天牛不唱歌 于 2014-10-8 13:34 编辑

把代码贴出来看一下。解决办法请看11楼!
 楼主| 发表于 2014-10-7 11:22:20 | 显示全部楼层
回复 2# 天牛不唱歌

simulator( 'spectre )design(
"/home/gl/simulation/test1/spectre/schematic/netlist/netlist")
resultsDir( "/home/gl/simulation/test1/spectre/schematic" )
tplist=list(0 10 20 30)
foreach(tp tplist
modelFile(
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_mos_cap_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmvar25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_disres")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_bip")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_bip")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_na")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfres_sa")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfjvar")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_mos_cap_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_disres")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_ulvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfres_sa")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmvar25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_mim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_hvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_res")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmos")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_hvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfsbd")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_lvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfind")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_lvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_mos_cap")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_rfmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_lvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmos")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_na")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_res")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_disres")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_hvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_mos_cap")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_ulvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfres_rpo")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfrtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_na25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmos25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfres_rpo")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_esd")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmos25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_bip_npn")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_bip_npn")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfrtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmvar")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_res")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_mim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_dnw")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_na25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_na25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmvar")
)
analysis('tran ?stop "1u"  ?step "1p"  ?maxstep "1p"  )
desVar(
  "vds" 2
)
desVar(
  "vgs" 1
)
desVar(
  "w" 2u
)
envOption(

'analysisOrder  list("dc" "tran")
)
temp( tp )
run()
plot( OP("/M0" "vth") )
)
 楼主| 发表于 2014-10-7 11:22:48 | 显示全部楼层
simulator( 'spectre )
design(         "/home/gl/simulation/test1/spectre/schematic/netlist/netlist")
resultsDir( "/home/gl/simulation/test1/spectre/schematic" )
tplist=list(0 10 20 30)
foreach(tp tplist
modelFile(
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_mos_cap_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmvar25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_disres")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_bip")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_bip")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_na")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfres_sa")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfjvar")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_mos_cap_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_disres")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_ulvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfres_sa")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmvar25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_mim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_hvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_res")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmos")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_hvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfsbd")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_lvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfind")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_lvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_mos_cap")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_rfmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_lvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmos")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_na")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_res")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_disres")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_hvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_mos_cap")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_ulvt")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfres_rpo")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfrtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_na25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmos25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfres_rpo")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_esd")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmos25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_bip_npn")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_bip_npn")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfrtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rtmom")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_rfmvar")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_res")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_mim")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "tt_dio_dnw")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "stat_mis_na25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_na25")
    '("/home/gl/tsmc90/90n/tsmcN90rf/../models/spectre/crn90lp_2d5_lk_v1d2.scs" "mc_rfmvar")
)
analysis('tran ?stop "1u"  ?step "1p"  ?maxstep "1p"  )
desVar(          "vds" 2        )
desVar(          "vgs" 1        )
desVar(          "w" 2u        )
envOption(
        'analysisOrder  list("dc" "tran")
)
temp( tp )
run()
plot( OP("/M0" "vth") )
)
发表于 2014-10-7 13:16:09 | 显示全部楼层
关键是Vth存在直流工作点分析结果里面,没有在DC sweep结果里面。
 楼主| 发表于 2014-10-7 13:55:29 | 显示全部楼层
本帖最后由 hyp2014 于 2014-10-7 13:58 编辑

回复 5# amodaman


   那该怎么做,我有做过参数扫描
 楼主| 发表于 2014-10-7 16:42:27 | 显示全部楼层
回复 5# amodaman


   帮帮忙,一直都没弄出来
发表于 2014-10-7 20:27:49 | 显示全部楼层
可以参数扫描加计算器的OP选项就可以出来
 楼主| 发表于 2014-10-7 20:43:49 | 显示全部楼层
回复 8# ccp106


   通过计算器得到vth的算式,也做了参数扫描,但是ocean仿真图形中横坐标好像没有意义,纵坐标是vth。所以得到上面的图
发表于 2014-10-8 04:29:34 | 显示全部楼层
回复 3# hyp2014


    dear
can you upload tsmc90nm pdk in eetop or upload only calibre and assura folder
thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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


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

GMT+8, 2024-11-9 09:20 , Processed in 0.033581 second(s), 11 queries , Gzip On, Redis On.

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