微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > RFIC设计学习交流 > 新手请教hspice调用库文件

新手请教hspice调用库文件

时间:10-02 整理:3721RD 点击:
各位,请教一个简单的问题,我的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
*SSnl, pl, RCsloHi temp, lo supply voltage
.lib SS
.temp 125
.param Supply='0.9 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SS
*FFnh, ph, RCfasLo temp, hi supply voltage
.lib FF
.temp 0
.param Supply='1.1 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FF
*FSnh, pl, RCnomHi temp, lo supply voltage
.lib FS
.temp 125
.param Supply='0.9 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FS
*SFnl, ph, RCnomLo temp, hi supply voltage
.lib SF
.temp 0
.param Supply='1.1 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SF
*FSnh, pl, RCnomHi temp, lo supply voltage
.lib FSM
.temp 50
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FS
*SFnl, ph, RCnomLo temp, hi supply voltage
.lib SFM
.temp 50
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SF
*SLOWnt, pt, RCnomHi temp, lo supply voltage
.lib SLOW
.temp 125
.param Supply='0.9 * Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl SLOW
*FASTnt, pt, RCnomLo temp, hi supply voltage
.lib FAST
.temp 0
.param Supply='1.1*Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FAST
*nt, pt, RCnommed temp, nom supply voltage
.lib TM
.temp 70
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl TM
*nf, pf, RCfastmed temp, nom supply voltage
.lib FM
.temp 70
.param Supply='Sup'
.prot
.include '100nm_nominal.sp'
.unprot
.endl FM
*ns, ps, RCslowmed 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 number100 too large
.param Supply='Sup'
**error** library number101 too large
.unprot
**error** library number102 too large
.param Supply='Sup'
**error** library number103 too large
.unprot
**error** library number104 too large
.param Supply='Sup'
**error** library number105 too large
.unprot
**error** library number106 too large
.param Supply='Sup'
**error** library number107 too large
.unprot
**error** library number108 too large
**warning** .prot and .unpr not matched,unencrypted information may be enclosed.

.lib 'C:\synopsys\opConditions.lib'tt
这句话可能有点问题,在tt前加个空格看一下,以前遇到过
lib 'C:\synopsys\opConditions.lib' tt

谢谢 参考参考

呵呵呵,我也遇到这样的问题了。

include的路径不对吧?

没人帮忙解决吗?!

两个错误:1.没有设置SUP值。
2.*SP模型文件没找到

good docs/

What is it meaning?

同问!

不用Hspice,先看看

同样的问题呀。

环境变量看看

hspice是不是必须安装在默认的路径下啊?

遇到同样问题!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top