• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Digital Implementation
  3. How use subcircuit in model file for signal storm.

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 90
  • Views 5257
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How use subcircuit in model file for signal storm.

TiNat
TiNat over 13 years ago

Hello. I am novice at characterization of libraries in signal storm tool. At the beginning I meet problems at defining model file.
My model file contains subcircuit. In Manual I have read
syntax of spectre format like that:
--------------------
subckt pfet D G S B
M1 (1 2 3 4) P w=9e-8 l=9e-8 ad=0.528p as=0.148p ...
ends pfet
model P bsim3v3 \
level=6 ...\
model N bsim3v3 \
level=6 ...\

My model file is 
subckt pmos D G S B
m1 (D G S B) pmos l=l w=w ad=ad as=as ps=ps pd=pd nrs=nrs nrd=nrd 
ends pmos

model pmos bsim3v3 version=3.22 type=p
+ binunit=1
+ nch= 3.31393E+017
+ nsub =1.897E+016
+ tox =7E-009
+ rdsw = 1300
+ voff = -0.153593
+ vsat = 151039
+ wint=4.41273E-008
+ lint=-7.12E-008
+ rsh = 4
+ vfb = -1
+ xt = 9.23048E-008
+ xj = 1.5E-007
+ prwg = 0.3437
+ prwb = 0.4112
+ dwg = -6.65001E-010
+ dwb = 3.04E-008
+ wrdsw = 0
+ k3 = -17
+ k3b = -0.583261
+ b0 = 5.48E-007
+ b1 = 3.6585E-006
+ dvt0 = 1.005
+ dvt1 = 0.08832
+ dvt2 = -8.882E-017
+ keta = 0.00876284
+ nfactor = 1.02314
+ lnfactor = 0.182
+ lvoff = -0.006
+ wnfactor = 0.392
+ cit = -0.00064062
+ mobmod = 1
+ u0 = 96.2094
+ ua = -3.993E-010
+ ub = 1.13201E-018
+ uc = -5.55112E-027
+ ags = 0.295867
+ a0 = 0.672982
+ la0 = -0.386036
+ pclm = 0.922
+ drout = 0.340408
+ delta = 0.0226
+ alpha0 = -7.32944E-008
+ alpha1 = 0.138878
+ beta0 = 31.6113
+ lbeta0 = -6.70523
+ pscbe1 = 1.07E+009
+ pscbe2 = 0.0001
+ wwl = 0
+ lw = 0
+ wl = -8E-015
+ capmod = 1
+ js = 2.19944E-007
+ minr = 1E-06
+ tnom = 27
+ cgdo = 2.958E-10
+ cgso = 2.958E-10
+ cgbo = 1.97E-11
+ cj = 1.447E-3
+ cjsw = 581.4E-12
+ pb = 0.5
+ pbsw = 0.5
+ mj = 0.3353
+ mjsw = 0.2413
+ fc = 0.5
+ xpart = 0.5
+ kt1 = -0.550939
+ ute = -1.5
+ kt2 = -0.0794328
+ ua1 = 4.44089E-022
+ ub1 = -1.56704E-018
+ uc1 = -8.88178E-026
+ at = 31560
+ prt = 3011
+ kt1l = 5.48239E-008


But when I enter command
db_install -model model.scs -subckt IN1X.sp
I get following warnings:
[WARNING(db_install)] spice syntax warning: illegal line order or unknown device [ file = model.scs, #line = 3 ]
=> subckt pmos D G S B
[WARNING(db_install)] spice syntax warning: illegal line order or unknown device [ file = model.scs, #line = 4 ]
=> m1 1 2 3 4 pmos l=l w=w ad=ad as=as ps=ps pd=pd nrs=nrs nrd=nrd
[WARNING(db_install)] spice syntax warning: illegal line order or unknown device [ file = model.scs, #line = 5 ]
=> ends pmos
Reading MODEL: PMOS
Who can help me, what is the matter?

 

Regards.
  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information