HSPICE中这样使用param有错误码?
时间:10-02
整理:3721RD
点击:
***** Power Supply 5V***** $参数赋值
.PARAM Vp=5.0V
.param W1=140u L1=0.8uW2=140u L2=0.8u
.param W3=60u L3=1.8uW4=60u L4=1.8u
.param W5=18u L5=0.8u
.param W6=240u L6=1.2u
为什么编译到第二行就有错误呢?
syntax error at or before "Vp" "5.0V"
Syntax reference:
Syntax
Simple parameter assignment:
.PARAM ParamName=RealNumber
Algebraic parameter assignments:
.PARAM ParamName='AlgebraicExpression'
.PARAM ParamName1=ParamName2
User-defined functions:
.PARAM ParamName(pv1[pv2])='Expression'
predefined analysis functions:
.PARAM FunctionName=Value
Optimized parameter assignment:
.PARAM parameter=OPTxxx (initial_guess, low_limit,
+ upper_limit)
.PARAM parameter=OPTxxx (initial_guess, low_limit,
+ upper_limit, delta)
.PARAM paramname=str('string')
这样子从格式上看没有错误啊 ?
问题到底出在哪里呢
.PARAM Vp=5.0V
.param W1=140u L1=0.8uW2=140u L2=0.8u
.param W3=60u L3=1.8uW4=60u L4=1.8u
.param W5=18u L5=0.8u
.param W6=240u L6=1.2u
为什么编译到第二行就有错误呢?
syntax error at or before "Vp" "5.0V"
Syntax reference:
Syntax
Simple parameter assignment:
.PARAM ParamName=RealNumber
Algebraic parameter assignments:
.PARAM ParamName='AlgebraicExpression'
.PARAM ParamName1=ParamName2
User-defined functions:
.PARAM ParamName(pv1[pv2])='Expression'
predefined analysis functions:
.PARAM FunctionName=Value
Optimized parameter assignment:
.PARAM parameter=OPTxxx (initial_guess, low_limit,
+ upper_limit)
.PARAM parameter=OPTxxx (initial_guess, low_limit,
+ upper_limit, delta)
.PARAM paramname=str('string')
这样子从格式上看没有错误啊 ?
问题到底出在哪里呢
果断顶起来
应该是不带后面的单位吧,应该有默认的单位
mmmmmmm