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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 24121|回复: 14

【求助】新手请教hspice调用库文件

[复制链接]
发表于 2008-4-22 23:33:34 | 显示全部楼层 |阅读模式

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

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

x
各位,请教一个简单的问题,我的hspice是200709,在调用库文件时总是报错。
请各位指点迷津
sp文件如下:

*HSPICE SIMULATION FILE EX3-12
.OPTIONS POST=2 LIST
*COMMON-SOURCE USING ACTIVE LOAD
.lib   'C:\synopsys\opConditions.lib'tt
M1 1 1 VDD VDD tt W=8U L=2U
M2 OUT 1 VDD VDD tt W=8U L=2U
M3 OUT VIN GND GND tt W=40U L=2U
IREF 1 0 400U
VIN VIN GND AC 1 SIN(1 0.01 1K)
VDD VDD GND DC 3.3
.PRINT TRAN V(OUT)
.AC DEC 30 1 1G
.TRAN 1M 5M
.END
下面是.lib文件:
**** Nominal Voltage, Room Temperature, Typical Process
.lib TT
.temp 70
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl TT
*       SS    nl, pl, RCslo     Hi temp, lo supply voltage
.lib SS
.temp 125
.param Supply='0.9 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SS
*       FF    nh, ph, RCfas     Lo temp, hi supply voltage
.lib FF
.temp 0
.param Supply='1.1 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FF
*       FS    nh, pl, RCnom     Hi temp, lo supply voltage
.lib FS
.temp 125
.param Supply='0.9 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FS
*       SF    nl, ph, RCnom     Lo temp, hi supply voltage
.lib SF
.temp 0
.param Supply='1.1 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SF
*       FS    nh, pl, RCnom     Hi temp, lo supply voltage
.lib FSM
.temp 50
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FS
*       SF    nl, ph, RCnom     Lo temp, hi supply voltage
.lib SFM
.temp 50
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SF
*       SLOW  nt, pt, RCnom     Hi temp, lo supply voltage
.lib SLOW
.temp 125
.param Supply='0.9 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SLOW
*       FAST  nt, pt, RCnom     Lo temp, hi supply voltage
.lib FAST
.temp 0
.param Supply='1.1*Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FAST

*       nt, pt, RCnom     med temp, nom supply voltage
.lib TM
.temp 70
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl TM
*       nf, pf, RCfast     med temp, nom supply voltage
.lib FM
.temp 70
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FM
*       ns, ps, RCslow     med temp, nom supply voltage
.lib SM
.temp 70
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SM
*
.lib ST
.temp 25
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl ST
*
.lib flatten
.param Supply=0
.model nmos NMOS LEVEL=1 LD=0 XW=0
.model pmos PMOS LEVEL=1 LD=0 XW=0
.endl flatten
可为什么总是报错:
**error** (C:\synopsys\opConditions.lib:8)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:12)  could not find library file named ss
  .param Supply='0.9 * Sup'
  **error** (C:\synopsys\opConditions.lib:15)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:19)  could not find library file named ff
  .param Supply='1.1 * Sup'
  **error** (C:\synopsys\opConditions.lib:22)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:26)  could not find library file named fs
  .param Supply='0.9 * Sup'
  **error** (C:\synopsys\opConditions.lib:29)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:33)  could not find library file named sf
  .param Supply='1.1 * Sup'
  **error** (C:\synopsys\opConditions.lib:36)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:40)  could not find library file named fsm
  .param Supply='Sup'
  **error** (C:\synopsys\opConditions.lib:43)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:47)  could not find library file named sfm
  .param Supply='Sup'
  **error** (C:\synopsys\opConditions.lib:50)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:54)  could not find library file named slow
  .param Supply='0.9 * Sup'
  **error** (C:\synopsys\opConditions.lib:57)  could not find include file named 100nm_nominal.sp
  .unprot
  **error** (C:\synopsys\opConditions.lib:61)  could not find library file named fast
  .param Supply='1.1*Sup'
  **error** (C:\synopsys\opConditions.lib:64)  could not find include file named 100nm_nominal.sp
  .unprot
**error** library number  100 too large
  .param Supply='Sup'
**error** library number  101 too large
  .unprot
**error** library number  102 too large
  .param Supply='Sup'
**error** library number  103 too large
  .unprot
**error** library number  104 too large
  .param Supply='Sup'
**error** library number  105 too large
  .unprot
**error** library number  106 too large
  .param Supply='Sup'
**error** library number  107 too large
  .unprot
**error** library number  108 too large

  **warning** .prot and .unpr not matched,  unencrypted information may be enclosed.
发表于 2008-4-23 00:00:38 | 显示全部楼层
.lib 'C:\synopsys\opConditions.lib'tt

这句话可能有点问题,在tt前加个空格看一下,以前遇到过
lib 'C:\synopsys\opConditions.lib' tt
发表于 2008-4-29 18:25:49 | 显示全部楼层
谢谢 参考参考
发表于 2009-8-7 15:54:51 | 显示全部楼层
呵呵呵,我也遇到这样的问题了。
发表于 2009-8-14 10:46:58 | 显示全部楼层
include的路径不对吧?
发表于 2009-10-26 17:24:22 | 显示全部楼层
没人帮忙解决吗?!
发表于 2009-11-28 13:05:38 | 显示全部楼层
两个错误:1.没有设置SUP值。
2.*SP模型文件没找到
发表于 2010-2-14 05:00:16 | 显示全部楼层
good docs/
发表于 2010-4-25 10:48:14 | 显示全部楼层
What is it meaning?
发表于 2010-10-18 20:57:37 | 显示全部楼层
同问!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-11-17 11:46 , Processed in 0.023078 second(s), 8 queries , Gzip On, Redis On.

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