Cc Analoglib Ref
Cc Analoglib Ref
Reference Manual
Version W-2024.09, September 2024
Copyright and Proprietary Information Notice
© 2024 Synopsys, Inc. This Synopsys software and all associated documentation are proprietary to Synopsys, Inc.
and may only be used pursuant to the terms and conditions of a written license agreement with Synopsys, Inc. All
other use, reproduction, modification, or distribution of the Synopsys software or the associated documentation is
strictly prohibited.
Destination Control Statement
All technical data contained in this publication is subject to the export control laws of the United States of America.
Disclosure to nationals of other countries contrary to United States law is prohibited. It is the reader’s responsibility to
determine the applicable regulations and to comply with them.
Disclaimer
SYNOPSYS, INC., AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Trademarks
Synopsys and certain Synopsys product names are trademarks of Synopsys, as set forth at
https://www.synopsys.com/company/legal/trademarks-brands.html.
All other product or company names may be trademarks of their respective owners.
Free and Open-Source Licensing Notices
If applicable, Free and Open-Source Software (FOSS) licensing notices are available in the product installation.
Third-Party Links
Any links to third-party websites included in this document are for your convenience only. Synopsys does not endorse
and is not responsible for such websites and their practices, including privacy practices, availability, and content.
www.synopsys.com
Contents
New in This Release . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Related Products, Publications, and Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Statement on Inclusivity and Diversity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3
Feedback
Contents
4
Feedback
Contents
pnp4a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
nsoi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
psoi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
nsoi4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
psoi4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
nsoifd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
psoifd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
nsoifd4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
psoifd4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
schottky . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
sp1tswitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 112
sp2tswitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
sp3tswitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
sp4tswitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
u1wire, u2wire, u3wire, u4wire, u5wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Independent Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
bcs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
bvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
iam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
ibit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
idc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
iexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
ilfsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
ipat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
ipulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
ipwl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
ipwlf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
ipwlz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
iprbs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 149
isffm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
isin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 155
5
Feedback
Contents
isource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 165
Using isource to Set up Harmonic Balance or Shooting PSS
Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
ivmrf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
multibit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
n1port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 171
n2port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 174
n3port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 177
n4port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 180
ncs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 182
nport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Using nport to Run PrimeSim Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . .187
nport_ref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
nvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 194
pam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Updating Port Number Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
pdc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196
Updating Port Number Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
pexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199
Updating Port Number Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
plfsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Updating Port Number Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 216
Updating Port Number Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Using port to Set up Harmonic Balance or Shooting PSS simulations . . . .216
port3t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
pprbs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Controlling Version Number for Legacy Designs . . . . . . . . . . . . . . . . . . . . 228
Updating Port Number Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
ppulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
6
Feedback
Contents
7
Feedback
Contents
pcccs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
pccvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
pvccs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
pvcvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
pvcvs2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
svccs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
svcvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
vccs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
vcvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
zvccs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
zvcvs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Global Nets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
gnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
gnd_connDef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
gndd! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
vcc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
vccd! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
vdd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .325
vdd_connDef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
vdda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
vddd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
vee! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
veed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
vssa! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
vssd! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
8
Feedback
Contents
dbAnalogLibIsourceVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
dbAnalogLibNcsVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .335
dbAnalogLibNportVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
dbAnalogLibNvsVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .336
dbAnalogLibNxPortVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
dbAnalogLibMTlineVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
dbAnalogLibPcapacitorVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
dbAnalogLibPdiodeVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
dbAnalogLibPinductorVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
dbAnalogLibPortVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
dbAnalogLibPprbsVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
dbAnalogLibPpwlVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
dbAnalogLibPsinVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
dbAnalogLibPulseExpV1V2Remap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
dbAnalogLibSp1tswitchVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
dbAnalogLibSp1t2tswitchEmptyOffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .342
dbAnalogLibSwitchVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
dbAnalogLibTlineVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
dbAnalogLibVccsVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
dbAnalogLibVcresVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
dbAnalogLibVcvsVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
dbAnalogLibVprbsVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
dbAnalogLibVsinVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
dbAnalogLibVsourceVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
dbAnalogLibWindingVersion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
nlHSPICESkipEmptyDC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
3. rfLib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
msource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
CDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
9
Feedback
• PrimeSim™ CCK
• PrimeSim™ MOSRA
• VCS® PrimeSim™ AMS
• Synopsys FineSim®
• Synopsys HSPICE®
• Synopsys VCS®
• Synopsys Verdi®
• Synopsys OptoCompiler™
• Synopsys StarRC™
• Mentor Graphics® Calibre®
Conventions
The following conventions are used in Synopsys documentation.
Convention Description
Courier bold Indicates user input—text you type verbatim—in examples, such
as
prompt> write_file top
Convention Description
Edit > Copy Indicates a path to a menu command, such as opening the Edit
menu and choosing Copy.
Customer Support
Customer support is available through SolvNetPlus.
Accessing SolvNetPlus
The SolvNetPlus site includes a knowledge base of technical articles and answers to
frequently asked questions about Synopsys tools. The SolvNetPlus site also gives you
access to a wide range of Synopsys online services including software downloads,
documentation, and technical support.
To access the SolvNetPlus site, go to the following address:
https://solvnetplus.synopsys.com
If prompted, enter your user name and password. If you do not have a Synopsys user
name and password, follow the instructions to sign up for an account.
If you need help using the SolvNetPlus site, click REGISTRATION HELP in the top-right
menu bar.
environment, including terms that are embedded in our software and IPs. At the same
time, we are working to ensure that our web content and software applications are usable
to people of varying abilities. You may still find examples of non-inclusive language in our
software or documentation as our IPs implement industry-standard specifications that are
currently under review to remove exclusionary language.
1
analogLib Elements
Describes cells inside analogLib elements and provides examples of how to use those
devices.
The analogLib library contains elements used for building testbenches and providing
necessary stimulus for devices under test. These elements include resistors, capacitors,
independent and behavioral voltage sources, and more.
Elements from analogLib are used in all testbenches. The simplest examples are power
and ground supplies. A corresponding element from the analogLib is added so the
simulator can understand which node is the ground node and which one is supply, as well
as the supply value.
For information about how to copy symbols from the analogLib into your library or how to
copy simulation views from the analogLib into your library, see the Custom Compiler iPDK
Developer Guide.
You can find a sample model file for devices inside the analogLib library in
<product_installation_directory>/samples.
The following sections describe the cells of the analogLib library. Each section includes an
element description, a CDF parameter table, references to HSPICE documentation, and
an example of the netlist with that device.
• Passive Elements
• Active Elements
• Independent Sources
• Dependent Sources
• Global Nets
Passive Elements
The following topics describe:
• cap
• cap3
• cap4
• cccap
• core
• dcblock
• dcfeed
• delay
• ind
• Controlling Version Number for Legacy Designs
• iprobe, iprobe1
• ixfmr
• mind
• msline
• mtline
• phyres
• res
• res3
• res4
• switch
• tline
• u1wire - u5wire
• varactor
• varactor3
• vccap
• vcres
• winding
• xfmr
cap
Two-terminal capacitor device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Capacitance c 1p X X X
Initial Condition ic X X -
Temperature tc1 X X -
Coefficeint 1
Temperature tc2 X X -
Coefficient 2
Width w X X X
Length l X X X
Multiplier m X X X
Number of polyCoef 0 - X -
Polynomial Coeffs
c1-20 c1-20 - X -
Example
c4 plus minus c=1p
See Also
• Passive Elements in the HSPICE® User Guide: Elements
cap3
Three-terminal custom macro model capacitor device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Capacitance c 1p X - X
Initial Condition ic X - -
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Width w X - X
Length l X - X
Multiplier m X - X
Example
xc5 plus minus b cap3 c=1p
Model Statement
.subckt cap3 p m b c=1p
cmain p m c=c
.ends
cap4
Four-terminal custom macro model capacitor device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Capacitance c 1p X - X
Initial Condition ic X - X
Temperature tc1 X - X
Coefficeint 1
Temperature tc2 X - X
Coefficient 2
Width w X - X
Length l X - X
Multiplier m X - X
Example
xc6 plus minus b t cap4 c=1p
Model Statement
.subckt cap4 p m b t c=1p
cmain p m c=c
.ends
cccap
Two-terminal charge-conserved capacitor. Capacitance is calculated based on provided
charge equation.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Charge Equation q X - X
Example
c7 n1 n2 q='(1e-9*V(10))'
See Also
• Charge-conserved Capacitors in the HSPICE® User Guide: Elements
core
Magnetic core element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Magnetization mag X - -
Winding 1 l1 X - -
Winding 2 l2 X - -
Winding 3 l3 X - -
Winding 4 l4 X - -
Winding 5 l5 X - -
Winding 6 l6 X - -
Winding 7 l7 X - -
Winding 8 l8 X - -
Winding 9 l9 X - -
Winding 10 l10 X - -
Winding 11 l11 X - -
Winding 12 l12 X - -
Winding 13 l13 X - -
Winding 14 l14 X - -
Winding 15 l15 X - -
Winding 16 l16 X - -
Winding 17 l17 X - -
Winding 18 l18 X - -
Winding 19 l19 X - -
Winding 20 l20 X - -
Multiplier m - X -
Outer diameter od - X -
Example
l1 2 0 nt=300
l2 3 0 nt=90
l3 0 4 nt=90
kcore1 l1 l2 l3 core mag=0
Model Statement
.model core l(ac=1e4 lc=100 hc=.1 tc=1u br=6.4k
+ bs=6.75k hs=.6 hcr=0)
See Also
• Inductor Device Model and Equations in the HSPICE® Reference Manual: Device
Models. You can also check the HSPICE installation directory for a demo netlist:
<HSPICE_INSTALL_DIR>/hspice/demo/hspice/mag/magcore.sp
dcblock
Two-terminal capacitor device, the capacitance is infinite.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Initial Condition ic X X -
Capacitance used in c 1u - X -
tran
Example
c4 plus minus infinity
dcfeed
Two-terminal inductor device, the inductance is infinite.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Initial Condition ic X X -
Inductance used in l 1u - X -
tran
Example
l4 plus minus infinity
delay
This element adjusts propagation delay of E-element which is used as a behavioral
voltage source where the voltage source can be bias and/or frequency dependent.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Delay Time td X X -
Multiplier m - X -
Example
edly1 p n vcvs delay ps ns td=1n scale=1.0 npdelay=2
See Also
• Voltage-Dependent Voltage Sources – E-Elements in the HSPICE® User Guide:
Elements
ind
Inductor element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Inductance 1 1n X X X
Initial Condition ic X X -
Temperature tc1 X - -
Coefficeint 1
Temperature tc2 X - -
Coefficient 2
Resistance r X X -
Multiplier m X X X
Example
l12 plus minus l=1n
iprobe, iprobe1
Current Probe. In the HSPICE netlist, this creates a voltage source with 0 DC voltage. It
computes the current flowing from the PLUS to the MINUS terminal.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Ignore lvsIgnore 1 - - -
Example
v1 p n dc=0
ixfmr
Ideal transformer element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Coupling Coefficient k 1 X - -
Example
e13 n+ n- transformer in+ in- 0.85
See Also
• Ideal Transformer in the HSPICE® User Guide: Elements
mind
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Coupling Coefficient k 1 X X -
Example
k14 l1 l2 k=1.0
See Also
• Inductor Device Model and Equations in the HSPICE® Reference Manual: Device
Models
msline
Microstrip line model.
The following figure illustrates the planar transmission line at the IC-circuits:
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Length l - X -
Width w - X -
Substrate height h - X -
Conductor thickness t - X -
Multiplicity m - X -
mtline
This device models distributed transmission lines using HSPICE W-element.
The W-element supports five formats to specify the transmission line properties:
• Model 1: RLGC-Model specification
◦ Internally specified in a .model statement
◦ Externally specified in a different file
• Model 2: U-Model specification
◦ RLGC input for up to five coupled conductors
◦ Geometric input (planer, coax, twin-lead)
◦ Measured-parameter input
◦ Skin effect
• Model 3: Built-in field solver model
◦ Standard format (using geometric data with the W-element)
◦ Tabular format
• Model 4: Frequency-dependent tabular model
• Model 5: S-parameter Model
The following figure illustrates the mtline element with two conductors:
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Number of n X X -
Conductors
FS Model fsmodel X - -
U Model umodel X - -
S Model smodel X - -
FS Options fsoptions X - -
DC Accuracy dcacc X - -
Temperature dtemp X - -
Difference
Multiplicity factor mf 1 - X -
Carrier frequency fc - X -
Characteristic z0 - X -
impedance
Frequency fmt - X -
Conductor loss qc - X -
quality factor
Dielectric loss fd - X -
frequency
Example
The W1 lossy transmission line connects the in node to the out node:
W1 in gnd out gnd RLGCfile=cable.rlgc N=1 L=5
See Also
• W-element in the HSPICE® User Guide: Elements
phyres
Physical resistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Multiplier m - X -
Resistance r 50 - X -
Capacitance c - X -
Length l - X -
Width w - X -
res
Two-terminal resistor element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Resistance r 1k X X X
Temperature tc1 X X -
Coefficeint 1
Temperature tc2 X X -
Coefficient 2
Multiplier m X X -
AC Resistance ac X X -
Width w X X X
Length l X X X
Capacitance c X X -
Skin Effect rs X - -
Coefficient
Quadratic tc2c - X -
temperature
coefficient of linear
cap
Example
r18 plus minus r=1k
See Also
• Resistors in the HSPICE® User Guide: Elements
res3
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Resistance r 1k X - X
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Multiplier m X - -
AC Resistance ac X - -
Width w X - X
Length l X - X
Capacitance c X - -
Skin Effect rs X - -
Coefficient
Example
xr19 plus minus b res3 r=1k
res4
Custom four-terminal resistor macro model.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Resistance r 1k X - X
Temperature tc1 X - -
Coefficeint 1
Temperature tc2 X - -
Coefficient 2
Multiplier m X - -
AC Resistance ac X - -
Width w X - X
Length l X - X
Capacitance c X - -
Skin Effect rs X - -
Coefficient
Example
xr24 plus minus b t res4 r=1k
switch
Voltage-controlled resistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Closed Resistance r 0 x - -
Open switch ro 1T - X -
resistance
Close switch rc 1 - X -
resistance
Multiplier m - X -
Version version 3 - - -
Note:
• For version 3, the switch element has empty values for the default of vt1 and
vt2 parameters. For legacy designs with version 1 and 2, the switch element
has old default values of vt1=0.1 and vt2=0.
Example
gw0 n+ n- vcr relay nc+ nc- vt1 vt2 ropen r
See Also
• Voltage-Controlled Resistor in the HSPICE® User Guide: Elements
tline
Ideal transmission line model.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Characteristic z0 50 X - -
Impedance
Delay Time td X X -
Length l X - -
Frequency freq X X -
Voltage 1 v1 0 X - -
Current 1 i1 0 X - -
Voltage 2 v2 0 X - -
Current 2 i2 0 X - -
Multiplier m - X -
Resistance r 1K - X -
Loss conductance g - X -
per unit length
Characteristic zo 50 - X -
impedance
Example
t25 in+ in- out+ out- z0=50 td=0 l=5u f=5G ic=v1,i1,v2,i2
See Also
• T-element in the HSPICE® User Guide: Elements
u1wire - u5wire
Lumped Transmission Lines model.
This can be used for modeling lossy non-ideal transmission lines in terms of lumped-
element equivalent circuits.
The U-elements can model effects such as the following:
• Time delay
• Phase shift
• Coupling and Crosstalk
• Distortion
There are several cells which differ by input node counts from one to five.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Length l X - -
Example
u1 In10 In20 In30 Vss Out1 Out2 Out3 Vss IcWire L=200um
.model lcWire U LEVEL=3 Dlev=0 NI=3 Nlay=2 Plev=1 Elev=1
+ Llev=0 Ht=2u Wd=5u Sp=15u Th=1u Rho=2.8e-8 Kd=3.9
See Also
• U-element Examples, Models, and Applications in the HSPICE® User Guide: Elements
varactor
This macro-model device is intended to model voltage dependent capacitor, and has
parameters for model name, width, length and multiplier.
In order to simulate this device, you need to provide model definition using .subckt.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w X - X
Length l X - X
Multiplier m X - X
Example
xc27 n1 n2 varactor w=10u l=3u m=4
Model Statement
.subckt varactor ng nds w=1u l=1u m=1
.param area='l*w'
.param Cmain='20E-11*2*w+1.15E-10*2*l+1.6E-3*area'
.param dC='-1.0E-11*2*w+4E-12*2*l+5.87E-03*area'
.param dVgs='-0.075-7E-05*(temper-27)'
.param Vgn='0.43+4E-04*(temper-27)'
cg ng nds 'm*(Cmain*(1.0+tanh((v(ng,nds)-dVgs)/Vgn)))'
.ends varactor
varactor3
This macro-model device is intended to model voltage dependent capacitor, and has
parameters for model name, width, length and multiplier.
In order to simulate this device, you need to provide model definition using .subckt.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w X - X
Length l X - X
Multiplier m X - X
Example
xc27 n1 n2 sub varactor3 w=10u l=3u m=4
Model Statement
.subckt varactor3 ng nds nsub w=1u l=1u m=1
.param area='l*w'
.param Cmain='20E-11*2*w+1.15E-10*2*l+1.6E-3*area'
.param dC='-1.0E-11*2*w+4E-12*2*l+5.87E-03*area'
.param dVgs='-0.075-7E-05*(temper-27)'
.param Vgn='0.43+4E-04*(temper-27)'
cg ng nds 'm*(Cmain*(1.0+tanh((v(ng,nds)-v(nsub,0)-dVgs)/Vgn)))'
.ends varactor3
vccap
Voltage-controlled capacitor.
The capacitance value between nodes n1 and n2 depends on the voltage specified within
nodes in+ and in-.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Delta delta X X -
Corresp y1-y50 X X -
Element1–50
Temperature tc1 X X -
Coefficient 1
Temperature tc2 X X -
Coefficient 2
Multiplier hm 1 X X -
Capacitance ctype 0 X - -
Calculation Mode
Example
g28 n2 n1 vccap pwl(1) in+ in- 0.05, 20f 0.1, 35f 0.35, 85f smooth=2
ctype=0
See Also
• Voltage-Controlled Capacitor in the HSPICE® User Guide: Elements
vcres
Voltage-controlled resistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Delta delta X - -
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Multiplier hm X - -
Example
g28 n2 n1 vcr in+ in- 1 max=100k min=5k
g28 n2 n1 vcr pwl(1) in+ in- 0.05, 5k 0.1, 7k 0.35, 10k
See Also
• Voltage-Controlled Resistor in the HSPICE® User Guide: Elements
winding
Inductor with magnetic winding.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Initial Condition ic X X -
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Resistance r X X -
Multiplier m X X -
Example
l4 n2 n1 nt=100 r=10
See Also
• Inductors in the HSPICE® User Guide: Elements
xfmr
Mutual inductors with coupling coefficient k.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Primary Inductance pi X - -
Secondary si X - -
Inductance
Coupling Coefficient k 1 X - -
Multiplier m - X -
Number of turns on n1 - X -
primary
Number of turns on n2 - X -
secondary
Example
xk31 p+ p- s+ s- top_xk31
.subckt top_xk31 p1 p2 s1 s2
l1 p1 p2 l=0.5n
l2 s1 s2 l=0.75n
k1 l1 l2 k=0.85
.ends top_xk31
See Also
• Mutual Inductors in the HSPICE® User Guide: Elements
Active Elements
The following topics describe:
• diode
• diode3
• diode4
• ibis_buffer
• mport
• nbsim
• pbsim
• nbsim4
• pbsim4
• njfet
• pjfet
• nmes
• pmes
• nmes4
• pmes4
• nmos
• pmos
• nmos4
• pmos4
• nmos4hv
• pmos4hv
• nmoshv
• pmoshv
• npn
• pnp
• npn4
• npn4a
• pnp4
• pnp4a
• nsoi
• psoi
• nsoi4
• psoi4
• nsoifd
• psoifd
• nsoifd4
• psoifd4
• schottky
• sp1tswitch
• sp2tswitch
• sp3tswitch
• sp4tswitch
• u1wire, u2wire, u3wire, u4wire, u5wire
diode
Two-terminal p-n diode.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Periphery of Junction pj X X X
Width of Polycap wp X X -
Length of Polycap lp X X -
Width of Metalcap wm X X -
Length of Metalcap lm X X -
Width w X X -
Length l X X -
Multiplier m X X X
Example
d32 n2 n1 diode
Model Statement
.model core l(ac=1e4 lc=100 hc=.1 tc=1u br=6.4k
+ bs=6.75k hs=.6 hcr=0)
See Also
• Diode Element in the HSPICE® User Guide: Elements
diode3
Three-terminal diode.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Periphery of Junction pj X - X
Width of Polycap wp X - -
Length of Polycap lp X - -
Width of Metalcap wm X - -
Length of Metalcap lm X - -
Width w X - -
Length l X - -
Multiplier m X - X
diode4
Four-terminal diode.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Periphery of Junction pj X - X
Width of Polycap wp X - X
Length of Polycap lp X - X
Width of Metalcap wm X - X
Length of Metalcap lm X - X
Width w X - X
Length l X - X
Multiplier m X - X
Example
d1 plus minus b t diode4
See Also
• Diode Models in the HSPICE® Reference Manual: Device Models
ibis_buffer
A behavioral method of modeling input/output buffers based on V/I curve data derived from
measurement or full circuit simulation.
There are different IBIS buffer types, including:
• Input buffer
• Output buffer
• Input ECL buffer
• Output ECL buffer
• Tri-state buffer
• Input/Output buffer
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Type typ X X -
Power power X X -
Interpolation interpol X - -
Example
b33 ipc igc iin out_of_in buffer=input
See Also
• Simulating Circuits with IBIS Models in HSPICE in the HSPICE® User Guide: Signal
Integrity Modeling and Analysis
• Using IBIS Files with HSPICE in the HSPICE® User Guide: Signal Integrity Modeling
and Analysis
• Modeling Input/Output Buffers Using IBIS Files in the HSPICE® User Guide: Elements
mport
To measure mixed mode S-parameters you can use a port element with three terminals.
Except for the number of external terminals, the syntax of the port element remains the
same. The LIN analysis function internally sets the necessary drive mode (common/
differential) of these mixed mode port elements. This symbol specifies mixed mode Port
element.
Example
p1 plus minus ref dc=0 z0=50
See Also
• Using the Port Element for Mixed-Mode Measurement in the HSPICE® User Guide:
Elements
nbsim
Three-terminal NMOS device with model name nbsim. By default, the bulk terminal of this
device is connected to gnd!.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Example
m34 d g s gnd! nbsim w=1u l=1u
Model Statement
.model nbsim nmos level=54
See Also
• MOSFETs in the HSPICE® User Guide: Elements
pbsim
Three-terminal PMOS device with model name pbsim. By default, the bulk terminal of this
device is connected to vdd!.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Example
m1 s g d vdd! pbsim w=1u l=1u
Model Statement
.model pbsim pmos level=54
nbsim4
Four-terminal MOS device with model name nbsim4.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Example
m34 d g s b nbsim4 w=1u l=1u
Model Statement
.model nbsim4 nmos level=54
pbsim4
Four-terminal PMOS device with model name pbsim4.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Example
M4 s g d vdd! pbsim4 w=1u l=1u
Model Statement
.model pbsim4 pmos level=54
njfet
Three-terminal Junction Gate Field-Effect transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Multiplier m X X X
Example
j35 d g s gnd! njfet w=1u l=1u
Model Statement
.model njfet njf vto=-1.2 beta=.179m lambda=2.2m rs=70 rd=70
+ is=1.7e-14 cgs=14p cgd=14p
See Also
• JFETs and MESFETs in the HSPICE® User Guide: Elements
pjfet
Three-terminal p-type Junction Gate Field-Effect transistor. By default, bulk terminal is
connected to global net vdd!.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Multiplier m X X X
Example
j4 s g d vdd! pjfet w=1u l=1u
Model Statement
.model pjfet pjf vto=-1.2 beta=.179m lambda=2.2m rs=70 rd=70
+ is=1.7e-14 cgs=14p cgd=14p
nmes
Three-terminal Metal-Semiconductor Field-Effect transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - 4
Length l 1u X - X
Multiplier m X X X
Example
j36 d g s gnd! nmes w=1u l=1u
Model Statement
.model nmes njf vto=-1.2 beta=.179m lambda=2.2m rs=70 rd=70
+ is=1.7e-14 cgs=14p cgd=14p
See Also
• JFETs and MESFETs in the HSPICE® User Guide: Elements
pmes
Three-terminal Metal-Semiconductor Field-Effect transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Multiplier m X X X
Example
jm4 d g s gnd! pmes w=1u l=1u
Model Statement
.model pmes pjf vto=-1.2 beta=.179m lambda=2.2m rs=70 rd=70
+ is=1.7e-14 cgs=14p cgd=14p
nmes4
Four-terminal Metal-Semiconductor Field-Effect transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Multiplier m X - X
Example
j36 d g s b nmes4 w=1u l=1u
Model Statement
.model nmes4 njf vto=-1.2 beta=.179m lambda=2.2m rs=70 rd=70
+ is=1.7e-14 cgs=14p cgd=14p
See Also
• JFETs and MESFETs in the HSPICE® User Guide: Elements
pmes4
Four-terminal Metal-Semiconductor Field-Effect transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Multiplier m X - X
Example
jm4 d g s b pmes4 w=1u l=1u
Model Statement
.model pmes4 pjf vto=-1.2 beta=.179m lambda=2.2m rs=70 rd=70
+ is=1.7e-14 cgs=14p cgd=14p
nmos
Three-terminal N-MOS device. By default, bulk terminal is connected to gnd! net.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Hot-electron degradation - X -
degradation
Example
mj36 d g s gnd! nmos w=1u l=1u
Model Statement
.model nmos nmos level=54
See Also
• MOSFETs in the HSPICE® User Guide: Elements
pmos
Three-terminal P-MOS device. By default, bulk terminal is connected to vdd! net.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Hot-electron degradation - X -
degradation
Example
m4 d g s vdd! pmos w=1u l=1u
Model Statement
.model pmos pmos level=54
nmos4
Four-terminal N-MOS device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Hot-electron degradation - X -
degradation
Example
m4 d g s b nmos4 w=1u l=1u
Model Statement
.model nmos4 nmos level=54
See Also
• MOSFETs in the HSPICE® User Guide: Elements
pmos4
Four-terminal P-MOS device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X X X
Length l 1u X X X
Source Diffusion as X X -
Area
Drain Junction pd X X -
Perimeter
Source Junction ps X X -
Perimeter
Source/Drain geo X X -
Selector
Multiplier m X X X
Source diffusion ls - X -
length
Distance between sd - X -
fingers
Hot-electron degradation - X -
degradation
Example
m4 d g s b pmos4 w=1u l=1u
Model Statement
.model pmos4 pmos level=54
nmos4hv
Four-terminal high-voltage N-MOS device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
mj36 d g s b nmos4hv w=1u l=1u
Model Statement
.model nmos4hv nmos level=54
See Also
• MOSFETs in the HSPICE® User Guide: Elements
pmos4hv
Four-terminal high-voltage P-MOS device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m4 d g s b pmos4hv w=1u l=1u
Model Statement
.model pmos4hv pmos level=54
nmoshv
Three-terminal high-voltage N-MOS device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
mj36 d g s gnd! nmoshv w=1u l=1u
Model Statement
.model nmoshv nmos level=54
See Also
• MOSFETs in the HSPICE® User Guide: Elements
pmoshv
Three-terminal high-voltage P-MOS device. By default, bulk terminal is connected to vdd!.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m4 d g s vdd! pmoshv w=1u l=1u
Model Statement
.model pmoshv pmos level=54
npn
Three-terminal N-P-N bipolar junction transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Collector-emitter Vce X - -
Voltage
Multiplier m X X X
Example
q37 c b e npn area=10u
Model Statement
.model npn npn (bf=147 is=1.26e-17 br=0.7 ise=0 isc=0
+ ikf=2.7e-3 ikr=7.2e-3 ne=1.5 nc=1.5 tf=2.27e-10 tr=2.27e-9
+ cje=7.71e-14 cjc=5.74e-14 vje=0.88 vjc=0.74 mje=0.42 mjc=0.41
+ cjs=2.82e-13 vjs=0.67 mjs=0.44 vaf=17 var=4.25 rc=87.34
+ rb=1040 re=1.578 xtb=1.58936 eg=1.17 fc=0.5 xti=3.5)
See Also
• Bipolar Junction Transistor in the HSPICE® User Guide: Elements
pnp
Three-terminal P-N-P bipolar junction transistor.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Collector-emitter Vce X - -
Voltage
Multiplier m X X X
Example
q4 c b e pnp area=10u
Model Statement
.model pnp pnp (bf=92 is=2.8e-16 br=0.5 ise=0 isc=0 ikf=.0003
+ ikr=9e-4 ne=1.5 nc=1.5 tf=3.54e-8 tr=1.06e-7
npn4
N-P-N bipolar junction transistor with substrate terminal.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Collector-emitter Vce X - -
Voltage
Multiplier m X - X
Example
q37 c b e s npn area=10u
Model Statement
.model npn4 npn (bf=147 is=1.26e-17 br=0.7 ise=0 isc=0
+ cje=7.71e-14 cjc=5.74e-14 vje=0.88 vjc=0.74 mje=0.42 mjc=0.41
+ cjs=2.82e-13 vjs=0.67 mjs=0.44 vaf=17 var=4.25 rc=87.34
+ rb=1040 re=1.578 xtb=1.58936 eg=1.17 fc=0.5 xti=3.5)
+ ikf=2.7e-3 ikr=7.2e-3 ne=1.5 nc=1.5 tf=2.27e-10 tr=2.27e-9
See Also
• Bipolar Junction Transistor in the HSPICE® User Guide: Elements
npn4a
N-P-N bipolar junction transistor with substrate terminal.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Collector-emitter Vce X - -
Voltage
Multiplier m X - X
Example
q1 c b e s npn4a area=10u
Model Statement
.model npn4a npn (bf=147 is=1.26e-17 br=0.7 ise=0 isc=0
+ ikf=2.7e-3 ikr=7.2e-3 ne=1.5 nc=1.5 tf=2.27e-10 tr=2.27e-9
+ cje=7.71e-14 cjc=5.74e-14 vje=0.88 vjc=0.74 mje=0.42 mjc=0.41
+ cjs=2.82e-13 vjs=0.67 mjs=0.44 vaf=17 var=4.25 rc=87.34
+ rb=1040 re=1.578 xtb=1.58936 eg=1.17 fc=0.5 xti=3.5)
See Also
• BJT Model Equations: (NPN and PNP) in the HSPICE® Reference Manual: Device
Models
pnp4
P-N-P bipolar junction transistor with substrate terminal.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Collector-emitter Vce X - -
Voltage
Multiplier m X - X
Example
q4 c b e s pnp4 area=10u
Model Statement
.model pnp4 pnp (bf=92 is=2.8e-16 br=0.5 ise=0 isc=0 ikf=.0003
+ ikr=9e-4 ne=1.5 nc=1.5 tf=3.54e-8 tr=1.06e-7
+ cje=1.14e-13 cjc=5.8e-13 vje=.74 vjc=.74
+ mje=.41 mjc=.41 cjs=0
+ vaf=16.1 var=5.38 rc=100 rb=50 re=5
+ xtb=1.3 eg=1.17 fc=.5 xti=3.5)
pnp4a
P-N-P bipolar junction transistor with substrate terminal.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Collector-emitter Vce X - -
Voltage
Multiplier m X X X
Example
q0 c b e s pnp4a
Model Statement
.model pnp4a pnp (bf=92 is=2.8e-16 br=0.5 ise=0 isc=0 ikf=.0003
+ ikr=9e-4 ne=1.5 nc=1.5 tf=3.54e-8 tr=1.06e-7
+ cje=1.14e-13 cjc=5.8e-13 vje=.74 vjc=.74
+ mje=.41 mjc=.41 cjs=0
+ vaf=16.1 var=5.38 rc=100 rb=50 re=5
+ xtb=1.3 eg=1.17 fc=.5 xti=3.5)
See Also
• BJT Model Equations: (NPN and PNP) in the HSPICE® Reference Manual: Device
Models
nsoi
N-type three-terminal Silicon on Insulator (SOI) device. By default, bulk terminal is
connected to gnd! node.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s gdn! nsoi w=1u l=1u
Model Statement
.model nsoi nmos level=57
See Also
• LEVEL 57: BSIM3 SOI Model in the HSPICE® Reference Manual: MOSFET Models
psoi
P-type three-terminal Silicon on Insulator (SOI) device. By default, bulk terminal is
connected to vdd! node.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s vdd! psoi w=1u l=1u
Model Statement
.model psoi pmos level=57
nsoi4
N-type four-terminal Silicon on Insulator (SOI) device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s b nsoi4 w=1u l=1u
Model Statement
.model nsoi4 nmos level=57
See Also
• LEVEL 57: BSIM3 SOI Model in the HSPICE® Reference Manual: MOSFET Models
psoi4
N-type four-terminal Silicon on Insulator (SOI) device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s b psoi4 w=1u l=1u
Model Statement
.model psoi4 pmos level=57
nsoifd
Three-terminal Fully Depleted Silicon On Insulator, or FD-SOI device. By default, bulk
terminal is connected to gnd!.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s gnd! nsoifd w=1u l=1u
Model Statement
.model nsoifd nmos level=59
See Also
• LEVEL 59: BSIM3 SOI FD Model in the HSPICE® Reference Manual: MOSFET
Models
psoifd
Three-terminal Fully Depleted Silicon On Insulator, or FD-SOI device. By default, bulk
terminal is connected to vdd!.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s vdd! nsoifd w=1u l=1u
Model Statement
.model psoifd pmos level=59
nsoifd4
Four-terminal Fully Depleted Silicon On Insulator, or FD-SOI device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s b nsoi4fd w=1u l=1u
Model Statement
.model nsoi4fd nmos level=59
See Also
• LEVEL 59: BSIM3 SOI FD Model in the HSPICE® Reference Manual: MOSFET
Models
psoifd4
Four-terminal Fully Depleted Silicon On Insulator, or FD-SOI device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Width w 1u X - X
Length l 1u X - X
Source Diffusion as X - -
Area
Drain Junction pd X - -
Perimeter
Source Junction ps X - -
Perimeter
Source/Drain geo X - -
Selector
Multiplier m X - X
Example
m38 d g s b psoi4fd w=1u l=1u
Model Statement
.model psoi4fd pmos level=59
schottky
Schottky barrier diode element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Periphery of Junction pj X X X
Width of Polycap wp X X -
Length of Polycap lp X X -
Width of Metalcap wm X X -
Length of Metalcap lm X X -
Width w X X -
Length l 0 X X -
Multiplier m X X X
Example
d1 p n schottky
Model Statement
.MODEL schottky D
+ LEVEL=1 XP =0.0 EG =1.1
+ XOI =0.0 XOM =0.0 XM =0.0
+ WP =0.0 WM =0.0 LP =0.0
+ LM =0.0 AF =1.0 JSW =0.0
+ PB =0.65 PHP =0.8 M =0.2994
+ EG =0.69
+ FC =0.95 FCS =0.4 MJSW=0.5
+ TT =2.446e-9 BV =4.65 RS =19
+ IS =1.485e-11 CJO =1.09e-9 CJP =0.0
+ PJ =0.0 N =1.615 IK =0.0
+ IKR =1.100e-2 IBV =2.00e-2
See Also
• Diode Types in the HSPICE® Reference Manual: Device Models
sp1tswitch
Ideal switch with 1 and 2 positions.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
dc_position dc_position -1 X - -
ac_position ac_position -1 X - -
ic_position ic_position -1 X - -
tran_position tran_position -1 X - -
DC position dcPosition 0 - X -
AC position acPosition 0 - X -
IC position icPosition 0 - X -
DC position dcPosition_str 0 - X -
AC position acPosition_str 0 - X -
IC position icPosition_str 0 - X -
Multiplier m X X -
Example
xs1 t0 t1 t2 sp2tswitch offset=0
x2 t1 t0 sp1tswitch offset=0
.hdl
'<installation_dir>/auxx/samples/analogLib/sp2tswitch/veriloga/veriloga.
va'
.hdl
'<installation_dir>/auxx/samples/analogLib/sp1tswitch/veriloga/veriloga.
va'
sp2tswitch
Ideal switch with 1 and 2 positions.
CDF Parameters
CDF Parameter Prompt CDF Parameter Default hspiceD spectre auCdl
Value
dc_position dc_position -1 X - -
ac_position ac_position -1 X - -
ic_position ic_position -1 X - -
tran_position tran_position -1 X - -
DC position dcPosition 0 - X -
AC position acPosition 0 - X -
IC position icPosition 0 - X -
DC position dcPosition_str 0 - X -
AC position acPosition_str 0 - X -
IC position icPosition_str 0 - X -
m - X -
paramType cyclic - X -
sp3tswitch
Voltage-controlled switch.
CDF Parameters
CDF Parameter Prompt CDF Parameter Default hspiceD spectre auCdl
Value
dc_position dc_position -1 X - -
ac_position ac_position -1 X - -
ic_position ic_position -1 X - -
tran_position tran_position -1 X - -
DC position dcPosition 0 - X -
AC position acPosition 0 - X -
IC position icPosition 0 - X -
DC position dcPosition_str 0 - X -
AC position acPosition_str 0 - X -
IC position icPosition_str 0 - X -
m - X -
paramType cyclic - X -
sp4tswitch
Voltage-controlled switch.
CDF Parameters
CDF Parameter Prompt CDF Parameter Default hspiceD spectre auCdl
Value
dc_position dc_position -1 X - -
ac_position ac_position -1 X - -
ic_position ic_position -1 X - -
tran_position tran_position -1 X - -
DC position dcPosition 0 - X -
AC position acPosition 0 - X -
IC position icPosition 0 - X -
DC position dcPosition_str 0 - X -
AC position acPosition_str 0 - X -
IC position icPosition_str 0 - X -
m - X -
paramType cyclic - X -
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Length l X - -
Example
u1 in refin out refout ustrip
u2 in1 in2 refin out1 out2 refout ustrip
u3 in1 in2 in3 in4 refin out1 out2 out3 out4 refout ustrip
u4 in1 in2 in3 in4 in5 refin out1 out2 out3 out4 out5 refout ustrip
u5 in1 in2 in3 in4 in5 refin out1 out2 out3 out4 out5 refout usrip
l=0.178 lumps=3
Model Statement
.Model USTRIP U LEVEL=3 PLev=1 Elev=1 Dlev=2 Nl=3 Ht=381u
+ Wd=305u Th=25u Sp=102u Ts=838u Kd=4.7
.Probe v(13) v(7) v(8) v(6)
.End
See Also
• Lumped Transmission Line -- UModel in the HSPICE® User Guide: Elements
Independent Sources
The following topics describe:
• bcs
• bvs
• iam
• ibit
• idc
• iexp
• ilfsr
• ipat
• ipulse
• ipwl
• ipwlf
• ipwlz
• iprbs
• isffm
• isin
• isource
• ivmrf
• multibit
• n1port
• n2port
• n3port
• n4port
• ncs
• nport
• nport_ref
• nvs
• pam
• pdc
• pexp
• plfsr
• port
• port3t
• pprbs
• ppulse
• ppwl
• ppwlf
• psffm
• psin
• vam
• vbit
• vcos
• vdc
• vexp
• vgpulse
• vlfsr
• vpat
• vprbs
• vpulse
• vpwl
• vpwlf
• vpwlz
• vsffm
• vsin
• vsource
• vvmrf
bcs
Behavioral current source. Useful if you want to model current source, which can be
dependent on bias and/or frequency.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Multiplier m X X -
Example
v1 1 0 1
r1 1 2 1k
g4 1 2 cur='v(1,2)*0.001'
rout 2 0 1meg
See Also
• Behavioral Current Source in the HSPICE® User Guide: Elements
bvs
Behavioral voltage source. Useful if you want to model voltage source, which can be
dependent on bias and/or frequency.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Example
r1 n1 gnd 1
r2 n2 gnd 1
e1 n3 gnd vol='v(n1)+v(n2)'
See Also
• Behavioral Voltage Source in the HSPICE® User Guide: Elements
iam
Single-frequency AM current source.
The following expression defines the waveform shape:
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X - -
Signal Amplitude sa 0 X - -
Carrier Frequency fc 1 X - -
Modulation fm 1 X - -
Frequency
Offset Constant oc 0 X - -
Delay Time td 0 X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1 X - -
HB ModTone1-7 hbmodtone1 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X - -
Impedance z0 X - -
Example
i44 plus minus dc=0 am ( 0.85 0.0 10k 1k 0 )
See Also
• Single-frequency AM Source in the HSPICE® User Guide: Elements
ibit
Current source that is a pattern source type with various parameters settings.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Trigger trigger - X -
RJ(rms) rjrms - X -
RJ(seed) rjseed - X -
PJ%d(amplitude) pjamp1-3 - X -
PJ%d(frequency) pjfreq1-3 - X -
Delay Time td - X -
Period per - X -
idc
Single-frequency AM current source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
XF magnitude xfm - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 plus minus dc=0
See Also
• Independent Source Elements in the HSPICE® User Guide: Elements
iexp
Exponential current source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Current1 i1 0 X X -
Current2 i2 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
XF magnitude xfm - - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Delay time td X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 n1 n2 dc=0 exp ( 0 50u 0 20n 0 30n )
See Also
• Exponential Source Function in the HSPICE® User Guide: Elements
ilfsr
Pseudo Random Bit Generator Source (PRBS) function as an independent current
source. The PRBS source uses a Linear Feedback Shift Register (LFSR) to generate a
pseudo random bit sequence. HSPICE supports eight-bit data byte conversion to a 10-bit
transmission character-8B/10B encoding for the LFSR keyword.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Delay Time td 0 X X -
Rise Time tr 0 X X -
Fall Time tf 0 X X -
Seed seed 1 X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 X - -
Example
The following example shows the pattern source connected between nodes n1 and n2.
Example of LFSR, output is 1100011111001101:
i4 n1 n2 dc=0 lfsr ( 0 50u 0 1n 1n 10meg 3 [2,5] rout=10 )
Where:
• The output low voltage is 0, and the output high voltage is 1 v.
• The delay time is 0 ms.
• The rise and fall times are each 1 ns.
• The bit rate is 10 meg bits/s.
• The seed is 3 (bits: 00011).
• The taps are at the output of the 2nd and 5th shift registers and are xor’d together as
the input to the first shift register.
• The output resistance is 10 ohms.
See Also
• Pseudo Random Bit Generator Source in the HSPICE® User Guide: Elements
ipat
Pattern source function. It uses four states, '1','0','m', and 'z', which represent the high,
low, middle voltage, or current and high impedance state respectively. The series of
these four states is a "b-string." HSPICE supports 8-bit data byte conversion to a 10-bit
transmission character-8B/10B encoding, 64-bit data conversion to a 66-bit transmission
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 - - -
Current High ih 1 X - -
Current Low il 0 X - -
Delay Time td 0 X - -
Rise Time tr 0 X - -
Fall Time tf 0 X - -
Repeat r X - -
Repeat Bit rb X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 X - -
Example
i4 n1 n2 pat ( 50u 10u 1n 1n 5n b1011 r=5 rb=2 )
In this example:
• High current is 50 uA
• Low current is 10 uA
• Time delay is 0 n
• Rise time is 1 n
• Fall time is 1 n
• Sample time is 5 n
The first b-string is 1011, which repeats once and then repeats from the second bit, which
is 0. The pattern is repeated 5 times.
See Also
• Pattern Source in the HSPICE® User Guide: Elements
ipulse
Trapezoidal pulse current source that starts with an initial delay from the beginning of the
transient simulation interval to an onset ramp. During the onset ramp, the current changes
linearly from its initial value to the pulse plateau value. After the pulse plateau, the current
moves linearly along a recovery ramp back to its initial value. The entire pulse repeats,
with a period named per, from onset to onset.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Current1 i1 0 X X -
Current2 i2 0 X X -
Delay Time td 0 X X -
Rise Time tr X X -
Fall Time tf X X -
Pulse Width pw X X -
Period per X X -
Seed seed X - -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
XF magnitude xfm - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 plus gate dc=0 pulse ( 0 50u 0 1n 1n 10n 20n )
See Also
• Trapezoidal Pulse Source in the HSPICE® User Guide: Elements
ipwl
PWL independent current source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Time1-50 t1-50 X X -
Current1-50 i1-50 0 X X -
Repeat r X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
Offset current io - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 n1 n2 dc=0 pwl ( 0 0.0 1n 0.5u 1.2n 0.5u 2n 1.2u )
See Also
• PWL Source in the HSPICE® User Guide: Elements
ipwlf
PWL source, that accepts a text file containing time and current pairs. The data in the text
file can be either a table or a list.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Repeat r X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
Offset current io - X
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 n1 n2 dc=0 pwl ( 0 0.0 1n 0.5u 1.2n 0.5u 2n 1.2u )
See Also
• PWL Source in the HSPICE® User Guide: Elements
ipwlz
The high Z state of the PWLZ source adds the capability to disconnect the PWL source for
time periods marked with the keyword Z.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Time1-50 t1-50 X X -
Current1-50 i1-50 0 X X -
Z State1-50 Z1-50 0 X X -
Repeat r X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
Offset current io - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 n1 n2 dc=0 pwlz ( 0 0.0 1n z 1.2n 0.5u 2n 1.2u )
See Also
• High Impedance State PWL (PWLZ) in the HSPICE® User Guide: Elements
iprbs
Current source with pseudo random bit generator source transient function source.
The iprbs device is a PCell. The following figure shows four vprbs devices that have
different trigger modes, which are Internal (on the upper-left), External by both edges (on
the upper-right), External by falling edges (on the lower-left) and External by rising edges
(on the lower-right). The internal trigger mode has 2 pins (PLUS and MINUS) and other
three external trigger modes have 4 pins (P1, M1, P2, and M2). The netlisting procedure
writes out their pins correspondingly.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
triggerValue triggerValue 1 - X -
Rise time tr - X -
Fall time tf - X -
Lower lowerthreshold - X -
threshold(percent)
Upper upperthreshold - X -
threshold(percent)
Threshold triggerthresh - X -
old
Taps lfsrtaps - X -
RJ(rms) rjrms - X -
RJ(seed) rjseed - X -
PJ1(amplitude) pjamp1 - X -
PJ1(frequency) pjfreq1 - X -
PJ2(amplitude) pjamp2 - X -
PJ2(frequency) pjfreq2 - X -
PJ3(amplitude) pjamp3 - X -
PJ3(frequency) pjfreq3 - X -
Seed seed - X -
Version int 1 - - -
isffm
Single-frequency FM current source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X - -
Output Amplitude ia 0 X - -
Offset Current io 0 X - -
Signal Frequency fs X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X - -
Impedance z0 X - -
Example
i4 n1 gnd! dc=25u sffm ( 0.0 30u 20k 10 5k )
See Also
• Single-frequency FM Source in the HSPICE® User Guide: Elements
isin
Sinusoidal current source that can be either a constant sinusoid or a damped, that
produces a dying exponential with a sine wave.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Current Offset io X X -
Current Amplitude ia X X -
Frequency freq X X -
Delay Time td X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X X -
Amplitude 2 ia2 - X -
FM frequency fmmodfreq - X -
FM index fmmodindex - X -
Frequency 2 freq2 - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Impedance z0 X - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 n1 0 dc=0 sin ( 0 100u 100Meg 1n 1e+6 0 )
This damped sinusoidal source connects between nodes n1 and 0. In this waveform:
• Peak value is 100 uA
• Offset is 0 A
• Frequency is 100 MHz
• Time delay is 1 ns
• Damping factor is 1e+6
• Phase delay is 0 deg
See Also
• Sinusoidal Source Function in the HSPICE® User Guide: Elements
isource
Current source with various parameters settings.
The isource device is a PCell. Its PCell behavior is controlled by its source type. For
source type other than prbs, it is a 2-pin device and its symbol looks as follows:
For prbs source type, its PCell behavior is affected by the trigger parameter. The following
figure shows four isource devices that have different trigger modes, which are Internal (on
the upper-left), External by rising edges (on the upper-right), External by falling edges (on
the lower-left) and External by both edges (on the lower-right). The internal trigger mode
has 2 pins (PLUS and MINUS) and other three external trigger modes have 4 pins (P1,
M1, P2, and M2). The netlisting procedure writes out their pins correspondingly.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X X -
Time1 t1 X X -
Current1 i1 X X -
Time2 t2 X X -
Current2 i2 X X -
Rise Time tr X X -
Fall Time tf X X -
Pulse Width pw X X -
Period per X X -
Time3-50 t3-50 - X -
Current3-50 i3-50 - X -
Repeat r X - -
Current Offset io X - -
Frequency freq X X -
Current Amplitude ia X X -
Delay Time td 0 X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
Impedance z0 X - -
Frequency 2 freq2 - X -
Number of freqvec 0 X X -
frequencies
FM index 1 fmmodindex - X -
FM frequency 1 fmmodfreq - X -
DC offset offset - X -
Breakpoints allbrkpts no - X -
Lower lowerthreshold - X -
threshold(percent)
Upper upperthreshold - X -
threshold(percent)
triggerValue triggerValue 1 - X -
Threshold triggerthresh - X -
old
Taps lfsrtaps - X -
RJ(rms) rjrms - X -
RJ(seed) rjseed - X -
PJ1(amplitude) pjamp1 - X -
PJ1(frequency) pjfreq1 - X -
PJ2(amplitude) pjamp2 - X -
PJ2(frequency) pjfreq2 - X -
PJ3(amplitude) pjamp3 - X -
PJ3(frequency) pjfreq3 - X -
AC Magnitude acm X X -
AC Phase acp X X -
XF magnitude xfm - X -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Quadratic tc2 - X -
temperature
coefficient
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
Version version 3 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
i4 n1 n2 dc=10u power=0
i4 n1 n2 dc=0 exp ( 0 100u 0 20n 0 30n )
i4 n1 n2 dc=10u pulse ( 0 100u 1n 1n 1n 10n 20n )
This damped sinusoidal source connects between nodes n1 and 0. In this waveform:
• Peak value is 100 uA
• Offset is 0 A
• Frequency is 100 MHz
• Time delay is 1 ns
• Damping factor is 1e+6
• Phase delay is 0 deg
See Also
• Independent Sources and Stimuli in the PrimeSim Continuum User Guide: Elements
ivmrf
Vector Modulated RF current source. It allows digital modulation of an RF carrier using in-
phase and quadrature components created from a binary data stream.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 X - -
Bitstream bitstream X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X - -
Impedance z0 X - -
Example
i55 n1 n2 dc=0 vmrf amp=100u freq=10k phase=0 rate=100Meg
+ mod=bpsk filter=rect bitstream=01010010011100b
See Also
• Vector-modulated RF (VMRF) Source in the HSPICE® User Guide: Elements
multibit
Generate a subcircuit of vdc sources, set the dc value according to the pattern specified.
CDF Parameters
CDF Parameter CDF Parameter Default hspiceD spectre auCdl
Prompt Value
Decimal dec 0 X X -
Examples
subckt multibit_1 ( a0 a1 a2 a3 ref)
parameters a0=fmod(11, 2) a1=fmod(5, 2) a2=fmod(2, 2) a3=fmod(1, 2)
vbit0=0 \
vbit1=1
V3 (a3 ref) vsource type=dc dc=( (a3>0) ? vbit1 : vbit0 )
V2 (a2 ref) vsource type=dc dc=( (a2>0) ? vbit1 : vbit0 )
V1 (a1 ref) vsource type=dc dc=( (a1>0) ? vbit1 : vbit0 )
V0 (a0 ref) vsource type=dc dc=( (a0>0) ? vbit1 : vbit0 )
ends multibit_1
n1port
The n1port element is a special case of the generic nport element with specific port
number.
Note:
The nport element has certain behavior which depends on S, Y or Z-parameter
files.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Multiplier m X X -
Characteristic z0 50 X - -
impedance
Temperature dtemp X - -
difference
n2port
The n2port element is a special case of the generic nport element with specific port
number.
Note:
The nport element has certain behavior which depends on S, Y or Z-parameter
files.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Multiplier m X X -
Characteristic z0 50 X - -
impedance
Temperature dtemp X - -
difference
n3port
The n3port element is a special case of the generic nport element with specific port
number.
Note:
The nport element has certain behavior which depends on S, Y, or Z-parameter
files.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Multiplier m X X -
Characteristic z0 50 X - -
impedance
Temperature dtemp X - -
difference
n4port
The n4port element is a special case of the generic nport element with specific port
number.
Note:
The nport element has certain behavior which depends on S, Y or Z-parameter
files.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Multiplier m X X -
Characteristic z0 50 X - -
impedance
Temperature dtemp X - -
difference
ncs
Behavioral noise source.
In HSPICE advanced analog analyses, you can use the G-element to specify noise
sources. Frequency domain noise analyses (.NOISE, .HBNOISE, and .PHASENOISE)
take these noise sources into account.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Note:
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
Noise expression form
g4 n1 n2 noise='4*1.3806266e-23*(TEMPER+273.15)*0.001'
See Also
• Behavioral Current Noise Source in the HSPICE® User Guide: Elements
• Behavioral Noise Sources in the HSPICE® User Guide: Advanced Analog Simulation
and Analysis
nport
The nport cell is a PCell device that is controlled by version parameter.
The following figure shows two nport devices that have numports == 4 (p == 4). The one
on the left is with common mode off and another one on the right is with common mode
on.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
numports numports 1 X - -
Resistance r 50 - - -
checkFlag checkFlag 1 - X -
Number of ports p 1 - X X
Characteristic z0 50 X - -
Impedance
Stamp stamp X - -
Multiplier m X X -
Version version 2 - - -
Example
s7 p1 m1 p2 m2 mname=mymodel type='S' z0=50 fbase=5G
+ fmax=15G precfac=0.75 delayfreq=15G
+ interpolation='LINEAR' intdattyp='MA' highpass=3
+ lowpass=2 mixedmode=0 noise=1 passive=0
.model mymodel s TSTONEFILE=<path_to_file>
See Also
• https://solvnet.synopsys.com/dow_retrieve/latest/hspice/hspice_olh/index.htm#context/
cidSynopsysCustom/s-parameter_modeling
In its default form, the nport symbol has a return terminal per port, so that the total number
of terminals is 2N, as shown in the following figure.
Check the Common reference option in the Property Editor to create a symbol with a
shared return terminal, as a way of simplifying wiring of nports with many terminals, as
shown in the following figure.
In earlier versions of Custom Compiler, nport required you to specify the name of a model
netlisted as an HSPICE .model statement. This specification is no longer required,
and the netlister automatically handles requirements such as the insertion of model
statements.
Set Modeling method to 0 to use IFFT (convolution) method in transient. Raw data from
the S-parameter file is used for frequency domain methods, except when overridden by
setting Modeling method=2 to use rational fitting. Shooting Newton always uses rational
modeling.
In recent versions of Custom Compiler and PrimeSim, the nport interface and S-element
technology were simplified and improved to require, in most cases, specifying only Model
File, numports and Modeling method options. The remaining S-element parameters
are exposed by checking the Advanced transient parameters, Noise parameters, and
Other Parameters options.
Refer to S-element (Scattering Parameter Data) in the PrimeSim Continuum User Guide:
Elements for details of S-element options. In most cases, you should leave them at default
values and allow simulation engines to determine optimal settings automatically. The
following list describes a few noteworthy parameters in Advanced transient parameters
and Other Parameters categories:
• Enforce causality: Newer versions of PrimeSim SPICE support IFFT causality
enforcement. Causality enforcement is on by default and recommended to leave
unspecified (preferred) or set to 1.
• Max frequency multiplier for causality enforcement: When causality is enforced,
PrimeSim extrapolates raw data to an automatically selected frequency larger than
the maximum data file frequency. If you observe log file messages warning about
differences between causal and raw data, increase this parameter to between 2 and
10. The same suggestion applies if you run into convergence problems or suspected
accuracy issues in IFFT.
• Max frequency of interest: It is recommended to leave this setting unspecified.
• Interpolation Method: In recent versions of PrimeSim SPICE, Interpolation Method
controls raw data interpolation in frequency domain analyses. Modeling method
(rational_func) is used to control rational fitting vs. convolution (IFFT) methods. Spline
and Linear methods work best. The behavior of Interpolation Method=rational is not
defined and should not be used.
• Additional parameter list: Specify a list of parameter-value pairs in the form p1=val1
p2=val2… to send to the simulator any simulation parameters not exposed in the
Property Editor. An additional parameter list is appended to the end of the S-element
instance line.
nport_ref
You can use the nport_ref element to describe a multi-terminal network circuit analyses
within most HSPICE and RF analyses.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Characteristic z0 50 X - -
Impedance
Resistance r 50 - - -
checkFlag checkFlag 1 - X -
Stamp stamp X - -
Multiplier m X - -
Example
s7 m1 m2 p1 p2 ref mname=mymodel type='S' z0=50 fbase=5G
+ fmax=15G precfac=0.75 delayfreq=15G interpolation='LINEAR'
+ intdattyp='MA' highpass=3 lowpass=2 mixedmode=1 noise=1
+ passive=0
.model mymodel s TSTONEFILE=<path_to_file>
See Also
• Mixed-Mode S-parameters in the HSPICE® User Guide: Signal Integrity Modeling and
Analysis
nvs
Behavioral noise voltage source.
In HSPICE advanced analog analyses, you can use the E-element to specify noise voltage
sources.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Note:
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
e4 n1 n2 noisefile='noise_v.txt'
e4 n1 n2 noise='4*1.3806266e-23*(TEMPER+273.15)*0.001'
See Also
• Behavioral Voltage Noise Source in the HSPICE® User Guide: Elements
pam
Amplitude modulated port element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - - -
DC Value dc X - -
DC Voltage vdc - - -
Signal Amplitude sa 0 X - -
Carrier Frequency fc 1 X - -
Modulation fm 0 X - -
Frequency
Offset Constant oc 0 X - -
Delay Time td 0 X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb - - -
Example
p4 n1 gnd! port=1 am ( 0.0 0.0 10k 1k 0 ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
pdc
DC port element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - X -
DC Value dc X - -
DC Voltage vdc - X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m X
XF magnitude xfm - X -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
p4 n1 gnd! port=1 dc=3.3 z0=50
See Also
• Port Element in the PrimeSim Continuum User Guide: Elements
pexp
Exponential port element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - X -
DC Value dc X - -
DC Voltage vdc - X -
Value 1 v1 0 X X -
Value 2 v2 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m X
XF magnitude xfm - X -
Delay time td - X
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
p4 n1 gnd! port=1 dc=3.3 exp ( 0 2.5 5n 1n 15n 2n ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
plfsr
The plsfr element specifies lfsr waveform type and analysis settings for P-element.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Resistance r 50 X - -
DC Value dc X - -
DCVoltage vdc X - -
Low Value vl 0 X - -
High Value vh 1 X - -
Delay Time td 0 X - -
Rise Time tr 0 X - -
Fall Time tf 0 X - -
Seed seed 1 X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 X - -
Example
p1 p gnd! port=1 dc=0 lfsr ( 0 1 0 0 0 1meg 1 [1,2] ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
port
Port element with selectable transient waveform type. Source type can be dc, exp, pulse,
pwl, sine, and prbs.
This port element can also be used for Algorithmic Modeling Interface (AMI) to enable
StatEye analysis of systems with Serializer-Deserializer (SERDES) devices for equalizers
in both transmitter and receiver sides.
The port device is a PCell. Its PCell behavior is affected by its source type. For source
type other than prbs, it is a 2-pin device and its symbol looks as follows:
For prbs source type, its PCell behavior is affected by its triggerValue parameter. The
following figure shows four vprbs devices that have different trigger modes, which are
Internal (on the upper-left), External by both edges (on the upper-right), External by falling
edges (on the lower-left), and External by rising edges (on the lower-right) modes. The
internal trigger mode has 2 pins (PLUS and MINUS) and other three external trigger
modes have 4 pins (P1, M1, P2, and M2). The netlisting procedure writes out their pins
accordingly.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 X - -
Resistance r 50 - X -
Reactance x - X -
DC Value dc X - -
DC Voltage vdc - X -
Time1-50 t1-50 X X -
Z State1-50 Z1-50 0 - - -
Value1-50 v1-50 X X -
Rise Time tr X X -
Fall Time tf X X -
Pulse width pw X X -
Period per X X -
Offset Value vo 0 X X -
DC offest offset - X -
Repeat rpt X - -
Breakpoints allbrkpts no - X -
Frequency freq X X -
Amplitude Value va 0 X X -
Signal Amplitude sa 0 X - -
Carrier Frequency fc 1 X - -
Modulation fm 0 X - -
Frequency
Offset Constant oc 0 X - -
Voltage High vh 1 X - -
Voltage Low vl 0 X - -
Repeat Bit rb X - -
Signal Frequency fs X - -
Delay Time td 0 X X -
Seed seed 1 X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
SI Parameters siParameters 0 X - -
Periodic Jitter pj X - -
Voltage
Random Jitter rj X - -
Voltage Noise vn X - -
Frequency 2 freq2 - X -
Number of freqvec 0 - X -
frequencies
FM index 1 fmmodindex - X -
FM frequency 1 fmmodfreq - X -
Lower lowerthreshold - X -
threshold(percent)
Upper upperthreshold - X -
threshold(percent)
triggerValue triggerValue 1 - X -
Threshold triggerthresh - X -
old
Taps lfsrtaps - X -
RJ(rms) rjrms - X -
RJ(seed) rjseed - X -
PJ1(amplitude) pjamp1 - X -
PJ1(frequency) pjfreq1 - X -
PJ2(amplitude) pjamp2 - X -
PJ2(frequency) pjfreq2 - X -
PJ3(amplitude) pjamp3 - X -
PJ3(frequency) pjfreq3 - X -
AC Magnitude acm X X -
AC Phase acp X X -
XF magnitude xfm - X -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Quadratic tc2 - X -
temperature
coefficient
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
Version version 2 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Use the Power Switch parameter to control how the port’s amplitude is interpreted:
• 0 or unspecified if it specifies the open-circuit voltage
• 1 or W if it specifies available power in Watts
• 2 or dbm for available power in dbm
When Power Switch=0, the port’s amplitude is defined as the open-circuit voltage
across (p, n). Starting with FineSim and PrimeSim SPICE, the option .option
port_element_voltage_matchload can be used to tell the engines to treat the amplitude
as the voltage across (p, n) when a matched resistor is connected across (p, n).
Single-sinusoid Specification
The single-sine source implements the function:
Simulation defaults are zero for each of the parameters. The mapping between the
parameters and the functional expression is as shown in the following table.
Offset Value
Frequency
Amplitude Value
Delay Time
Damping Factor
Damping factor is used in transient simulations, but ignored in HB and Shooting Newton
simulations.
Two-sinusoid specification
To set up a two-tone source, click Display second sinusoid.
The meaning of the second sinusoid parameters is analogous to the first. It implements
the function:
Delay Time, Damping Factor, and Power Switch do not apply to additional sinusoids.
Instead of Power Switch, additional sinusoids are specified in Volts by setting Sinusoid
Ampl N (Vpk), or in dbm by setting Sinusoid Ampl N (dbm). You can specify levels in
Volts or dbm, but not both.
Maxharm settings are currently ignored.
Although you can treat multi-sinusoids as additions to single- and two-tone specifications
(to specify tone 3 and higher), it is recommended to not to mix them together. Instead, use
one form or the other but not both. When using the multi-sinusoid form, the functional form
of the waveform is:
Resistance parameters
The use of resistance parameters is not recommended.
Noise parameters
,
where R is port Impedance and the default value of T is the circuit temperature. You can
turn off noise contribution using Generate noise. You can set T to temperature different
than circuit using Noise temperature.
In noise figure simulations using .LIN, .HBAC, or .SNAC analysis, the input port’s
temperature is 290 if unspecified, and the output port’s contribution is ignored.
See Also
• Port Element in the PrimeSim Continuum User Guide: Elements
port3t
The port3t element is a port with T-shaped connection of DC (chock inductor) and AC
(blocking capacitor) control.
The port element is a voltage source with internal resistance. See port.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Resistance r 50 - x -
DC voltage vdc - x -
Delay time td - x -
Rise time tr - x -
Fall time tf - x -
Pulse width pw - x -
Frequency 1 freq - x -
Amplitude 1 (Vpk) va - x -
Frequency 2 freq2 - x -
AC phase acp - x -
DC offset offset - x -
Period pwlperiod - x -
Multiplier m - x -
Number of freqvec 0 - x -
Frequencies
Reactance x - x -
Breakpoints allbrkpts - x -
Note:
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
pprbs
Port element with a pseudo random binary sequence function. This element is relevant
only for Spectre netlisting and simulation at this moment.
The pprbs device is a PCell. Its PCell behavior is affected by the triggerValue parameter.
The following figure shows four vprbs devices that have different trigger modes, which
are Internal (on the upper-left), External by both edges (on the upper-right), External by
falling edges (on the lower-left), and External by rising edges (on the lower-right) modes.
The internal trigger mode has 2 pins (PLUS and MINUS) and other three external trigger
modes have 4 pins (P1, M1, P2, and M2). The netlisting procedure writes out their pins
accordingly.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Resistance r 50 - X -
triggerValue triggerValue 1 - X -
Rise time tr - X -
Fall time tf - X -
Lower lowerthreshold - X -
threshold(percent)
Upper upperthreshold - X -
threshold(percent)
Threshold triggerthresh - X -
old
Taps lfsrtaps - X -
RJ(rms) rjrms - X -
RJ(seed) rjseed - X -
PJ1(amplitude) pjamp1 - X -
PJ1(frequency) pjfreq1 - X -
PJ2(amplitude) pjamp2 - X -
PJ2(frequency) pjfreq2 - X -
PJ3(amplitude) pjamp3 - X -
PJ3(frequency) pjfreq3 - X -
Seed seed - X -
Multiplier m - X -
Version version 2 - - -
Example
PORT0 (out 0) port r=50 type=prbs period=1n registerlength=32
lfsrseed=[1 3 5 7 \
9 11 13 15 17 19 21 23 25 27 29 31]
ppulse
Port element with pulse transient function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - X -
DC Value dc X - -
DC Voltage vdc - X -
Value 1 v1 0 X X -
Value 2 v2 0 X X -
Delay Time td 0 X X -
Rise Time tr X X -
Fall Time tf X X -
Pulse Width pw X X -
Period per X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
AC Magnitude acm X X -
AC Phase acp X X -
XF magnitude xfm - X -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
p4 n1 gnd! port=1 dc=3.3 pulse ( 0 2.5 0 50p 50p 2n 4n ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
ppwl
Port element with PWL transient function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - X -
DC Value dc X - -
DC Voltage vdc - X -
Time1-50 t1-50 X X -
Value1-50 v1-50 0 X X -
Repeat rpt - - -
Delay Time td 0 - X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
XF magnitude xfm - X -
Offset voltage vo - X -
Breakpoints allbrkpts - X -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
p4 n1 gnd! port=1 dc=0 pwl ( 0 0.0 1n 2.5 td=0 ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
ppwlf
Port element with PWL transient function specified using a file, containing time voltage
value pairs.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - X -
DC Value dc X - -
DC Voltage vdc - X -
Repeat rpt X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
XF magnitude xfm - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
Offset voltage vo - X -
Breakpoints allbrkpts no - X -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
p4 n1 gnd! port=1 dc=0 pwl pwlfile='pwl_data.txt' td=0 z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
psffm
Port element with FM transient function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - - -
DC Value dc X - -
DC Voltage vdc - - -
Output Amplitude va 0 X - -
Offset Value vo 0 X - -
Signal Frequency fs X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Example
p4 n1 gnd! port=1 dc=0 sffm ( 0.35 500m 400Meg 5 500k ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
psin
Port element with sinusoidal transient function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Impedance z0 50 X - -
Resistance r 50 - X -
DC Value dc X - -
DC Voltage vdc - X -
Offset Value vo 0 X X -
Amplitude Value va X X -
Frequency freq X X -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
FM frequency fmmodfreq - X -
FM index fmmodindex - X -
Frequency 2 freq2 - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
Number of freqvec 0 - X -
frequencies
XF magnitude xfm - X -
Amplitude 2 va2 - X -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
p4 n1 gnd! port=1 dc=0 sin ( 0.35 500m 400Meg 0 0 0 ) z0=50
See Also
• Port Element in the HSPICE® User Guide: Elements
vam
Single-frequency AM voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X - -
Signal Amplitude sa 0 X - -
Carrier Frequency fc 1 X - -
Modulation fm 0 X - -
Frequency
Offset Constant oc 0 X - -
Delay Time td 0 X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 - - -
Example
vp4 n1 gnd! dc=0 am ( 500m 0.0 200Meg 100Meg 0 )
See Also
• Single-frequency AM Source in the HSPICE® User Guide: Elements
vbit
Bit independent voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Trigger trigger - X -
RJ(rms) rjrms X X -
RJ(seed) rjseed X X -
PJ%d(amplitude) pjamp1-3 X X -
PJ%d(frequency) pjfreq1-3 X X -
Delay Time td X X -
Period per X X -
Example
In the example, the first b-string is 1011, which repeats once and then repeats from
the second bit, which is 0. The pattern is repeated 5 times. The final b-string is
1011011011011011011.
v4 n1 n2 pat ( 1.2 0.25 0 1n 1n 5n b1011 r=5 rb=2 )
Where:
• High voltage level is 1.2 V
• Low voltage level is 0.25 V
• Time delay is 0 n
• Rise time is 1 n
• Fall time is 1 n
• Sample time (period) is 5 n
See Also
• Pattern Source in the HSPICE® User Guide: Elements
vcos
Voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X - -
Voltage Offset vo 0 X - -
Voltage Amplitude va 0 X - -
Frequency freq X - -
Delay Time td 0 X - -
Damping Factor q 0 X - -
Seed seed X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
FM frequency fmmodfreq - - -
FM index fmmodindex - - -
Frequency 2 freq2 - -
Number of FNpairs 0 - - -
noise/frequency pairs
XF magnitude xfm - - -
Amplitude 2 va2 - - -
Impedance z0 - - -
vdc
DC voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Impedance z0 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 gnd! dc=2.5 ac=1
See Also
• DC Sources in the HSPICE® User Guide: Elements
vexp
Exponential voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
Voltage1 v1 0 X X -
Voltage2 v2 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Delay time td - X -
Impedance z0 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 gnd! dc=2.5 ac=1 exp ( 0 5 5n 3n 0.5n 15n )
See Also
• Exponential Source Function in the HSPICE® User Guide: Elements
vgpulse
Gaussian voltage pulse.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X - -
Voltage1 v1 X - -
Voltage2 v2 X - -
Delay time td X - -
Pulse Width Pw X - -
Period per X - -
Pattern pattern X - -
Repeat r X - -
Repeat Starts rb X - -
Example
v9 a gnd! dc=0 gpulse (0 1 0 5n 15n b1011001 bprbs=12 r=100n)
vlfsr
Pseudo Random Bit Generator Source (PRBS) function as an independent voltage
source. The PRBS source uses a Linear Feedback Shift Register (LFSR) to generate a
pseudo random bit sequence. HSPICE supports eight-bit data byte conversion to a 10-bit
transmission character-8B/10B encoding for the LFSR keyword.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X - -
Delay Time td 0 X - -
Rise Time tr 0 X - -
Fall Time tf 0 X - -
Seed seed 1 X - -
Taps taps [1 2] X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 - - -
Example
The following example shows the pattern voltage source connected between nodes n1
and n2.
Example of LFSR, output is 1100011111001101:
v4 n1 n2 dc=0 lfsr ( 0 50u 0 1n 1n 10meg 3 [2,5] rout=10 )
Where:
• The output low voltage is 0, and the output high voltage is 1 v.
• The delay time is 0 ms.
• The rise and fall times are each 1 ns.
• The bit rate is 10 meg bits/s.
• The seed is 3 (bits: 00011).
• The taps are at the output of the 2nd and 5th shift registers and are xor’d together as
the input to the first shift register.
• The output resistance is 10 ohms.
See Also
• Pseudo Random Bit Generator Source in the HSPICE® User Guide: Elements
vpat
Pattern voltage source function. It uses four states, '1','0','m', and 'z', which represent
the high, low, middle voltage, or current and high impedance state respectively. The
series of these four states is a "b-string." HSPICE supports 8-bit data byte conversion
to a 10-bit transmission character-8B/10B encoding, 64-bit data conversion to a 66-bit
transmission character-64B/66B encoding, 128-bit data byte conversion to a 130-bit or
132-bit transmission character-128B/130B or 128B/132B encoding, for the PAT sources.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X - -
Voltage High vh 1 X - -
Voltage Low vl 0 X - -
Delay Time td 0 X - -
Rise Time tr 0 X - -
Fall Time tf 0 X - -
Repeat r X - -
Repeat Bit rb X - -
AC Magnitude acm X - -
AC Phase acp X - -
RJ(rms) rjrms X X -
RJ(seed) rjseed X X -
PJ%d(amplitude) pjamp1-3 X X -
PJ%d(frequency) pjfreq1-3 X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 - - -
Example
v4 n1 n2 pat ( 1.2 0.25 0 1n 1n 5n b1011 r=5 rb=2 )
In this example:
• High voltage level is 1.2 V
• Low voltage level is 0.25 V
• Time delay is 0 n
• Rise time is 1 n
• Fall time is 1 n
• Sample time is 5 n
The first b-string is 1011, which repeats once and then repeats from the second bit, which
is 0. The pattern is repeated 5 times.
See Also
• Pattern Source in the HSPICE® User Guide: Elements
vprbs
Voltage source with pseudo random bit generator source transient function source.
The vprbs device is a PCell controlled by the trigger parameter. The following figure shows
four vprbs devices that have different trigger modes, which are Internal (on the upper left),
External by both edges (on the upper right), External by falling edges (on the lower left),
and External by rising edges (on the lower right) modes. The internal trigger mode has two
pins (PLUS and MINUS) and other 3 external trigger modes have 4 pins (P1 M1 P2 M2).
The netlisting procedure writes out their pins accordingly.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
triggerValue triggerValue 1 - X -
Rise Time tr - X -
Fall Time tf - X -
Lower lowerthreshold - X -
threshold(percent)
Upper upperthreshold - X -
threshold(percent)
Threshold triggerthresh - X -
old
Taps lfsrtaps - X -
RJ(rns) rjrms - X -
RJ(seed) rjseed - X -
PJ%d(amplitude) pjamp1-3 - X -
PJ%d(frequency) pjfreq1-3 - X -
Seed seed - X -
Version version 2 - - -
Note:
The nPeriodicJitter value is limited to the range of 0 and 3. If the input value is
smaller than 0, it is reset to 0. If the input value is greater than 3, it is reset to 3.
No message is displayed for resetting the limit value.
vpulse
This symbol specifies an independent source element and modes pulse generator.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current vdc 0 X X -
Voltage1 v1 0 X X -
Voltage2 v2 0 X X -
Delay Time td 0 X X -
Rise Time tr X X -
Fall Time tf X X -
Pulse Width pw X X -
Period per X X -
Seed seed X - -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Impedance z0 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v1 plus minus dc=0 pulse ( 0 0 0 )
See Also
• Independent Source Elements in the HSPICE® User Guide: Elements
vpwl
PWL independent voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
Time1-50 t1-50 X X -
Voltage1-50 v1-50 0 X X -
Repeat r X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Offset voltage vo - X -
Impedance z0 - - -
PWL pwl - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 n2 dc=0 pwl ( 0 0.0 1n 0.02 1.2n 0.5 2n 1.2 )
See Also
• PWL Source in the HSPICE® User Guide: Elements
vpwlf
PWL source, that accepts a text file containing time and voltage pairs. The data in the text
file can be either a table or a list.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
Repeat r X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
XF magnitude xfm - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Offset voltage vo - X -
Impedance z0 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 n2 PWL PWLFILE='Vmod.dat'
See Also
• File-driven PWL Source in the HSPICE® User Guide: Elements
vpwlz
The high Z state of the PWLZ source adds the capability to disconnect the PWL source for
time periods marked with the keyword Z.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
Time1-50 t1-50 X X -
Voltage1-50 v1-50 0 X X -
Z State1-50 Z1-50 0 X X -
Repeat r X - -
Delay Time td 0 X X -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Offset voltage vo - X -
Impedance z0 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 n2 dc=0 pwlz ( 0 0.0 1n z 1.2n 0.5 2n 1.2 )
See Also
• High Impedance State PWL (PWLZ) in the HSPICE® User Guide: Elements
vsffm
Single-frequency FM voltage source.
The following expression defines the waveform shape:
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Current idc 0 - - -
Output Amplitude va 0 X - -
Offset Voltage vo 0 X - -
Signal Frequency fs X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Impedance z0 - - -
Example
v4 n1 gnd! dc=0.5 sffm ( 0.0 1.1 20k 10 5k )
See Also
• Single-frequency FM Source in the HSPICE® User Guide: Elements
vsin
Sinusoidal voltage source that can be either a constant sinusoid or a damped, that
produces a dying exponential with a sine wave.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
Voltage Offset vo 0 X X -
Voltage Amplitude va 0 X X -
Frequency freq X X -
Delay Time td 0 X X -
Seed seed X - -
AC Magnitude acm X X -
AC Phase acp X X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
FM frequency fmmodfreq - X -
FM index fmmodindex - X -
Frequency 2 freq2 - X -
Number of FNpairs 0 - X -
noise/frequency pairs
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
XF magnitude xfm - X -
Amplitude 2 va2 - X -
Impedance z0 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 0 dc=0 sin ( 0 1v 100Meg 1n 1e+6 0 )
This damped sinusoidal source connects between nodes n1 and 0. In this waveform:
• Peak value is 1V
• Offset is 0 V
• Frequency is 100 MHz
• Time delay is 1 ns
• Damping factor is 1e+6
• Phase delay is 0 deg
See Also
• Sinusoidal Source Function in the HSPICE® User Guide: Elements
vsource
Voltage source element with various parameters settings.
The vsource device is a PCell controlled by its source type. For source type other than
prbs, it is a 2-pin device and its symbol looks as follows:
For prbs source type, its PCell behavior is affected by the trigger parameter. The following
figure shows four vsource devices that have different trigger modes, which are Internal (on
the upper-left), External by rising edges (on the upper-right), External by falling edges (on
the lower-left), and External by both edges (on the lower-right) modes. The internal trigger
mode has 2 pins (PLUS and MINUS) and other three external trigger modes have 4 pins
(P1, M1, P2, and M2). The netlisting procedure writes out their pins accordingly.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X X -
srcTypeValue srcTypeValue 1 - - -
Time1-50 t1-50 X X -
Z State1-50 Z1-50 0 X X -
Voltage1-50 v1-50 X X -
Rise Time tr 0 X X -
Fall Time tf 0 X X -
Pulse Width pw 0 X X -
Period per 0 X X -
Repeat r X - -
Voltage Offset vo 0 X - -
Frequency 1 freq X X -
Voltage Amplitude va 0 X X -
Delay Time td 0 X X -
DC offset offset - X -
Breakpoints allbrkpts no - X -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
Impedance z0 - - -
Frequency 2 freq2 - X -
Number of freqvecs 0 - X -
frequencies
FM index 1 fmmodindex - X -
FM frequency 1 fmmodfreq - X -
Lower lowerthreshold - X -
threshold(percent)
Upper upperthreshold - X -
threshold(percent)
triggerValue triggerValue 1 - X -
Threshold triggerthresh - X -
old
Taps lfsrtaps - X -
RJ(rms) rjrms - X -
RJ(seed) rjseed - X -
PJ%d(amplitude) pjamp1-3 - X -
PJ%d(frequency) pjfreq1-3 - X -
PJ%d(type) pjtype1-3 - X -
AC Magnitude acm X X -
AC Phase acp X X -
XF magnitude xfm - X -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Quadratic tc2 X X -
temperature
coefficient
Frequency1-50 F1-50 - X -
Noise1-50 N1-50 - X -
Multiplier m - X -
Version version 2 - - -
Note:
• When frequency/noise pairs have empty values or the number of frequency/
noise pairs does not match with the FNpairs parameter, the Spectre netlister
shows an error in the console.
• The default of noise_file_as_var parameter is false. If the noisefile
parameter is set as NOISEFILE, the netlisting behavior for noisefile and
noise_file_as_var parameters is as follows:
noise_file_as_var
Example
v4 n1 n2 dc=1 power=0
v4 n1 n2 dc=0 exp ( 0 1 0 20n 0 30n )
v4 n1 n2 dc=0.35 pulse ( 0 0.75 1n 1n 1n 10n 20n )
See Also
• Independent Sources and Stimuli in the PrimeSim Continuum User Guide: Elements
Note:
vsource Resistance parameters, #HB Tones parameters, and Power Switch
are kept for reasons of compatibility with PrimeSim HSPICE, but their ongoing
use is not recommended.
vvmrf
Vector Modulated RF voltage source. It allows digital modulation of an RF carrier using in-
phase and quadrature components created from a binary data stream.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
DC Voltage vdc 0 X - -
Bitstream bitstream X - -
AC Magnitude acm X - -
AC Phase acp X - -
# HB Tones hbtones 0 X - -
HB Magnitude1-7 hbmag1-7 X - -
HB Phase1-7 hbphase1-7 0 X - -
HB Harmonic1-7 hbharm1-7 1 X - -
HB ModHarm1-7 hbmodharm1-7 X - -
HB ModTone1-7 hbmodtone1-7 X - -
DC Resistance rdc X - -
AC Resistance rac X - -
HB Resistance rhb X - -
Multiplier m X - -
Impedance z0 X - -
Example
v4 n1 n2 dc=0 vmrf amp=0.85 freq=10k phase=0 rate=100Meg
+ mod=bpsk filter=rect bitstream=01010010011100b
See Also
• Vector-modulated RF (VMRF) Source in the HSPICE® User Guide: Elements
Dependent Sources
The following topics describe:
• cccs
• ccvs
• pcccs
• pccvs
• pvccs
• pvcvs
• pvcvs2
• svccs
• svcvs
• vccs
• vcvs
• zvccs
• zvcvs
cccs
Current-controlled current source. Can be of linear, pwl, and delay types.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Delta delta - X -
Temperature tc1 X X -
Coefficient 1
Temperature tc2 X X -
Coefficient 2
Port port - X -
Multiplier m - X -
Time Delay td - X -
Example
f4 n1 gnd! cccs vcntrl 0.45 abs=0
See Also
• Current-dependent Current Sources—F-elements in the HSPICE® User Guide:
Elements
ccvs
Current-controlled voltage source. Can be of linear, pwl, and delay types.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Transresistance hgain 1 - X -
(Spectre)
Transresistance hhgain 1 X - -
(HSPICE)
Delta delta X X -
Temperature tc1 X X -
Coefficient 1
Temperature tc2 X X -
Coefficient 2
Port port - X -
Multiplier m - X -
Example
h4 n1 gnd! ccvs vcntrl 1 max='vmax' min='vmin' abs=0
See Also
• Current-dependent Voltage Sources—H-elements in the HSPICE® User Guide:
Elements
pcccs
Polynomial current-controlled current source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Gain gain 1 - X -
Multiplier m X X -
Example
f4 n1 gnd! cccs poly(2) v1 v2 ic=1u 1 1 3 1 6
See Also
• Polynomial (POLY) in the HSPICE® User Guide: Elements
• Polynomial Functions in the HSPICE® User Guide: Elements
pccvs
Polynomial current-controlled voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Gain gain 1 - X -
Multiplier m - X -
Example
h4 n1 gnd! ccvs poly(2) v1 v2 1 1 3 1 6 ic=1u
See Also
• Polynomial (POLY) in the HSPICE® User Guide: Elements
• Polynomial Functions in the HSPICE® User Guide: Elements
pvccs
Polynomial voltage-controlled current source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Gain gain 1 - X -
Multiplier m X X -
Example
g5 n1 gnd! vccs poly(1) n2 gnd! ic=0.5 3 1 5
See Also
• Polynomial (POLY) in the HSPICE® User Guide: Elements
pvcvs
Polynomial voltage-controlled voltage source.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Gain gain 1 - X -
Multiplier m - X -
Example
e5 n1 gnd! vcvs poly(1) n2 gnd! 3 1 5 ic=0.5
See Also
• Polynomial (POLY) in the HSPICE® User Guide: Elements
pvcvs2
Polynomial voltage controlled voltage sources, which is controlled by two voltage sources.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Initial condition ic - X -
Gain gain - X -
Multiplier m - X -
Temperature tc1 - X -
coefficient 1
Temperature tc2
coefficient 2
svccs
Voltage-controlled current source with Laplace transform and Pole-Zero function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Coefficient of Num. k0 X - -
Const Term
Coefficient of Num. k1 X - -
Term 1
Coefficient of Num. k2 X - -
Term 2
Coefficient of Num. k3 X - -
Term 3
Coefficient of Num. k4 X - -
Term 4
Coefficient of Num. k5 X - -
Term 5
Coefficient of Num. k6 X - -
Term 6
Coefficient of Num. k7 X - -
Term 7
Coefficient of Num. k8 X - -
Term 8
Coefficient of Num. k9 X - -
Term 9
Coefficient of Den. d0 X - -
Const Term
Coefficient of Den. d1 X - -
Term 1
Coefficient of Den. d2 X - -
Term 2
Coefficient of Den. d3 X - -
Term 3
Coefficient of Den. d4 X - -
Term 4
Coefficient of Den. d5 X - -
Term 5
Coefficient of Den. d6 X - -
Term 6
Coefficient of Den. d7 X - -
Term 7
Coefficient of Den. d8 X - -
Term 8
Coefficient of Den. d9 X - -
Term 9
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Multiplier m X - -
Example
glowpass out gnd! laplace in gnd! 1.0 / 1.0, 2.0, 2.0, 1.0
ghigh_pass out gnd! pole in gnd! 1 / 1 0.001,0.0
See Also
• Laplace Transform in the HSPICE® User Guide: Elements
• Pole-Zero Function in the HSPICE® User Guide: Elements
svcvs
Voltage-controlled voltage source with Laplace transform and Pole-Zero function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Coefficient of Num. k0 X - -
Const Term
Coefficient of Num. k1 X - -
Term 1
Coefficient of Num. k2 X - -
Term 2
Coefficient of Num. k3 X - -
Term 3
Coefficient of Num. k4 X - -
Term 4
Coefficient of Num. k5 X - -
Term 5
Coefficient of Num. k6 X - -
Term 6
Coefficient of Num. k7 X - -
Term 7
Coefficient of Num. k8 X - -
Term 8
Coefficient of Num. k9 X - -
Term 9
Coefficient of Den. d0 X - -
Const Term
Coefficient of Den. d1 X - -
Term 1
Coefficient of Den. d2 X - -
Term 2
Coefficient of Den. d3 X - -
Term 3
Coefficient of Den. d4 X - -
Term 4
Coefficient of Den. d5 X - -
Term 5
Coefficient of Den. d6 X - -
Term 6
Coefficient of Den. d7 X - -
Term 7
Coefficient of Den. d8 X - -
Term 8
Coefficient of Den. d9 X - -
Term 9
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Example
ehipass out 0 LAPLACE in 0 0.0,0.0,0.0,1.0 / 1.0,2.0,2.0,1.0
elow_pass out 0 POLE in 0 1.0 / 1.0, 1.0,0.0 0.5,0.1379
See Also
• Laplace Transform in the HSPICE® User Guide: Elements
• Pole-Zero Function in the HSPICE® User Guide: Elements
vccs
Voltage-controlled current source with linear, pwl, and delay functions.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Transconductance ggain 1 - X -
(Spectre)
Transconductance hggain 1 X - -
(HSPICE)
Delta Delta X X -
Temperature tc1 X X -
Coefficient 1
Temperature tc2 X X -
Coefficient 2
Multiplier hm X - -
Multiplier m - X -
Capacitance ctype 0 X - -
Calculation Mode
Time Delay td 0 X - -
Multiplier m - X -
Example
G4 out gnd! vccs cntrl gnd! 1 max=100u min=10u abs=0
See Also
• Voltage-dependent Current Sources—G-elements in the HSPICE® User Guide:
Elements
vcvs
Voltage-controlled voltage source with linear, pwl, and delay functions.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Delta delta X X -
Temperature tc1 X X -
Coefficient 1
Temperature tc2 X X -
Coefficient 2
Multiplier m - X -
Example
E4 out gnd! vcvs cntrl gnd! 1 max=1 min=0.25 abs=0
See Also
• Voltage-Dependent Voltage Sources—E-elements in the HSPICE® User Guide:
Elements
zvccs
Voltage-controlled current source with Z transform function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Coefficient of Num. k0 X - -
Const Term
Coefficient of Den. d0 X - -
Const Term
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Multiplier m X - -
Example
glow_pass 0 out ZTRANS in 0 0.0317 0.0951
+ 0.0951 0.0317 / 1.0 -1.459 0.9104 -0.1978
See Also
• Z Transform Function Cell in the HSPICE® User Guide: Elements
zvcvs
Voltage-controlled voltage source with Z transform function.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter Value
Coefficient of Num. k0 X - -
Const Term
Coefficient of Den. d0 X - -
Const Term
Temperature tc1 X - -
Coefficient 1
Temperature tc2 X - -
Coefficient 2
Example
ehigh_pass out 0 ZTRANS in 0 -0.0082 -0.1793
+ 0.6579 -0.1793 -0.0082 / 1
See Also
• Z Transform Function Cell in the HSPICE® User Guide: Elements
Global Nets
The following topics describe:
• gnd
• gnd_connDef
• gndd!
• vcc
• vccd!
• vdd
• vdd_connDef
• vdda
• vddd
• vee!
• veed
• vssa!
• vssd!
gnd
The symbol specifies a gnd! global ground net. The cell has no CDF parameters.
gnd_connDef
The symbol specifies a ground net with a connection definition and gnd! default net name.
This symbol is similar to gnd! and has no CDF parameters.
The cell has one connection assignment with the name “gnd”. With this connection
assignment it is possible to create a new global power net and pass it to a higher hierarchy
level of the design.
Example
gndd!
The symbol specifies a gndd! global ground net. The cell has no CDF parameters.
vcc
The symbol specifies vcc! power global net. The cell has no CDF parameters.
vccd!
The symbol specifies a power connection with vccd! global net. The cell has no CDF
parameters.
vdd
The symbol specifies a power connection with vdd! global net. The cell has no CDF
parameters.
vdd_connDef
The symbol specifies a power net with a connection definition and the default net name
vdd!. The cell has no CDF parameters.
The cell has one connection assignment with the name “vdd”. With this connection
assignment it is possible to create a new global power net and pass it to a higher hierarchy
level of the design.
Example
vdda
The symbol specifies a vdda! global power net. The cell has no CDF parameters.
vddd
The symbol specifies a vddd! global power net. The cell has no CDF parameter.
vee!
The symbol specifies a ground connection with vee! global power net. The cell has no
CDF parameters.
veed
The symbol specifies a veed! global power net. The cell has no CDF parameters.
vssa!
The symbol specifies a vssa! global ground net. It is similar to vss! and gnd! symbols and
the cell has no CDF parameters.
vssd!
The symbol specifies a vssd! global power net. The cell has no CDF parameters.
2
analogLib Preferences
Tcl preferences of analogLib are used for version control and parameter settings. Each
preference has:
• Preference purpose and name in the page’s title
• A table lists:
◦ The Custom Compiler build with a new version of related element.
◦ The description of that version.
◦ The preference value which points to that version.
• Sometimes the preference values are enabled or redefined in a newer build than the
element version.
◦ The build information related to preference is in the note under the table. The
preference values are valid with that build.
• Check dbAnalogLibSwitchVersion for an example.
Syntax
The syntax to use an analogLib preference:
db::createPref <preference_name> -value <preference_value>
Example
db::createPref dbAnalogLibIsinVersion -value 1
Guidelines
Guidelines to use analogLib preferences:
• If need a third-party compatible element: don’t set version control preferences. The
default version is third-party compatible.
• If there is any back-compatible issue in legacy schematics: try a version control
preference. But whenever it is possible, it is recommended to migrate to the latest
analogLib versions.
• Always set analogLib preferences right after launching Custom Compiler, to make sure
the preferences work as expected.
The following sections describe the preferences in details.
• setAnalogLibCompatibleVersion
• dbAnalogLibAutoUpdatePortNum
• dbAnalogLibCccsVersion
• dbAnalogLibCcvsVersion
• dbAnalogLibIndVersion
• dbAnalogLibIndqVersion
• dbAnalogLibIprbsVersion
• dbAnalogLibIsinVersion
• dbAnalogLibIsourceVersion
• dbAnalogLibNcsVersion
• dbAnalogLibNportVersion
• dbAnalogLibNvsVersion
• dbAnalogLibNxPortVersion
• dbAnalogLibMTlineVersion
• dbAnalogLibPcapacitorVersion
• dbAnalogLibPdiodeVersion
• dbAnalogLibPinductorVersion
• dbAnalogLibPortVersion
• dbAnalogLibPprbsVersion
• dbAnalogLibPpwlVersion
• dbAnalogLibPsinVersion
• dbAnalogLibPulseExpV1V2Remap
• dbAnalogLibSp1tswitchVersion
• dbAnalogLibSp1t2tswitchEmptyOffset
• dbAnalogLibSwitchVersion
• dbAnalogLibTlineVersion
• dbAnalogLibVccsVersion
• dbAnalogLibVcresVersion
• dbAnalogLibVcvsVersion
• dbAnalogLibVprbsVersion
• dbAnalogLibVsinVersion
• dbAnalogLibVsourceVersion
• dbAnalogLibWindingVersion
• nlHSPICESkipEmptyDC
setAnalogLibCompatibleVersion
Sets all analogLib preferences to the default value in specified version.
Syntax
db::setAnalogLibCompatibleVersion <release version number>
Examples
db::setAnalogLibCompatibleVersion U-2023.03-SP1
Note:
• Use this command line before opening any libraries or library manager.
• This preference sets all analogLib preferences to specified release version.
After closing Custom Complier, all analogLib preferences are written to the
file: <work_dir>/synopsys_custom/prefs.xml
Next time when launching Custom Compiler, these analogLib preferences
are loaded automatically.
In this case, the individual preference wins. The Iprbs version is set to 2, all
other elements are set to the default version in U-2023.02. However, the
individual preference set in console won't be remembered next time you
open Custom Compiler
The permanent solution is to open <work_dir>/synopsys_custom/
prefs.xml, change the value of the dbAnalogLibIprbsVersion preference
to 2 directly
dbAnalogLibAutoUpdatePortNum
Disables auto-assignment of port number.
Before S-2021.09-SP2 Automatically assign port number if the parameter “num” is not specified
This applies when creating an instance, performing Copy action or Property Editor displa
on a selected device that has an empty port number.
Port family devices include port, port_ref, mport, pdc, pexp, ppulse, ppwl, ppwlf, plfsr, pp
psin, pam, and psffm.
Note:
Preference values true and false are enabled in U-2023.03-SP2. The default
value is true.
dbAnalogLibCccsVersion
Controls cccs versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 2.
dbAnalogLibCcvsVersion
Controls ccvs versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 2.
dbAnalogLibIndVersion
Controls ind versions.
V-2023.12-SP1 Use c1 ~ c20 instead of c0 ~c20 for poly coefficients in spectre-format display and netlis
Note:
Preference values 1-2 are redefined or enabled in V-2023.12-SP1. The default
is 2.
dbAnalogLibIndqVersion
Controls ind versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12-SP1. The default
value is 2.
The comparison of symbols in version 1 and version 2 (The height is changed):
dbAnalogLibIprbsVersion
Controls iprbs versions.
Note:
Preference value 1 is enabled in U-2023.03-SP2. The default value is 1.
dbAnalogLibIsinVersion
Controls isin versions.
Note:
Preference values 1-2 are redefined and enabled in U-2023.03-SP2. The
default value is 2.
dbAnalogLibIsourceVersion
Controls isource versions.
U-2023.03-SP2 Symbol is changed to PCell (for “type=prbs” & “external trigger modes”)
No impact on legacy designs if not in this type and mode
Change tvpairs default value to 0
Both of Spectre-format and Hspice-format: netlist and simulation result are changed
Netlist noise-related parameters (noisefile, F/N pairs) when they are hidden in PE
Spectre-format: netlist and simulation result are changed
Hspice-format: netlist is not changed
Inherited from last version: ia has no default value
Note:
Preference values 1-3 are in U-2023.03-SP2. The default value is 3.
dbAnalogLibNcsVersion
Controls ncs versions.
U-2023.03-SP2 Add new CDF parameter noiseEntryMethod to control the display and netlisting of
and noisefile
Choices are: file and expression
Default value is: file
Spectre-format: no impact. (ncs is for Hspice-format only)
Hspice-format: legacy schematic is impacted if the ncs element sets Noise Expression a
The noise expression is not netlisted because it is hidden by default noiseEntryMethod.
Note:
Preference values 1-2 are enabled in U-2023.03-SP2. The default value is 2.
dbAnalogLibNportVersion
Controls nport versions.
Before S-2021.09 Redefine nport device to make it more compatible with third party
Note:
Preference values 1-2 are enabled before S-2021.09. The default value is 2.
dbAnalogLibNvsVersion
Controls nvs versions.
U-2023.03-SP2 Add new CDF parameter noiseEntryMethod to control the display and netlisting of
and noisefile
Choices are: file and expression
Default value is: file
Spectre-format: no impact. (nvs is for Hspice-format only)
Hspice-format: legacy schematic is impacted if the ncs element sets Noise Expression a
The noise expression is not netlisted because it is hidden by default noiseEntryMethod.
Note:
Preference values 1-2 are enabled in U-2023.03-SP2. The default value is 2.
dbAnalogLibNxPortVersion
Controls n1port, n2port, n3port, and n4port versions.
Note:
Preference values 1-2 are enabled in U-2023.03-SP1-1. The default value is 2.
dbAnalogLibMTlineVersion
Controls mtline versions.
Before S-2021.09 Redefine mtline to make it more compatible with third party
V-2023.12-SP1 Use CDF parameter file instead of rlgcfile in spectre-format display and netlisting.
spectre-format: Set this preference to value 2 to use rlgcfile in spectre-format display
netlisting.
Hspice-format: Use rlgcfile only for Hspice-format.
Note:
Preference values 1-2 are enabled before S-2021.09.
Preference value 3 is enabled in V-2023.12-SP1. The default is 3.
dbAnalogLibPcapacitorVersion
Controls pcapacitor versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 2.
dbAnalogLibPdiodeVersion
Controls pdiode versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 2.
dbAnalogLibPinductorVersion
Controls pinductor versions.
V-2023.12-SP1 Use CDF parameter trise instead of dtemp in spectre-format display and netlisting
Note:
Preference values 1-2 are redefined or enabled in V-2023.12-SP1. The default
value is 2.
dbAnalogLibPortVersion
Controls port versions.
U-2023.03-SP2 Symbol is changed to PCell (for “type=prbs” & “external trigger modes”)
No impact on legacy designs if not in this type and mode
Change tvpairs default value to 0
Both of spectre-format and hspice-format: netlist and simulation result are changed
Netlist noise-related parameters (noisefile, F/N pairs) when they are hidden in the
Property Editor by parameter noiseParam
Spectre-format: netlist and simulation result are changed
Hspice-format: netlist is not changed
Netlist (type=sine) fmmodfiles and scale when they are hidden in the Property Edit
by parameter modulation
Spectre-format: netlist and simulation result are changed
Hspice-format: netlist is not changed
Note:
Preference values 1-2 are enabled in U-2023.03-SP2. The default value is 2.
dbAnalogLibPprbsVersion
Controls pprbs versions.
Note:
Preference values 1-2 are enabled in U-2023.03-SP2. The default value is 2.
dbAnalogLibPpwlVersion
Controls ppwl versions.
Note:
Preference values 1-2 are enabled in U-2023.03-SP2. The default value is 2.
dbAnalogLibPsinVersion
Controls psin versions.
Note:
Preference values 1-2 are enabled in U-2023.03-SP2. The default value is 2.
dbAnalogLibPulseExpV1V2Remap
Disables using val0 and val1 in vsource, isource, or port devices (type=pulse/exp) in
Hspice-format.
U-2023.03 Use CDF parameters val0 and val1 for high/low values, prompts are “Zero value” a
“One value”
Hspice-format: netlist is not changed
Spectre-format: no change. This is only for Hspice-format.
Note:
Preference values true and false are enabled in U-2023.03. The default value is
true.
dbAnalogLibSp1tswitchVersion
Controls sp1tswitch versions.
Before S-2021.09 Redefine sp1tswitch to make it more compatible with third party
Note:
Preference values 1-2 are enabled before S-2021.09. The default value is 2.
dbAnalogLibSp1t2tswitchEmptyOffset
Write offset=0 in netlist by default.
Note:
Preference values true and false are redefined or enabled in V-2023.12. The
default is true.
dbAnalogLibSwitchVersion
Controls switch versions.
Inherited from last version: vt1 default value is 0.1, vt2 default value is 0
Note:
Preference values 1-3 are redefined or enabled in U-2023.03-SP1. Preference
value 4 is enabled in V-2023.12-SP2. The default value is 4.
Examples
A legacy schematic was created with Custom Compiler T-2022.06-SP1. The switch in
the design should have symbol version 2, vt1 default value is 0.1, vt2 default value is 0.
Suppose the legacy schematic used these default values.
• If opening the legacy schematic with U-2023.03-SP1, set the preference value to 2 for
back-compatibility.
• If opening the example schematic with version earlier than U-2023.03-SP1, the
preference value 2 may not work as the table shown.
• If the switch does not use the default vt1 and vt2, no need to set the preference.
dbAnalogLibTlineVersion
Controls tline versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 3.
dbAnalogLibVccsVersion
Controls vccs versions.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 2.
dbAnalogLibVcresVersion
Controls writing hm=1 in spectre-format netlist by default.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12. The default is 2.
dbAnalogLibVcvsVersion
Controls vcvs versions.
Note:
Preference values 1-3 are redefined or enabled in V-2023.12. The default is 3.
dbAnalogLibVprbsVersion
Controls vprbs versions.
Note:
Preference values 1-2 are enabled in U-2023.03-SP1. The default value is 2.
dbAnalogLibVsinVersion
Controls vsin versions.
Note:
Preference values 1-3 are redefined or enabled in U-2023.03-SP2. The default
value is 3.
dbAnalogLibVsourceVersion
Controls vsource versions.
U-2023.03-SP1 Symbol is changed to PCell (for “type=prbs” & “external trigger modes”)
No impact on legacy designs if not in this type and mode
Change tvpairs default value to 0
Both of spectre-format and hspice-format: netlist and simulation result are changed
Inherited from last version: va has no default value
Note:
Preference values 1-3 are redefined or enabled in U-2023.03-SP2. The default
value is 3.
dbAnalogLibWindingVersion
Version control for winding devices.
Note:
Preference values 1-2 are redefined or enabled in V-2023.12-SP2. The default
value is 2.
nlHSPICESkipEmptyDC
Controls whether to write dc=0 by default in hspice-format netlist.
Note:
Preference values true and false are redefined or enabled in V-2023.12. The
default is true.
3
rfLib
Support for third-party compatible RF sample library (rfLib) for migration of user's design
created by third-party tools. Also, this library can be used by designers to create RF
designs.
msource
IQ modulated source with various parameters settings. The msource device is a PCell.
Its PCell behavior is controlled by its signal type. When the signal type is passband, the
symbol is a two-terminal device. When the signal type is baseband, the symbol is a four-
terminal device.
CDF Parameters
CDF Parameter CDF Default hspiceD spectre auCdl
Prompt Parameter
Resistance r 50 X X –
artParameterInToolDi filter_samples 4 X – –
splay('filter_symbols)
Number of DC MSource_DC 1 – X –
carriers Num
Examples
Passband netlist in spectre-format:
W0_pass (net1 net2) wsource wsource_type=txInput wsource_carrier_harm=1 \
standard="MSource" dbm=6.99 r=50 framenumber=10 oversample=4
snr=3 \
MSource_Frequency=5G MSource_DataRate=48M MSource_ModType=QAM16 \
MSource_SymbolNum=512 MSource_DataType=PN15 \
MSource_FilterType=None MSource_OFDMType=No