Copyright 2005 Syno psys, Inc. All rights reserved. This softw are and documentation con tain confidential and prop rietary
information that is the property of Synopsys, Inc. The softwar e and documentation are furnished under a license ag reement and
may be used or copied only in accordance with the terms of the license agreement. No part of the software and documentation may
be reproduced, transmitted, or translated, in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without
prior written permission of Synopsys, Inc., or as expressly provided by the license agreement.
Right to Copy Documentation
The license agreement with Synopsys permits licensee to make copies of the documentation for its internal use only.
Each copy shall include all copyrights, trademarks, service marks, and proprietary rights notices, if any. Licensee must
assign sequential numbers to all copies. These copies shall contain the following legend on the cover page:
“This document is duplicated with the permission of Synopsys, Inc., for the exclusive use of
_________________________________________ _ and its em ployees. This is copy number __________.”
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.
Registered Trademarks (®)
Synopsys, AMPS, Arcadia, C Level Design, C2HDL, C2V, C2VHDL, Cadabra, Calaveras Algorithm, CATS, CRITIC,
CSim, Design Compiler, DesignP ow er , DesignW are, EPIC , F ormality, HSIM, HSPICE, Hypermodel, iN-Phase, in-Sync,
Leda, MAST , Meta, Meta-Software, ModelT ools, NanoSim, OpenVera, P athMill, Photolynx, Physical Compiler, Po werMill,
PrimeTime, RailMill, RapidScript, Saber, SiVL, SNUG, SolvNet, Superlog, System Compiler, T estify , TetraMAX, TimeMill,
TMA, VCS, Vera, and Virtual Stepper are registered trademarks of Synopsys, Inc.
Trademarks (™)
Active Parasitics, AFGen, Apollo, Apollo II, Apollo-DPII, Apollo-GA, ApolloGAII, Astro, Astro-Rail, Astro-Xtalk, Aurora,
AvanTestchip, AvanWaves, BCView, Behavioral Compiler, BOA, BRT, Cedar, ChipPlanner, Circuit Analysis, Columbia,
Columbia-CE, Comet 3D, Cosmos, CosmosEnterprise, CosmosLE, CosmosScope, CosmosSE, Cyclelink, Davinci, DC
Expert, DC Expert Plus, DC Professional, DC Ultra, DC Ultra Plus, Design Advisor, Design Analyzer, Design Vision,
DesignerHDL, DesignTime, DFM-Workbench, Direct RTL, Direct Silicon Access, Discovery, DW8051, DWPCI,
Dynamic-Macromodeling, Dynamic Model Switcher, ECL Compiler, ECO Compiler , EDAna vigator , Encore, Encore PQ,
Evaccess, ExpressModel, Floorplan Manager, Formal Model Checker , FoundryModel, FPGA Compiler II, FPGA Express,
Frame Compiler, Galaxy, Gatran, HANEX, HDL Advisor, HDL Compiler, Hercules, Hercules-Explorer, Hercules-II,
MAP-in, SVP Café, and TAP-in are ser vice marks of Synopsys, Inc.
plus
, HSPICE-Link, iN-Tandem,
SystemC is a trademark of the Open SystemC Initiative and is used under license.
ARM and AMBA are registered trademarks of ARM Limited.
All other product or company names may be trademarks of their respective owners.
This manual describes how to use HSPICE to maintain signal integrity in your
chip design.
Inside This Manual
This manual contains the chapters described below. For descriptions of the
other manuals in the HSPICE documentation set, see the next section, “The
HSPICE Documentation Set.”
ChapterDescription
Chapter 1, IntroductionDescribes some of the factors that can affect
About This Manual
signal integrity in your design.
Chapter 2, S Parameter
Modeling Using the
S Element
Chapter 3, Modeling
Coupled Transmission
Lines Using the W Element
HSPICE® Signal Integrity User Guidexi
X-2005.09
Describes S parameter and SP modeling as well
as other topics related to the S element
Describes how to use basic transmission line
simulation equations and an optional method for
computing the parameters of transmission line
equations.
About This Manual
The HSPICE Documentation Set
ChapterDescription
Chapter 4, Modeling Input/
Output Buffers Using IBIS
Chapter 5, Modeling Ideal
and Lumped Transmission
Lines
The HSPICE Documentation Set
This manual is a part of the HSPICE documentation set, which includes the
following manuals:
ManualDescription
HSPICE Simulation and
Analysis User Guide
Describes how to model input and output buffe rs
using IBIS. Includes information on IBIS
conventions , buf fers , and the IBIS golden parser .
Describes how to model ideal and lumped
transmission lines.
Describes how to use HSPICE to simulate and
analyze your circuit designs. This is the main
HSPICE user guide.
HSPICE Signal Integrity
Guide
HSPICE Applications
Manual
HSPICE Command
Reference
HPSPICE Elements and
Device Models Manual
Describes how to use HSPICE to maintain signal
integrity in your chip design.
Provides application examples and additional
HSPICE user information.
Provides reference information for HSPICE
commands.
Describes standard models you can use when
simulating your circuit designs in HSPICE,
including passive devices, diodes, JFET and
MESFET devices, and BJT devices.
HPSPICE MOSFET Models
Manual
Describes standard MOSFET models you can
use when simulating your circuit designs in
HSPICE.
xiiHSPICE® Signal Integrity User Guide
X-2005.09
About This Manual
Searching Across the HSPICE Documentation Set
ManualDescription
HSPICE RF ManualDescribes a special set of analysis and design
capabilities added to HSPICE to support RF and
high-speed circuit design.
AvanWaves User GuideDescribes the AvanWaves tool, which you can
use to display waveforms generated during
HSPICE circuit design simulation.
HSPICE Quick Reference
Guide
HSPICE Device Models
Quick Reference Guide
Provides key reference information for using
HSPICE, including syntax and descriptions for
commands, options, paramete rs, elements, and
more.
Provides key reference information for using
HSPICE device models, including passive
devices, diodes, JFET and MESFET devices,
and BJT devices.
Searching Across the HSPICE Documentation Set
Synopsys includes an index with your HSPICE documentation that lets you
search the entire HSPICE documentation set for a particular topic or keyword.
In a single operation, you can instantly generate a list of hits that are
hyperlinked to the occurrences of your search term. For information on how to
perform searches across multiple PDF documents, see the HSPICE release
notes (available on SolvNet at http://solvnet.synopsys.com) or the Adobe
Reader online help.
Note: To use this feature, the HSPICE documentation files, the Inde x directory,
and the index.pdx file must reside in the same directory. (This is the default
installation for Synopsys documentation.) Also, Adobe Acrobat must be
invoked as a standalone application rather than as a plug-in to your web
browser.
HSPICE® Signal Integrity User Guidexiii
X-2005.09
About This Manual
Other Related Publications
Other Related Publications
For additional information about HSPICE, see:
■
The HSPICE release notes, available on SolvNet (see Accessing SolvNet
on page xv)
■
Documentation on the Web, which provides PDF documents and is
available through SolvNet at http://solvnet.synopsys.com
■
The Synopsys MediaDocs Shop, from which you can order printed copies
of Synopsys documents, at http://mediadocs.synopsys.com
You might also want to refer to the documentation for the following related
Synopsys products:
■
CosmosScope
■
Aurora
■
Raphael
■
VCS
Conventions
The following conventions are used in Synopsys documentation.
ConventionDescription
CourierIndicates command syntax.
Italic
BoldIndicates user input—text y ou type verbatim—in syntax and
[ ]Denotes optional parameters, such as
...
Indicates a user-defined value, such as object_name.
examples.
write_file [-f filename]
Indicates that a parameter can be repeated as many times
as necessary:
pin1 [pin2 ... pinN]
xivHSPICE® Signal Integrity User Guide
X-2005.09
ConventionDescription
|Indicates a choice among alternatives, such as
\Indicates a continuation of a command line.
/Indicates levels of directory structure.
Edit > CopyIndicates a path to a menu command, such as opening the
Control-cIndicates a keyboard combination, such as holding down
Customer Support
About This Manual
Customer Support
low | medium | high
Edit menu and choosing Copy.
the Control key and pressing c.
Customer support is available through SolvNet online customer support and
through contacting the Synopsys Technical Support Center.
Accessing SolvNet
SolvNet includes an electronic knowledge base of technical articles and
answers to frequently asked questions about Synopsys tools. SolvNet also
gives you access to a wide range of Synopsys online services, which include
downloading software, viewing Documentation on the Web, and entering a call
to the Support Center.
To access SolvNet,
1.Go to the SolvNet Web page at http://solvnet.synopsys.com.
2.If prompted, enter your user name and password. (If you do not have a
Synopsys user name and password, follow the instructions to register with
SolvNet.)
If you need help using SolvNet, click SolvNet Help in the Support Resources
section.
HSPICE® Signal Integrity User Guidexv
X-2005.09
About This Manual
Customer Support
Contacting the Synopsys Technical Support Center
If you hav e prob lems, questions , or suggestions, y ou can contact the Synopsys
Technical Support Center in the following ways:
■
Open a call to your local support center from the Web by going to
http://solvnet.synopsys.com (Synopsys user name and passw ord required),
then clicking “Enter a Call to the Support Center.”
■
Send an e-mail message to your local support center.
•E-mail support_center@synopsys.com from within North America.
•Find other local support center e-mail addresses at
■
Telephone your local support center.
•Call (800) 245-8005 from within the continental United States.
•Call (650) 584-4200 from Canada.
http://www.synopsys.com/support/support_ctr.
•Find other local support center telephone numbers at
http://www.synopsys.com/support/support_ctr.
xviHSPICE® Signal Integrity User Guide
X-2005.09
Describes some of the factors that can affect signal integrity in your
design.
The performance of an IC design is no longer limited to how many million
transistors a vendor fits on a single chip. With tighter packaging space and
increasing clock frequencies, packaging issues and system-level performance
issues (such as crosstalk and transmission lines) are becoming increasingly
significant. At the same time, the popularity of multi-chip packages and
increased I/O counts is forcing package design to become more like chip
design.
Preparing for Simulation
1
1Introduction
To simulate a PC board or backplane, you must model the following
components:
■
Driver cell, including parasitic pin capacitances and package lead
inductances.
■
Transmission lines.
HSPICE® Signal Integrity User Guide1
X-2005.09
1: Introduction
Preparing for Simulation
■
A receiver cell with parasitic pin capacitances and package lead
inductances.
■
Terminations or other electrical elements on the line.
Model the transmission line as closely as possible— that is, to maintain the
integrity of the simulation, include all electrical elements exactly as they are laid
out on the backplane or printed circuit board.
You can use readily-available I/O drivers from ASIC vendors, and the HSPICE
device models adv anced lossy transmission lines to simulate the electrical
behavior of the board interconnect, bus, or bac kplane. You can also analyz e the
transmission line behavior under various conditions.
You can simulate because the critical models and simulation technology exist.
■
Many manufa cturers of high-speed components already use Synopsys
HSPICE.
■
You can hide the complexity from the system level.
■
HSPICE or HSPICE RF preserves the necessary electrical characteristics
with full transistor-level library circuits.
HSPICE or HSPICE RF can simulate systems by using:
■
System-lev el behavior, such as local component temperature and
independent models to accurately predict electrical behavior.
■
Automatic inclusion of library components by using the SEARCH option.
■
Lossy transmission line models that:
•Support common-mode simulation.
•Include ground-plane reactance.
•Include resistive loss of conductor and ground plane.
•Allow multiple signal conductors.
•Require minimum CPU computation time.
2HSPICE
®
Signal Integrity User Guide
X-2005.09
1: Introduction
Preparing for Simulation
Signal Integrity Problems
Table 1 lists some of the signal integrity problems that can cause failures in
high-speed designs.
Table 1 High-Speed Design Problems and Solutions
Signal Integrity
Problem
Noise: delta I
(current)
Noise: coupled
(crosstalk)
Noise: reflectiveImpedance mismatch.Reduce the number of
Delay: path
length
Propagation
speed
CausesSolution
Multiple simultaneouslyswitching drivers; highspeed devices create
larger delta I.
Closely-spaced parallel
traces.
Poor placement and
routing; too many or too
few layers; chip pitch.
Dielectric medium.Choose the dielectric with the
Adjust or evaluate location,
size, and v alue of decoupling
capacitors.
Establish design rules for
lengths of parallel lines.
connectors, and select
proper impedance
connectors.
Choose MCM or other highdensity packaging
technology.
lowest dielectric constant.
Delay: rise time
degradation
Resistive loss and
impedance mismatch.
Adjust width, thickness, and
length of line.
Analog Side of Digital Logic
Circuit simulation of a digital system becomes necessary only when the analog
characteristics of the digital signals become electrically important. Is the digital
circuit a new design or simply a fast v ersion of the old design? Many ne w digital
products are actually faster versions of existing designs. For example, the
transition from a 100 MHz to a 150 MHz Pentium PC might not require
extensive logic simulations. However, the integrity of the digital quality of the
signals might require careful circuit analysis.
HSPICE® Signal Integrity User Guide3
X-2005.09
1: Introduction
Preparing for Simulation
The source of a signal integrity problem is the digital output driver. A highspeed digital output driver can drive only a few inches before the noise and
delay (because of the wiring) become a problem. To speed-up circuit simulation
and modeling, you can create analog behavioral models, which mimic the full
analog characteristics at a fraction of the traditional evaluation time.
The roadblocks to successful high-speed digital designs are noise and signal
delays. Digital noise can originate from several sources. The fundamental
digital noise sources are:
■
Line termination noise—additional voltage reflected from the load back to
the driver, which is caused by an impedance mismatch. Digital output
buffers are not designed to accurately control the output impedance. Most
buff ers have different rising and falling edge impedances.
■
Ground bounce noise—noise generated where leadframes or other circuit
wires cannot form into transmission lines. The resulting inductance creates
an induced voltage in the ground circuit, supply circuit, and output driver
circuit. Ground bounce noise lowers the noise margins for the rest of the
system.
■
Coupled line noise—noise induced from lines that are physically adjacent.
This noise is generally more sev ere for data lines that are ne xt to clock lines .
Simulating the output buffer in Figure 1 demonstrates the analog behavior of a
digital gate circuit or HSPICE RF.
4HSPICE
®
Signal Integrity User Guide
X-2005.09
1: Introduction
Preparing for Simulation
Figure 1Simulating Output Buffer with 2 ns Delay and 1.8 ns Rise/F all Times
vdd
D
100.0M
-100.0M
Volt [Amp]
4.0
2.0
0
0
4.0
2.0
0
Out
Ground noise
5.0N
Ground Current
VDD Current
10.0N15.0N20.0N0
Time [Lin]
ACL.TRO
OUT
0
ACL.TRO
I-
I-
ACL.TRO
XIN.V.LOCAL
XIN.V.LOCAL
Circuit delays become critical as timing requirements become tighter. The key
circuit delays are:
■
Gate delays.
■
Line turnaround delays for tristate buffers.
■
Line length delays (clock skew).
Logic analysis addresses only gate delays. You can compute the variation in
the gate delay from a circuit simulation only if you understand the best case
and worst case manufacturing conditions.
The line turnaround delays add to the gate delays so you must add an extra
margin that multiple tristate buffer drivers do not
simultaneously turn on. In most systems, the line-length delay most directly
affects the clock skew.
As system cycle times approach the speed of electromagnetic signal
propagation for the printed circuit board, consideration of the line length
HSPICE® Signal Integrity User Guide5
X-2005.09
1: Introduction
Preparing for Simulation
becomes critical. The system noises and line delays interact with the electrical
characteristics of the gates, and might require circuit level simulation.
Analog details find digital systems problems. Exceeding the noise quota might
not cause a system to fail. Maximum noise becomes a problem only when
HSPICE accepts a digital input. If a digital systems engineer can decouple the
system, HSPICE or HSPICE RF can accept a much higher level of noise.
Common decoupling methods are:
■
Multiple ground and power planes on the PCB, MCM, and PGA.
■
Separating signal traces with ground traces.
■
Decoupling capacitors.
■
Series resistors on output buffer drivers.
■
Twisted-pair line driving.
In present systems designs, you must select the best packaging methods at
three levels:
■
printed circuit board
■
multi-chip module
■
pin grid array
Extra ground and power planes are often necessary to lower the supply
inductance and to provide decoupling.
■
Decoupling capacitors must have very low internal inductance to be
effective for high-speed designs.
■
Newer designs frequently use series resistance in the output drivers to lower
circuit ringing.
■
Critical high-speed driver applications use twisted differential-pair
transmission lines.
A systems engineer must determine how to partition the logic. The propagation
speed of signals on a printed circuit board is about 6 in/ns. As digital designs
become faster, wiring interconnects become a factor in how you partition logic.
Note: HSPICE RF partitioning is for Operating Point (OP) only.
6HSPICE
®
Signal Integrity User Guide
X-2005.09
1: Introduction
Preparing for Simulation
The critical wiring systems are:
■
IC-level wiring.
■
Package wiring for SIPs, DIPs, PGAs, and MCMs.
■
Printed circuit-board wiring.
■
Backplane and connector wiring.
■
Long lines – power, coax, or twisted pair.
If you use ASIC or custom integrated circuits as part of your system logic
partitioning strategy, you must make decisions about integrated circuit level
wiring. The more-familiar decisions involve selecting packages and arranging
packages on a printed circuit board. Large systems generally have a central
backplane, which becomes the primary challenge at the system partition level.
Use the following equation to estimate wire length when transmission line
effects become noticeable:
critical length=(rise time)*velocity/8
For example, if rise time is 1 ns and board velocity is 6 in/ns, then distortion
becomes noticeable when wire length is 3/4 in. The HSPICE or HSPICE RF
circuit simulator automatically generates models f or each type of wire to define
effects of full loss transmission lines.
To partition a system, ECL logic design engineers typically used to calculate
the noise quota for each line. Now, you must design mosthigh-speed digital
logic with respect to the noise quota so that the engineer knows how much
noise and delay are acceptable before timing and logic levels fail.
To solve the noise quota problem, you must calculate the noise associated with
the wiring. You can separate large integrated circuits into two parts:
■
Internal logic.
■
External input and output amplifiers.
When you use mixed digital and analog tools, you can merge a complete
system together with full analog-quality timing constraints and full digital
representation. You can simultaneously evaluate noise-quota calculations,
subject to system timing.
HSPICE® Signal Integrity User Guide7
X-2005.09
1: Introduction
Optimizing TDR Packaging
Figure 2Analog Drivers and Wires
Optimizing TDR Packaging
Packaging plays an important role in determining the overall speed, cost, and
reliability of a system. With today’s small feature sizes, and high levels of
integration, a significant portion of the total delay is the time required for a
signal to travel between chips.
Logic
Logic
Multi-layer ceramic technology has proven to be well suited for high-speed
GaAs IC packages.
A multi-chip module (MCM) minimizes the chip-to-chip spacing. It also reduces
the inductive and capacitive discontinuity between the chips mounted on the
substrate. An MCM uses a more direct path (die-bump-interconnect-b ump-die),
which eliminates wire bonding. In addition, narrower and shorter wires on the
ceramic substrate hav e m uch less capacitance and inductance , than PC board
interconnections have.
Time domain reflectometry (TDR) is the closest measurement to actual digital
component functions. It provides a transient display of the impedance versus
time for pulse behavior.
Using TDR in Simulation
When you use a digitized TDR file, you can use the HSPICE or HSPICE RF
optimizer to automatically select design components. To extract critical points
from digitized TDR files, use the .MEASURE statement, and use the results as
electrical specifications for optimization. This process eliminates recurring
design cycles to find component values that curve-fit the TDR files.
8HSPICE
®
Signal Integrity User Guide
X-2005.09
Figure 3Optimization Process
1: Introduction
Optimizing TDR Packaging
Measure
TDR Files
Measure
Results
HSPICE
Optimization
Input File
Compare with
Actual TDR
Files
Figure 4General Method for TDR Optimization
Pulse Generation
Oscilloscope
Test Circuit
Use the following method for realistic high-speed testing of packaging:
■
Test fixtures closely emulate a high-speed system environment.
■
A HSPICE device model uses ideal transmission lines and discrete
components for measurements.
The tested circuit contains the following components:
■
Signal generator.
■
Coax connecting the signal generator to ETF (engineering test fixture)
board.
■
ETF board.
■
Package pins.
■
Package body.
HSPICE® Signal Integrity User Guide9
X-2005.09
1: Introduction
Optimizing TDR Packaging
Figure 5SPICE Model for Package-Plus-Test Fixture
The package tests use a digital sampling oscilloscope to perform traditional
time-domain measurements. Use these tests to observe the reflected and
transmitted signals. These signals are derived from the built-in high-speed
pulse generator and translated output signals into digitized time-domain
reflectometer files (voltage versus time).
Optimized Pa rameters: XTD, CSMA, LPIN, and LPK
Use a fully-developed SPICE model to simulate the package-plus-test fixture,
then compare the simulated and measured reflected/transmitted signals.
The next section shows the input netlist file for this experiment. Figure 6
through Figure 9 show the output plots.
TDR Optimization Procedure
The sample netlist for this experiment is located in the following directory:
$installdir/demo/hspice/si/ipopt.sp
10HSPICE® Signal Integrity User Guide
X-2005.09
Figure 6Reflected Signals Before Optimization
1: Introduction
Optimizing TDR Packaging
Simulated
Measured
Figure 7Reflected Signals After Optimization
Simulated
Measured
HSPICE® Signal Integrity User Guide11
X-2005.09
1: Introduction
Optimizing TDR Packaging
Figure 8Transmitted Signals Before Optimization
Simulated
Measured
Figure 9Transmitted Signals after Optimization
Simulated
Measured
12HSPICE® Signal Integrity User Guide
X-2005.09
Simulating Circuits with Signetics Drivers
HSPICE or HSPICE RF includes a Signetics I/O buffer library in the
$installdir/parts/signet directory. You can use these highperformance parts in backplane design. Transmission line models describe two
conductors.
Figure 10 Planar Transmission Line DLEV=2: Microstrip Sea of Dielectric
Upper Ground Plane
Insulator
SP12
(5 mil)
WD1=8 mil
line 1
TH1=1.3 mil
WD1=8 mil
line 1
1: Introduction
Simulating Circuits with Signetics Drivers
TS=32 mil
TH1=1.3 mil
W1eff
(6 mil)
Lower Ground Plane
HT1=10 mil
In the following application, a pair of drivers are driving about 2.5 inches of
adjacent lines to a pair of receivers that drive about 4 inches of line.
HSPICE® Signal Integrity User Guide13
X-2005.09
1: Introduction
Simulating Circuits with Signetics Drivers
Figure 11I/O Drivers/Receivers with Package Lead Inductance, Parallel 4"
Lossy Microstrip Connectors
driverreceiver
+
_
_
+
vin
An example package inductance:
LIN_PIN IN IN1 PIN_IN
LOUT_PIN OUT1 OUT PIN_OUT
LVCC VCC VCC1 PIN_VCC
LGND XGND1 XGND PIN_GND
.ENDS
$ TLINE MODEL - 2 SIGNAL CONDUCTORS WITH GND
$ PLANE
$ IO CHIP MODEL - SIGNETICS
.SUBCKT IO_CHIP IN OUT VCC XGND PIN_VCC=7n PIN_GND=1.8n
X1 IN1 INVOUT VCC1 XGND1 ACTINPUT
X2 INVOUT OUT1 VCC1 XGND1 AC109EQ
*Package Inductance
LIN_PIN IN IN1 PIN_IN
LOUT_PIN OUT1 OUT PIN_OUT
LVCC VCC VCC1 PIN_VCC
LGND XGND1 XGND PIN_GND
.ENDS
$ TLINE MODEL - 2 SIGNAL CONDUCTORS WITH GND
$ PLANE
.MODEL USTRIP U LEVEL=3 ELEV=1 PLEV=1
+ TH1=1.3mil HT1=10mil TS=32mil KD1=4.5 DLEV=0 WD1=8mil
+ XW=-2mil KD2=4.5 NL=2 SP12=5mil
$ ANALYSIS / PRINTS
.TRAN .1NS 100NS
.GRAPH IN1=V(STIM1) IN2=V(STIM2) VOUT1=V(TLOUT1)
+ VOUT2=V(TLOUT2)
.GRAPH VOUT3=V(TLOUT3) VOUT4=V(TLOUT4)
.END
Simulating Circuits with Xilinx FPGAs
Synopsys and Xilinx maintain a library of HSPICE device models and
transistor-level subcircuits for the Xilinx 3000 and 4000 series Field
Programmable Gate Arrays (FPGAs). These subcircuits model the input and
output buffer.
The following simulations use the Xilinx input/output buffer (xil_iob.inc) to
simulate ground-bounce effects for the 1.08µm process at room temperature
and at nominal model conditions. In the IOB and IOB4 subcircuits, y ou can set
parameters to specify:
■
Local temperature.
■
Fast, slow, or typical speed.
■
1.2µ or 1.08µ technology.
You can use these choices to perform a variety of simulations to measure:
■
Ground bounce, as a function of package, temperature, part speed, and
technology.
■
Coupled noise, both on-chip and chip-to-chip.
16HSPICE® Signal Integrity User Guide
X-2005.09
1: Introduction
Simulating Circuits with Xilinx FPGAs
■
Full transmission line effects at the package level and the printed circuit
board level.
■
Peak current and instantaneous power consumption for power supply bus
considerations and chip capacitor placement.
Syntax for IOB (xil_iob) and IOB4 (xil_iob4)
* EXAMPLE OF CALL FOR 1.2U PART:
* X1 I O PAD TS FAST PPUB TTL VDD GND XIL_IOB
*+ XIL_SIG=0 XIL_DTEMP=0 XIL_SHRINK=0
* EXAMPLE OF CALL FOR 1.08U PART:
* X1 I O PAD TS FAST PPUB TTL VDD GND XIL_IOB
*+ XIL_SIG=0 XIL_DTEMP=0 XIL_SHRINK=1
NodesDescription
I (IOB only)output of the TTL/CMOS receiver
O (IOB only)input pad driver stage
I1 (IOB4 only)input data 1
I2 (IOB4 only)input data 2
DRIV_IN (IOB4 only)
PADbonding pad connection
TSthree-state control input (5 V disables)
FASTslew rate control (5 V fast)
PPUB (IOB only)pad pull-up enable (0 V enables)
PUP (IOB4 only)pad pull-up enable (0 V enables)
PDOWN (IOB4 only)pad pull-up enable (5 V enables)
TTL (IOB only)CMOS/TTL input threshold (5 V selects TTL)
VDD5-volt supply
GNDground
HSPICE® Signal Integrity User Guide17
X-2005.09
1: Introduction
Simulating Circuits with Xilinx FPGAs
NodesDescription
XIL_SIGmodel distribution: (default 0)
XIL_DTEMPBuffer temperature difference from ambient. The
XIL_SHRINKOld or new part; (default is new):
All grounds and supplies are common to the external nodes for the g round and
VDD. You can redefine grounds to add package models.
-3==> slow
0==> typical
+3==> fast
default = 0 degrees if ambient is 25 degrees, and if
the buffer is 10 degree s hotter than XIL_DTEMP=10.
0==>old
1==>new
Ground-Bounce Simulation
Ground-bounce simulation duplicates the Xilinx internal measurements
methods. It simultaneously toggles 8 to 32 outputs. The simulation loads each
output with a 56 pf capacitance. Simulation also uses an 84-pin package mode
and an output buffer held at chip ground to measure the internal ground
bounce.
Figure 13Ground Bounce Simulation
<<
84plcc
pkg
18HSPICE® Signal Integrity User Guide
X-2005.09
1: Introduction
Simulating Circuits with Xilinx FPGAs
HSPICE or HSPICE RF adjusts the simulation model for the oscilloscope
recordings so you can use it for the two-bond wire ground. For example, the
following netlist simulates ground bounce:
qabounce.sp test of xilinx i/o buffers
.OPTION SEARCH='$installdir/parts/xilinx'
.op
.option post list
.tran 1ns 50ns sweep gates 8 32 4
.measure bounce max v(out1x)
*.tran .1ns 7ns
.param gates=8
.print v(out1x) v(out8x) i(vdd) power
$.param xil_dtemp=-65 $ -40 degrees c
$ (65 degrees from +25 degrees)
vdd vdd gnd 5.25
vgnd return gnd 0
upower1 vdd return iob1vdd iob1gnd pcb_power
+ L=600mil
* local power supply capacitors
xc1a iob1vdd iob1gnd cap_mod cval=.1u
xc1b iob1vdd iob1gnd cap_mod cval=.1u
xc1c iob1vdd iob1gnd cap_mod cval=1u
xgnd_b iob1vdd iob1gnd out8x out1x xil_gnd_test
xcout8x out8x iob1gnd cap_mod m=gates
xcout1x out1x iob1gnd cap_mod m=1
.model pcb_power u LEVEL=3 elev=1 plev=1 nl=1 llev=1
+ th=1.3mil ht=10mil kd=4.5 dlev=1 wd=500mil xw=-2mil
.macro cap_mod node1 node2 cval=56p
Lr1 node1 node1x L=2nh R=0.05
cap node1x node2x c=cval
Lr2 node2x node2 L=2nh R=0.05
.eom
.macro xil_gnd_test vdd gnd outx outref
+ gates=8
* example of 8 iobuffers simultaneously switching
* through approx. 4nh lead inductance
* 1 iob is active low for ground bounce measurements
vout drive chipgnd pwl 0ns 5v, 10ns 5v, 10.5ns 0v,
$+ 20ns 0v, 20.5ns 5v, 40ns 5v R
x8 I8 drive PAD8x TS FAST PPUB TTL chipvdd chipgnd
+ xil_iob xil_sig=0 xil_dtemp=0 xil_shrink=1 M=gates
x1 I1 gnd PAD1x TS FAST PPUB TTL chipvdd chipgnd
+ xil_iob xil_sig=0 xil_dtemp=0 xil_shrink=1 m=1
*Control Settings
rts ts chipgnd 1
rfast fast chipvdd 1
rppub ppub chipgnd 1
This example uses coupled noise to separate IOB parts. The output of one part
drives the input of the other part through 0.6 inches of PCB. This example also
monitors an adjacent quiet line.
20HSPICE® Signal Integrity User Guide
X-2005.09
Figure 15Coupled Noise Simulation
µ
1: Introduction
Simulating Circuits with Xilinx FPGAs
V
V
V
Here’s an example netlist for coupled noise simulation:
+ m=1
xtri2 Irec O pad_tri2 TSrec FAST PPUB TTL
+ chipvdd chipgnd xil_iob xil_sig=0 xil_dtemp=0
+ xil_shrink=1 m=1
*Control Setting
rin_output O chipgnd 1
rtsrec tsrec chipvdd 1
rfast fast chipvdd 1
rppub ppub chipgnd 1
rttl ttl chipvdd 1
* pad model plcc84 rough estimates
lvdd vdd chipvdd L=1nh r=.01
lgnd gnd chipgnd L=1nh r=.01
ltri1 tri1 pad_tri1 L=3nh r=0.01
ltri2 tri2 pad_tri2 L=3nh r=.01
c_vdd_gnd chipvdd chipgnd 100n
.eom
.macro xil_iob4 vdd gnd out3x out1x outrec Irec
* example of 4 iobuffers simultaneously switching
* through approx. 3nh lead inductance
* 1 iob is a receiver (tristate)
vout O chipgnd pwl 0ns 0v, 1ns 0v, 1.25ns 4v, 7ns 4v,
+ 7.25ns 0v, 12ns 0v R
x3 I3 O PAD3x TS FAST PPUB TTL chipvdd chipgnd xil_iob
+ xil_sig=0 xil_dtemp=0 xil_shrink=1 m=3
x1 I1 O PAD1x TS FAST PPUB TTL chipvdd chipgnd xil_iob
+ xil_sig=0 xil_dtemp=0 xil_shrink=1 m=1
xrec Irec O PADrec TSrec FAST PPUB TTL chipvdd chipgnd xil_iob
+ xil_sig=0 xil_dtemp=0 xil_shrink=1 m=1
* control settings
rts ts chipgnd 1
rtsrec tsrec chipvdd 1
rfast fast chipvdd 1
rppub ppub chipgnd 1
rttl ttl chipvdd 1
* pad model plcc84 rough estimates
lvdd vdd chipvdd L=1nh r=.01
lgnd gnd chipgnd L=1nh r=.01
lout3x out3x pad3x L=1nh r=.0033
lout1x out1x pad1x L=4nh r=0.01
loutrec outrec padrec L=4nh r=.01
c_vdd_gnd chipvdd chipgnd 100n
.eom
.end
22HSPICE® Signal Integrity User Guide
X-2005.09
Figure 16Results of Coupled Noise Simulation
1: Introduction
Simulating Circuits with Xilinx FPGAs
Far End Driven line
Near End Driven line
Near and far end quite line
The I/O block model description:
* INPUT/OUTPUT BLOCK MODEL
* PINS:
* I OUTPUT OF THE TTL/CMOS INPUT RECEIVER.
* O INPUT TO THE PAD DRIVER STAGE.
* PAD BONDING PAD CONNECTION.
* TS THREE-STATE CONTROL INPUT. HIGH LEVEL
* DISABLES PAD DRIVER.
* FAST SLEW RATE CONTROL. HIGH LEVEL SELECTS FAST SLEW RATE.
* PPUB PAD PULLL-UP ENABLE. ACTIVE LOW.
* TTL CMOS/TTL INPUT THRESHOLD SELECT. HIGH SELECTS TTL.
* VDD POSITIVE SUPPLY CONNECTION FOR INTERNAL CIRCUITRY.
* ALL SIGNALS ABOVE ARE REFERENCED TO NODE 0.
* THIS MODEL CAUSES SOME DC CURRENT TO FLOW
* INTO NODE 0, WHICH IS AN ARTIFACT OF THE MODEL.
* GND CIRCUIT GROUND
The buffer module description:
* THIS SUBCIRCUIT MODELS THE INTERFACE BETWEEN XILINX
* 3000 SERIES PARTS AND THE BONDING PAD. IT IS NOT
* USEFUL FOR PREDICTING DELAY TIMES FROM THE OUTSIDE
HSPICE® Signal Integrity User Guide23
X-2005.09
1: Introduction
Simulating Circuits with Xilinx FPGAs
* WORLD TO INTERNAL LOGIC IN THE XILINX CHIP. RATHER,
* IT CAN BE USED TO PREDICT THE SHAPE OF WAVEFORMS
* GENERATED AT THE BONDING PAD AS WELL AS THE RESPONSE
* OF THE INPUT RECEIVERS TO APPLIED WAVEFORMS.
* THIS MODEL IS INTENDED FOR USE BY SYSTEM DESIGNERS
* WHO ARE CONCERNED ABOUT TRANSMISSION EFFECTS IN
* CIRCUIT BOARDS CONTAINING XILINX 3000 SERIES PARTS.
* THE PIN CAPACITANCE AND BONDING WIRE INDUCTANCE,
* RESISTANCE ARE NOT CONTAINED IN THIS MODEL. THESE
* ARE A FUNCTION OF THE CHOSEN PACKAGE AND MUST BE
* INCLUDED EXPLICITLY IN A CIRCUIT BUILT WITH THIS
* SUBCIRCUIT.
* NON-IDEALITIES SUCH AS GROUND BOUNCE ARE ALSO A
* FUNCTION OF THE SPECIFIC CONFIGURATION OF THE
* XILINX PART, SUCH AS THE NUMBER OF DRIVERS WHICH
* SHARE POWER PINS SWITCHING SIMULTANEOUSLY. ANY
* SIMULATION TO EXAMINE THESE EFFECTS MUST ADDRESS
* THE CONFIGURATION-SPECIFIC ASPECTS OF THE DESIGN.
*
.SUBCKT XIL_IOB I O PAD_IO TS FAST PPUB TTL VDD GND
+ XIL_SIG=0 XIL_DTEMP=0 XIL_SHRINK=1
.prot FREELIB
;]= $.[;qW.261DW3Eu0
VO\;:n[ $.[;qW.2’4%S+%X;:0[(3’1:67*8-:1:\[
kp39H2J9#Yo%XpVY#O!rDI$UqhmE%:\7%(3e%:\7\5O)1-5i# ;
.ENDS XIL_IOB
24HSPICE® Signal Integrity User Guide
X-2005.09
Describes S parameter and SP modeling as well as other topics
related to the S element
You can use the S element to describe a multi-terminal network in AC, DC and
TRAN circuit analyses within either Synopsys HSPICE or HSPICE RF. This
chapter describes S parameter and SP modeling as well as other topics related
to the S element. For more information about using the S element
(S parameter) for mixed-mode analysis, see the HSPICE Simulation and Analysis User Guide.
S Parameter Model
2
2S Parameter Modeling Using the S Element
You can use small-signal parameters at the network terminals to characterize
linear or non-linear networks that have sufficiently small signals. After you set
the parameters, you can simulate the block in any external circuit. S
parameters are widely used to characterize a linear network especially among
designers of high-frequency circuits.
S parameters (S) in multi-port networks are defined as follows:
bSa⋅=
HSPICE® Signal Integrity User Guide25
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
In the preceding equation, a is an incident wave factor, and b is a reflected
wave vector, defined as follows:
aY
r
12⁄
12⁄
bY
r
vf⋅Z
vb⋅Z
12⁄
r
12⁄
r
if⋅==
ib⋅==
The preceding equations use the following definitions:
■
vf is the forward voltage vector.
■
vb is the backward voltage vector.
■
ir is the forward current vector.
■
ib is the backward current vector.
■
Zr is the characteristic impedance matrix of the reference system.
■
Yr is the characteristic admittance matrix.
■
Zr and Yr satisfy the following relationship:
1–
Z
=
Y
r
r
The S parameters are frequency-dependent. When all ports are terminated
with impedance matching, the forward w av e is z ero . This is because there is no
reflection if the ports have no voltage/current source.
Using the Scattering Parameter Element
The S (scattering) Element gives you a convenient way to describe a multiterminal network. You can use the S element in conjunction with the generic
frequency-domain model (.MODEL SP), or data files that describe frequency-
varying behavior of a network, and provide discrete frequency-dependent data
such as a Touchstone file and CITIfile (Common Instrumentation Transfer and
Interchange file).
The S element supports DC, AC, and TRAN analyses, and Y (admittance)
parameters. See the HSPICE Simulation and Analysis User Guide for more
information.
26HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
In particular, the S parameter in the S element represents the generalized
scattering parameter (S) for a multi-terminal network, which is defined as:
v
ref
Sv
⋅=
inc
Where:
■
Lower-case symbols denote vectors.
■
Upper-case symbols denote matrices.
■
v
is the incident voltage wave vector.
inc
■
v
is the reflected voltage wave vector (see Figure 17 on page 32).
ref
The S parameter and the Y parameter satisfy the following relationship:
YYrsIS–()IS+()1–Y
=
rs
where Yr is the characteristic admittance matrix of the reference system. The
following formula relates Yr to the Zr characteristic impedance matrix:
Y
r
1–
Z
r'
YrsY
===
rs
Yr'ZrsZ
rs
Z
r
Similarly, you can convert the Y parameter to the S parameter as follows:
SIZrsYZ
–()IZ
=
+YZ
()
rs
rs
rs
1–
S Element Syntax
Use the following S element syntax to show the connections within a circuit:
nd1 nd2...ndN Nodes of an S element (see Figure 17). Three kinds of
definitions are present:
•With no reference node ndRef, the default reference
node in this situation is GND . Each node ndi (i=1~N) and
GND construct one of the N ports of the S element.
•With one reference node, ndRef is defined. Each node
ndi (i=1~N) and the ndRef construct one of the N ports
of the S element.
•With an N reference node , each port has its own reference
node. You can write the node definition in a clearer way
as:
nd1+ nd1- nd2+ nd2- ... ndN+ ndN-
Each pair of the nodes (ndi+ and ndi-, i=1~N)
constructs one of the N ports of the S element.
ndRefReference node.
MNAMEName of the S model.
FQMODELFrequency beha vior of the parameters ..MODEL statement of
sp type, which defines the frequency-dependent matrices
array.
ZoCharacteristic impedance value for the reference line
(frequency-independent). For multiple terminals (N>1),
HSPICE or HSPICE RF assumes that the characteristic
impedance matrix of the reference lines is diagonal, and that
you set diagonal values to Zo. To specify more general types
of reference lines, use Zof. Default=50.
Ω
28HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
ParameterDescription
FBASEBase frequency to use for transient analysis. This value
becomes the base frequency point for Inverse Fast Fourier
Transformation (IFFT).
•If you do not set this value, the base frequency is a
reciprocal value of the transient period.
•If you do not set this value, the reciprocal v alue of risetime
value is taken. (See.OPTION RISETIME in the HSPICE Command Reference for more information.)
•If you set a frequency that is smaller than the reciprocal
value of the transient, then transient analysis performs
circular convolution, and uses the reciprocal value of
FBASE as its base period.
FMAXMaximum frequency use in transient analysis. Used as the
maximum frequency point for Inverse Fast Fourier
Transformation (IFFT).
PRECFACIn almost all cases, you do not need to spe cify a value f or this
parameter. This parameter specifies the precondition factor
keyword used for the precondition process of the S
parameter. A precondition is used to avoid an infinite
admittance matrix. The default is 0.75, which is good for
most cases.
DELAYHANDLEDelay handler for transmission-line type parameters. Set
DELAYHANDLE to ON (or 1) to turn on the delay handle; set
DELAYHANDLE to OFF (or 0) to turn off the delay handle
(default).
DELAYFREQDelay frequency for transmission-line type parameters. The
default is FMAX. If the DELAYHANDLE is set to OFF, but DELAYFREQ is nonzero, HSPICE still simulates the S
element in delay mode.
INTERPOLATIONThe interpolation method:
•STEP: piecewise step
•SPLINE: b-spline curve fit
•LINEAR: piecewise linear (default)
29HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
ParameterDescription
INTDATTYPData type for the linear interpolation of the complex data.
•RI: real-imaginary based interpolation
•DBA: dB-angle based interpolation
•MA: magnitude-angle based interpolation (default)
HIGHPASSMethod to extrapolate higher frequency points.
•0: cut off
•1: use highest frequency point
•2: perform linear extrapolation using the highest 2 points
•3: apply the window function to gradually approach the
cut-off level (default)
LOWPASSMethod to extrapolate lower frequency points.
•0: cut off
•1: use the magnitude of the lowest point
•2: perform linear extrapolation using the magnitude of the
lowest two points
MIXEDMODESet to 1 if the parameters are represented in the mixed
mode.
DATATYPEA string used to determine the order of the indices of the
mixed-signal incident or reflected vector. The string must be
an array of a letter and a number (Xn) where:
•X = D to indicate a differential term
= C to indicate a common term
= S to indicate a single (grounded) term
•n = the port number
30HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
ParameterDescription
NOISE
DTEMP
Activates thermal noise.
1: element generates thermal noise
•
•
0 (default): element is considered noiseless
Temperature difference between the element and the circuit,
expressed in °C. The default is 0.0.
Element temperature is calculated as:
T = Element temperature (°K)
= 273.15 (°K) + circuit temperature (°C)
+ DTEMP (°C)
Where circuit temperature is specified using either the
.TEMP statement, or by sweeping the global TEMP variab le
in
.DC, .AC, or .TRAN statements.
When a
circuit temperature is set by
defaults to 25 °C unless you use
raises the default to 27 °C.
.TEMP statement or TEMP variable is not used, the
.OPTION TNOM, which
.OPTION SPICE, which
The nodes of the S element must come first. If MNAME is not declared, you must
specify the FQMODEL. You can specify all the optional parameters in both the S
element and S model statements, except for MNAME argument.
You can enter the optional arguments in any order, and the parameters
specified in the element statement have a higher priority.
31HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
Figure 17Terminal Node Notation
.
.
.
nd1
(+) [v]1
[vinc]1
[vref]1
.
.
.
[i]1
N+1 terminal system
(-)
ndR
(reference node)
.
.
.
[vinc]N
[i]N
[vref]N
ndN
(+) [v]N
S Model Syntax
Use the following syntax to describe specific S models:
ZoCharacteristic impedance value of the ref erence line (frequency-
independent). For multi-terminal lines (N>1), HSPICE assumes
that the characteristic impedance matrix of the reference lines
are diagonal, and their diagonal values are set to Zo. You can
also set a vector value f or non-unif orm diagonal values. Use Zof
to specify more general types of a reference-line system. The
default is 50.
FBASEBase frequency used for transient analysis. HSPICE uses this
value as the base frequency point for Fast Inverse Fourier
Transformation (IFFT).
•If FBASE is not set, HSPICE uses a reciprocal of the transient
period as the base frequency.
•If FBASE is set smaller than the reciprocal value of transient
period, transient analysis performs circular convolution by
using the reciprocal value of FBASE as a base period.
FMAXMaximum frequency for transient analysis. Used as the
maximum frequency point for Inverse Fast Fourier Transform
(IFFT).
33HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
ParameterDescription
LOWPASSSpecifies low-frequency extrapolation:
•0: Use zero in Y dimension (open circuit).
•1: Use lowest frequency (default).
•2: Use linear extrapolation with the lowest two points.
This option overrides EXTRAPOLATION in .MODEL SP.
HIGHPASSSpecifies high-frequency extrapolation:
•0: Use zero in Y dimension (open circuit).
•1: Use highest frequency.
•2: Use linear extrapolation with the highest two points.
•3: Apply window function (default).
This option overrides EXTRAPOLATION in ,MODEL SP.
PRECFACIn almost all cases, you do not need to specify a value for this
parameter. This parameter specifies the precondition factor
keyword used f or the precondition process of the S parameter . A
precondition is used to avoid an infinite admittance matrix. The
default is 0.75, which is good for most cases.
DELAYHANDLEDelay handler for transmission-line type parameters.
•1 or ON activates the delay handler.
•0 or OFF (default) deactivates the delay handler.
You must set the delay handler , if the delay of the model is longer
than the base period specified in the FBASE parameter.
If you set DELAYHANDLE=OFF but DELAYFQ is not zero,
HSPICE simulates the S element in delay mode.
DELAYFREQDelay frequency for transmission-line type parameters. The
default is FMAX. If the DELAYHANDLE is set to OFF, but DELAYFREQ is nonzero, HSPICE still sim ulates the S element in
delay mode.
MIXEDMODESet to 1 if the parameters are represented in the mixed mode.
34HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Paramete r Model
ParameterDescription
DATATYPEA string used to determine the order of the indices of the mixed-
signal incident or reflected vector . The string must be an arra y of
a letter and a number (Xn) where:
•X = D to indicate a differential term
= C to indicate a common term
= S to indicate a single (grounded) term
•n = the port number
XLINELENGTHThe line length of the transmission line system where the S
parameters are extracted. This keyword is required only when
the S Model is used in a W Element.
The FQMODEL, TSTONEFILE, and CITIFILE parameters describe the
frequency-varying behavior of a network. Only specify one of the parameters in
an S model card. If more than one method is declared, only the first one is used
and HSPICE issues a warning message.
FQMODEL can be set in S element and S model statements, but both
statements must refer to the same model name.
S Element Data File Model Examples
The S model statement samples shown in Example 1 and Example 2 generate
the same results.
In Example 2, the S model statement has the characteristic impedance equal
100 instead of the 50 as defined in smodel. The impedance changes because
the parameters defined in the S element statement have higher priority than the
parameters defined in the S Model statement.
Example 2S Model Statement with Character Impedance of 100
In Example 3, fqmodel, tstonefile, and citifile are all declared in
smodel. HSPICE accepts tstonefile, ignores both fqmodel and
citifile, and issues a warning message. It is illegal to define a
tstonefile and CITIfile smodel in the same statement. This prevents
conflicts in the frequency-varying behavior description of the network. From the
tstonefile file extension .s3p, you can tell that the network has three ports.
Example 3S Model Statement with fqmodel, tstonefile, and citifile
In Example 4, fqmodel is declared both in the S element statement and the S
Model statement. Each statement refers to a different fqmodel, which is not
allowed.
Example 4S Model Statement with fqmodel declared in both the S element
In Example 7, a S parameter statement and its referenced CITIfile are shown.
Example 7S Parameter with CITIfile
**S-parameter
.option sim_mode=hspice
.OPTION post=2
.probe v(n2)
V1 n1 0 ac=1v PULSE 0v 5v 5n 0.5n 0.5n 25n
.ac lin 500 1Hz 30MegHz
.tran 0.1ns 10ns
* reference node is set
*S1 n1 n2 0 mname=s_model
* use default reference node
S1 n1 n2 mname=s_model
* S parameter
.model s_model S CITIFILE = ss_citi.citi Zo=50
Rt1 n2 0 50
.end
#
# citifile example "ss_citi.citi"
#
HSPICE® Signal Integrity User Guide37
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
#
CITIFILE A.01.00
NAME test
VAR FREQ MAG 1
DATA S[1,1] DB
DATA S[1,2] DB
DATA S[2,1] DB
DATA S[2,2] DB
SEG_LIST_BEGIN
SEG 1000 1000 1
SEG_LIST_END
#
BEGIN
#0.333333333 0.0
-9.54242510308 0.0
END
BEGIN
#0.666666667 0.0
-3.52182518107 0.0
END
BEGIN
#0.666666667 0.0
-3.52182518107 0.0
END
BEGIN
#0.333333333 0.0
-9.54242510308 0.0
END
# end of file
S Element Noise Model
This section describes how the S element supports two-port noise parameters
and multiport passive noise models.
Two-Port Noise Parameter Support in Touchstone Files
The S element is capable of reading in two-port noise parameter data from
Touchstone data files and then transform the raw data into a form used for
.NOISE and .lin2pnoise analysis.
For example, you can represent a two-port system with an S element and then
perform a noise analysis (or any other analysis). The S element noise model
supports both normal and two-port noise analysis (.NOISE and .LIN noisecalc=1).
38HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Paramete r Model
Input Interface
The frequency-dependent two-port noise parameters are provided in a network
description block of a Touchstone data file following the S parameter data
block.
The noise parameter data is typically organized by using the following syntax:
Both GammaOpt and RN/Zo values are normalized with respect to the
characteristic impedance, Zo, specified in the header of the Touchstone data
file. HSPICE reads this raw data and converts it to a coefficient of the noisecurrent correlation matrix. This matrix can be stamped into an HSPICE noise
analysis as two correlated noise current sources: j1 and j2, as shown here:
2
C
j
1
=
j
2j1
∗
j1j
2
2
∗
j
2
The noise-current correlation matrix represents the frequency-dependent
statistical relationship between two noise current sources, j
and j2, as
1
illustrated in the follo w ing figure.
HSPICE® Signal Integrity User Guide39
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
Original System
Noisy System
S Element
j1j2
Transformed System
Noiseless System
S Element
Output Interface
HSPICE creates a .lis output list file that shows the results of a noise analysis
just as any other noisy elements. The format is as following:
**** s element squared noise voltages (sq v/hz)
element0:s1
N11data
r(N11)data
N12data
r(N12)data
N21data
r(N21)data
N22data
r(N22)data
totaldata
Where:
■
N11 = contribution of j1 to the output port
■
r(N11) = transimpedance of j1 to the output port
■
N12 = contribution of j1j2* to the output port
■
r(N12) = transimpedance of j1 to the output port
■
N21 = contribution of j2j1* to the output port
■
r(N21) = transimpedance of j2 to the output port
■
N22 = contribution of j2 to the output port
■
r(N22) = transimpedance of j2 to the output port
■
total = contribution of total noise voltage of the S element to the output
port.
40HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
S Paramete r Model
Notifications and Limitations
Because Touchstone files currently provide only two-port noise parameters,
this type of noise model only supports two-port S parameter noise analysis for
both passive and active systems.
Multiport Noise Model for Passive Systems
Multiport passive and lossy circuits, such as transmission lines and package
parasitics, can exhibit considerable thermal noise. The passive noise model is
used to present such thermal noise for the S element representing such
circuits. The S element passive noise model supports both normal and two-port
noise analysis (.NOISE and .LIN noisecalc=1).
Input Interface
To trigger a passive multiport noise model, the NOISE and DTEMP keywords in
an S element statement are used:
Sxxxn1...nN
+ ...
+ <NOISE=[1|0]> <DTEMP=value>
ParameterDescription
NOISEActivates thermal noise.
1: element generates thermal noise
•
0 (default): element is considered noiseless
•
HSPICE® Signal Integrity User Guide41
X-2005.09
2: S Parameter Modeling Using the S Element
S Parameter Model
ParameterDescription
DTEMPTemperature diff erence between the element and the circuit, expressed in
°C. The default is 0.0.
Element temperature is calculated as:
T = Element temperature (°K)
= 273.15 (°K) + circuit temperature (°C)
+ DTEMP (°C)
Where circuit temperature is specified using either the
or by sweeping the global TEMP variable in
statements.
When a
temperature is set by
you use
.TEMP statement or TEMP variable is not used, the circuit
.OPTION TNOM, which defaults to 25 °C unless
.OPTION SPICE, which raises the default to 27 °C.
.DC, .AC, or .TRAN
.TEMP statement,
When NOISE=1, HSPICE generates a N×N noise-current correlation matrix
from the N×N S parameters according to Twiss' Theorem. The result can be
stamped into an HSPICE noise analysis as N-correlated noise current sources:
ji (i=1~N), as shown below:
2
j
1
∗
T
C2kT YY
==
∗
+()
j
2j1
j1j
∗
… j
2
2
j
… j2j
2
1jN
N
∗
∗
… ………
j
Nj1
∗
j
Nj2
∗
…j
2
N
Where
YYcIS–()IS+()
=
1–
The noise-current correlation matrix represents the frequency-dependent
statistical relationship between N noise current sources, j
(i=1~N), shown in the
i
following figure.
42HSPICE® Signal Integrity User Guide
X-2005.09
Port 2
Port 1
2: S Parameter Modeling Using the S Element
Original SystemTransformed System
...
...
Port i
Lossy Passive
N-Port
Port j
Port N–1
Port N
Port 2
j
2
Port 1
Port i
j
i
Lossless Passive
N-Port System
Port j
S Paramete r Model
j
j
Port N–1
j
N–1
Port N
j
1
j
N
Output Interface
HSPICE creates a .lis output list file that shows the results of a noise analysis
just as any other noisy elements. The format is as following:
**** s element squared noise voltages (sq v/hz)
element 0:s1
N(i,j) data
r(N(i,j)) data
... i,j = 1~N ...
total data
Where:
■
N(i,j) = contribution of jijj* to the output port
■
r(N(i,j)) = transimpedance of ji to the output port
■
total = contribution of total noise voltage of the S element to the output
port.
Notifications and Limitations
Because the S element can support two kinds of noise models, the priority is:
■
For multisport (N≠2) S elements, only passive noise models are considered
in noise analysis. If NOISE=0, the system is considered as noiseless.
HSPICE® Signal Integrity User Guide43
X-2005.09
2: S Parameter Modeling Using the S Element
Mixed-Mode S Parameters
■
For two-port S elements, if two-port noise parameters are provided in a
Touchstone file, the noise model is generated from those two-port noise
parameters. If two-port noise parameters are not provided and NOISE=1,
then a passive noise model is triggered. Otherwise, the system is
considered as noiseless.
Mixed-Mode S Parameters
Mixed-mode refers to a combination of Differential and Common mode
characteristics in HSPICE linear network analysis by using the S element.
Figure 18Node Indexing Convention
Sxxx n1 n2 n3 n4 [nref] mname=xxx
Line B
Line A
n2n1
n4n3
■
You can use mixed-mode S parameters only with a single pair of
transmission lines (4 ports).
■
Nodes 1 and 3 are the ports for one end of the transmission-line pair.
■
Nodes 2 and 4 are the ports for the opposite end of the transmission-line
pair.
Relating Voltage and Current Waves to Nodal Waves
The following figure and set of equations include common and diff erential mode
voltage and current waves, relating them to nodal waves. Although you can
apply mixed-mode data propagation to an arbitrary number of pairs of
transmission lines, a single pair model is used here.
Figure 19 shows a schematic of symmetric coupled pair transmission lines
commonly used for the differential data transfer system.
44HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
Mixed-Mode S Parameters
Figure 19Schematic of Symmetric Coupled-Pair Transmission Line
port 1
i1
Line A
V1
i3
Line B
V3
port 2
i2
V2
i4
V4
Solving the telegrapher’s equation, you can represent nodal voltage and
current waves of the data transfer system as:
γ–ex
v
A1e
1
++ +=
γ–ex
v
i
A1e
3
γ–ex
A
1
------- e
1
Z
e
A2e
A2e
A
2
------- e
Z
e
γex
A3e
γex
A3e
–A4e
γex
A
3
------- e
Z
o
γ–ox
γ–ox
γ–ox
–+=
–+–=
A4e
A
4
------- e
Z
o
γox
γox
γox
γ–ex
A
i
3
1
------- e
Z
e
A
------Z
γex
2
e
–e
++–=
e
A
------Z
γ–ox
3
o
A
------Z
γox
4
e
(1)
o
Where:
■
γe is the propagation constant for even mode waves.
■
γo is the propagation constant for odd mode waves.
■
Ζe is the characteristic impedance for even mode waves.
■
Ζo is the characteristic impedance for odd mode waves.
■
A1 and A3 represent phasor coefficients for the forw ard propagating modes .
■
A2 and A4 represent phasor coefficients for the backward propagating
modes.
HSPICE® Signal Integrity User Guide45
X-2005.09
2: S Parameter Modeling Using the S Element
Mixed-Mode S Parameters
Each voltage and current pair at each node represents a single propagating
signal wav e referenced to the g round potential. This type of expression is called
nodal wav e representation.
Characterizing Differential Data Transfer Systems
The following equations use differential and common mode waves to
characterize differential data transf er systems. The diff erence of the nodal wav e
defines the voltage and current of the differential wave:
v
dmv1v3
i
dm
–≡
1
---i1i–
()≡
2
3
Common mode voltage and current are defined as:
cm
1
---v1v3+()≡
2
+≡
v
i
cmi1i3
Deriving a Simpler Set of Voltage and Current Pairs
In the following e xample , substituting equations 2 and 3 into equation 1 derives
a simpler set of voltage and current pairs:
v
v
dm
cm
2A3e
=
+
γex–
γox–
A1e
+=
A2e
γox–
A4e
γex
γ–ox
A
i
dm
i
cm
46HSPICE® Signal Integrity User Guide
3
------- e
Z
o
A
1
2
------- e
=
Z
e
–=
γ–ex
A
4
------- e
Z
o
A
------- e
–
Z
γox
2
e
γex
X-2005.09
2: S Parameter Modeling Using the S Element
Mixed-Mode S Parameters
You can also relate characteristic impedances of each mode to the even and
odd mode characteristic impedances:
Z
Z
dm
cm
2Z
≡
o
Z
e
------ -
≡
2
Having defined a generalized parameter power wave in this example, you can
now define differential normalized waves at port 1 and port 2:
a
dm1
b
dm1
v
dm
≡
-----------------------------------------
v
dmZdm
≡b
--------------------------------------
Zdmi
+
2Z
–i
2Z
dm
dm
dm
x0=
dm
x0=
a
dm2
dm2
v
≡
-----------------------------------------
v
dmZdm
≡
--------------------------------------
dm
2Z
–i
2Z
Zdmi
+
dm
dm
dm
dm
xL=
(2)
xL=
Similarly, you can define common mode normalized waves as:
v
a
cm1
+
cmZcmicm
≡a
---------------------------------------2Z
cm
x0=
cm2
v
≡
----------------------------------------
cm
Zcmi
+
2Z
cm
cm
xL=
v
–i
b
cm1
HSPICE® Signal Integrity User Guide47
X-2005.09
cmZcm
≡b
-------------------------------------
2Z
cm
cm
cm2
x0=
v
–i
cmZcm
≡
------------------------------------2Z
cm
cm
(3)
xL=
2: S Parameter Modeling Using the S Element
Mixed-Mode S Parameters
You can then specify S-parameters for mixed-mode waves as ratios of these
waves:
b
dm1
b
dm2
b
cm1
b
cm2
S
mixed
a
dm1
a
dm2
a
cm1
a
cm2
S
mixed
=,=
SddS
S
cdScc
dc
(4)
Where:
■
Sdd is the differential-mode S parameter
■
Scc is the common-mode S parameter
■
Scd and Sdc represent the mode-conversion or cross-mode S parameters
Based on these definitions, you can linearly transform nodal wav e (standard) Sparameters and mixed mode S-parameters:
MS
⋅⋅S
sdardtan
M
1–
=
mixed
(5)
The M transformation matrix is:
10 1–0
M
01 01–
-------
=
2
10 1 0
(6)
1
01 0 1
Using the Mixed-Mode S Parameters (S Element)
The S element can recognize and parse the mixed-mode S parameters when
the mixedmode=1 keyword is set. Any other keywords besides mixedmode
and datatype remain the same. Use the f ollo wing syntax for a mixed-mode S
parameter.
The pn+ and pn- are the positive and negative terminals of the port n,
respectively. If the port is in mixed mode (balanced) one, both positive and
negative terminal names are required in series; if the port is single-ended, only
one terminal name is required. The port numbers must be in increasing order
corresponding to the S matrices notation.
Table 2Mixed-Mode S Parameter Keywords
ParameterDescription
mixedmodeWhen mixedmode=1, the t the element knows that the S
parameters are defined in mixed mode. The default is 0
(standardmode)
datatypeA string that determines the order of indices of the incident or
reflected vectors (a and b) in Equation 8. The string must be an
array of pairs that consists of a letter and a number (for example,
Xn), where X=
•D or d to indicate differential term
•C or c to indicate common term
•S, s, G or g to indicate single (grounded) term and n = port
number.
The definition datatype = D1D2C1C2 is the default for a 2-balanced port
network and specifies the nodal relationship of the following equation:
a
standard
= [a1+ a1- a2+ a2-]T <=> a
= [ad1 ad2 ac1 ac2]
mixed
T
Where:
■
a1+ is the incident wave goes into positive terminal of the port 1
■
a1- is the incident wave goes into negative terminal of the port 1
■
a2+ is the incident wave goes into positive terminal of the port 2
■
a2- is the incident wave goes into negative terminal of the port 2
You can also derive the nodal relationship of the reflection wave in the same
way. Nodes are assigned from the given s-matrices to the S element in the
order of a
standard
. For example, incident and reflected waves at the positive
terminal of the 1(a1+, b1+) port appear at the first node of the S element.
HSPICE® Signal Integrity User Guide49
X-2005.09
2: S Parameter Modeling Using the S Element
Small-Signal Parameter Data-Table Model
The definition datatype = D1C1S2 specifies the nodal relationship of the
following equation:
a
standard
= [a1+ a1- a2]T <=> a
= [ad1 ac1 as2]
mixed
The default of nodemap is nodemap=D1D2...DnC1C2...Cn, which is
available for systems with mixed-mode (balanced) ports only.
Mixed-Mode S Parameter Netlist Examples
Example 8Differential Transmission Line Pair
You can find an example netlist for a differential transmission line pair in the
following directory:
$installdir/demo/hspice/sparam/mixedmode_s.sp
Example 9Differential Amplifier
You can find an example netlist for a differential amplifier in the following
directory:
$installdir/demo/hspice/sparam/diffamp_s.sp
Small-Signal Parameter Data-Table Model
T
The Small-Signal Parameter Data-Table Model (SP model) is a generic model
that describes frequency-varying behavior.
Note: Interpolation and extrapolation occur after the simulator internally
converts the Z and S parameter data to Y parameter data.
ParameterSpecifies
nameModel name.
NMatrix dimension (number of signal terminals). Default is 1. If you
use a value other than the default, you must specify that value
before you set INFINITY and DATA.
FSTARTStarting frequency point for data. Default=0.
FSTOPFinal frequency point for data. Use this parameter only for the
LINEAR and LOG spacing formats.
NINumber of frequency points per interval. Use this parameter only
for the DEC and OCT spacing formats. Default=10.
SPACINGData sample spacing format:
•LIN (LINEAR): uniform spacing with frequency step of
(FSTOP-FSTART)/(npts-1). The default.
•OCT: octav e variation with FSTART as the starting frequency ,
and NI points per octave. npts sets the final frequency.
•DEC: decade variation with FSTART as the starting
frequency, and NI points per decade. npts sets the final
frequency.
•LOG: logarithmic spacing. FSTART and FSTOP are the
starting and final frequencies.
•POI: non-uniform spacing. Pairs data
•(NONUNIFORM) points with frequency points.
MATRIXMatrix (data point) format:
•SYMMETRIC: symmetric matrix. Specifies only lower-half
triangle of a matrix (default).
•HERMITIAN: similar to SYMMETRIC; off-diagonal terms are
complex-conjugates of each other.
•NONSYMMETRIC: non-symmetric (full) matrix.
HSPICE® Signal Integrity User Guide51
X-2005.09
2: S Parameter Modeling Using the S Element
Small-Signal Parameter Data-Table Model
ParameterSpecifies
VALTYPEData type of matrix elements:
•REAL: real entry.
•CARTESIAN: complex number in real/imaginary format
(default).
•POLAR: complex number in polar format. Specify angles in
radians.
INFINITYData point at infinity . Typically real-valued. This data format must
be consistent with MATRIX and VALTYPE specifications. npts
does not count this point.
INTERPOLATIONInterpolation scheme:
•STEP: piecewise step. This is the default.
•LINEAR: piecewise linear.
•SPLINE: b-spline curve fit.
EXTRAPOLATIONExtrapolation scheme dur ing simulation:
•NONE: no extrapolation is allo wed. Simulation terminates if a
required data point is outside of the specified range.
•STEP: uses the last boundary point. The default.
•LINEAR: linear extrapolation by using the last two boundary
points.
If you specify the data point at infinity, then simulation does not
extrapolate and uses the infinity value.
nptsNumber of data points.
DCData port at DC. Normally real-valued. This data f ormat must be
consistent with MATRIX and V ALTYPE specifications. npts does
not count this point. You must specify either the DC point or the
data point at frequency=0.
52HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
Small-Signal Parameter Data-Table Model
ParameterSpecifies
DA TAData points.
•Syntax for LIN spacing:
.MODEL name sp SPACING=LIN [N=dim] FSTART=f0
+ DF=f1 DATA=npts d1 d2 ...
•Syntax for OCT or DEC spacing:
.MODEL name sp SPACING=DEC or OCT [N=dim]
+ FSTART=f0 NI=n_per_intval DATA=npts d1 d2 ...
•Syntax for POI spacing:
.MODEL name sp SPACING=NONUNIFORM [N=dim]
+ DATA=npts f1 d1 f2 d2 ...
DA TAFILEData points in an external file. This file must contain only raw
numbers without any suffixes , comments or continuatio n letters.
The order of data must be the same as in the DATA statement.
This data file has no limitation on line length so you can enter a
Example 10Transmission Line Using Resistive Termination
Figure 20 illustrates a transmission line that uses a resistive termination, and
Table 3 shows a corresponding input file listing. In this example, the two outputs
from the resistor and S parameter modeling must match exactly.
Figure 20Transmission Line with Resistive Termination
.ALTER S parameter case
.SUBCKT terminator n1 n2 n3 ref S1 n1 n2 n3 ref
+ FQMODEL=fmod
.ENDS terminator
.END
Example 11Transmission Line Using Capacitive Network Termination
The transmission line example shown here uses capacitive network
termination. The two outputs from the resistor and S parameter modeling in
Example 10 differ slightly due to the linear frequency dependency relative to
56HSPICE® Signal Integrity User Guide
X-2005.09
2: S Parameter Modeling Using the S Element
Small-Signal Parameter Data-Table Model
the capacitor. To remove this difference, use the linear interpolation scheme
in .MODEL.
Describes how to use basic transmission line simulation equations
and an optional method for computing the parameters of
transmission line equations.
A transmission line is a passive element that connects any two conductors, at
any distance apart. One conductor sends the input signal through the
transmission line and the other conductor receives the output signal from the
transmission line. The signal that transmits from one end of the pair to the other
end is voltage between the conductors.
Examples of transmission lines include:
■
Power transmission lines
■
Telephone lines
■
Waveguides
■
Traces on printed circuit boards and multi-chip modules (MCMs)
■
Bonding wires in semiconductor IC packages
■
On-chip interconnections
This chapter describes the basic transmission line simulation equations. It
explains how to use these equations as an input to the tr ansmission line model,
HSPICE® Signal Integrity User Guide61
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Equations and Parameters
the W Element. (For more information about the W Element, see Dmitri
Kuznetsov, “Optimal Transient Simulation of Transmission Lines,” IEEE Trans.,
Circuits Syst., vol.43, pp. 110-121, Feb., 1996.)
This chapter also shows you an optional method for computing the parameters
of the transmission line equations using the field solver model.
The W Element is a versatile transmission line model that you can apply to
efficiently and accurately simulate transmission lines, ranging from a simple
lossless line to complex frequency-dependent lossy-coupled lines. Unlik e the U
Element, the W Element can output accurate simulation results without finetuning optional parameters. For more information on U Elements, see Chapter
5, “Modeling Ideal and Lumped Transmission Lines.”
Transmission line simulation is challenging and time-consuming, because
extracting transmission line parameters from physical geometry requires a
significant effort. To minimize this effort, you can use a simple (but efficient and
accurate) 2-D electromagnetic field solver, which calculates the electrical
parameters of a transmission line system, based on its cross-section.
Equations and Parameters
Maxwell’s equations for the transverse electromagnetic (TEM) waves on multiconductor transmission lines, reduce to the telegrapher’s equations. The
general form of the telegrapher’s equation in the frequency domain is:
∂
vzω,()–R ω() jωL ω()+[]izω,()=
z∂
∂
izω,()–G ω() jωC ω()+[]vzω,()=
z∂
The preceding equations use the following definitions:
■
Lower-case symbols denote vectors.
■
Upper-case symbols denote matrices.
■
v is the voltage vector across the lines.
■
i is the current vector along the lines.
For the TEM mode, the tr ansverse distribution of electromagnetic fields at any
instant of time is identical to that for the static solution.
62HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Frequency-Dependent Matrices
From a static analysis, you can derive the four parameter matrices for multiconductor TEM transmission lines:
■
resistance matrix, R
■
inductance matrix, L
■
conductance matrix, G
■
capacitance matrix, C
The telegrapher’s equations, and the four parameter matrices from a static
analysis, completely and accurately describe TEM lines.
Unfortunately, not all transmission lines support pure TEM waves; some multiconductor systems inherently produce longitudinal field components. In
particular, waves propagating in either the presence of conductor losses or the
absence of dielectric homogeneity (but not dielectric losses), must have
longitudinal components.
However, if the transverse components of the fields are significantly larger than
the longitudinal components, the telegrapher’s equations (and the four
parameter matrices obtained from a static analysis) still provide a good
approximation. This is known as a quasi-static approximation.
Multi-conductor systems in which this approximation is valid, are called quasiTEM lines. For typical micro-strip systems , the quasi-static approximation holds
up to a few gigahertz.
Frequency-Dependent Matrices
The static (constant) L and C matrices are accurate for a wide range of
frequencies. In contrast, the static (DC) R matrix applies to only a limited
frequency range, mainly due to the skin eff ect. A good approximate expression
of the R resistance matrix with the skin effect, is:
Rf() R
Where:
■
Ro is the DC resistance matrix.
■
Rs is the skin effect matrix.
+≅
o
f 1j+()R
s
HSPICE® Signal Integrity User Guide63
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Frequency-Dependent Matrices
The imaginary term depicts the correct frequency response at high frequency;
however, it might cause significant errors for low-frequency applications. In the
W Element, you can optionally exclude this imaginary term:
Wxxx i1 i2 ... iN iR o1 o2 ... oN oR N=val L=val INCLUDERSIMAG=NO
In contrast, the G (loss) conductance matrix is often approximated as:
Gf() G
-------------------------------- -
+≅
o
f
1ffgd⁄()
+
G
d
2
Where:
■
Go models the shunt current due to free electrons in imperfect dielectrics.
■
Gd models the power loss due to the rotation of dipoles under the alternating
field (C. A. Balanis, Advanced Engineering Electromagnetics, New York:
Wiley, 1989).
■
fgd is a cut-off frequency.
If you do not set fgd, or if you set fgd to 0, then G(f) keeps linear dependency on
the frequency. In the W Element, the default fgd is zero (that is, G(f) does not
use the fgd value).
You can specify an alternate value in the W Element statement:
Wxxx i1 i2 ... iN iR o1 o2 ... oN oR N=val L=val fgd=val
If you prefer to use the previous linear dependency, set fgd to 0.
Determining Matrix Properties
All matrices in Frequency-Dependent Matrices are symmetric.
■
The diagonal terms of L and C are positive, non-zero.
■
The diagonal terms of Ro, Rs, Go, and Gd are non-negative (can be zero).
■
Off-diagonal terms of the L, Ro impedance matrices are non-negative.
Ro can have negative off-diagonal terms, but a warning appears. Negative
off-diagonal terms normally appear when you characterize Ro at a
frequency higher than zero. Theoretically, R
off-diagonal terms, because these might cause errors during analysis.
64HSPICE® Signal Integrity User Guide
should not contain negative
o
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Wave Propagation
■
Off-diagonal terms of admittance matrices C, Go, and Gd are non-positive.
■
Off-diagonal terms of all matrices can be zero.
The elements of admittance matrices are related to the self/mutual admittances
(such as those that the U Element generates):
N
Y
=
ii
∑
j1=
self()mutual()⁄
Y
ij
Y
ij
Y–
mutual
ij
In the preceding equations, Y stands for either C, Go, or Gd.
A diagonal term of an admittance matrix is the sum of all self and mutual
admittance in this row . This term is larger (in absolute value) than the sum of all
off-diagonal terms in its row or column. Admittance matrices are strictly
diagonally dominant (except for a zero matrix).
You can obtain loop impedance matrix terms from the partial impedance
matrix:
loop()
Z
ij
Z
In the preceding equation, the o index denotes a reference node.
Wave Propagation
To illustrate the physical process of wave propagation and reflection in
transmission lines, Figure 22 shows lines where the voltage step excites simple
termination.
■
At the time t=t1, a voltage step from the e1 source, attenuated by the Z1
impedance, propagates along the transmission line.
■
At t=t2, the voltage wave arrives at the far end of the transmission line, is
reflected, and propagates in the backward direction. The voltage at the load
end is the sum of the incident and reflected waves.
■
At t=t3, the reflected wave arrives back at the near end, is reflected again,
and again propagates in the forward direction. The v oltage at the source end
is the sum of attenuated v oltage from the e1 source, the backward w ave, and
the reflected forward w ave.
ij≠,=
partial()
ij
partial()
Z–
io
partial()
Z–
jo
partial()
Z
+=
oo
HSPICE® Signal Integrity User Guide65
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Wave Propagation
Figure 22Propagation of a Voltage Step in a Transmission Line
Z
1
t=t
t=t
t=t
v
1
v
1
v
2
v
3
x=0
x=l
v
Z
2
2
x
x
x
v
1
0 2t 4t 6t 8t t
t1, t2, t
3
v
2
0 t 3t 5t 7t t
t
, t2, t
1
3
The surface plot in Figure 23 shows voltage at each point in the transmission
line. The input incident propagates from the left (length = 0) to the right. You
can observe both reflection at the end of the line (length = 1), and a reflected
wave that goes backward to the near end.
66HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Wave Propagation
Figure 23Surface Plot for the Transmission Line Shown in Figure 22
You can find more information about transmission lines in this resource: H.B.
Bakoglu, Circuits, Interconnections and Packaging for VLSI. Reading, MA:
Addison-Wesley, 1990.
Propagating a Voltage Step
This section is a summary of the process in Figure 22 to propagate a voltage
step in a transmission line.
■
Signals from the excitation source spread-out in the termination networks,
and propagate along the line.
■
As the forward wave reaches the far-end termination, it does the following:
•Reflects.
•Propagates backward.
•Reflects from the near-end termination.
•Propagates forward again.
•Continues in a loop.
■
The voltage at any point along the line , including the terminals, is a
superposition of the forward and backward propagating waves.
HSPICE® Signal Integrity User Guide67
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Wave Propagation
Figure 24 shows the system diagram for this process, where:
■
Wvr and Wvb are forward and backward matrix propagation functions for
voltage waves.
■
T1, T2 stand for the near-end matrix transmission and reflection coefficients.
■
ΓΓ
(Gamma_1,Gamma_2) stand for the far-end matrix transmission
1, 2
and reflection coefficients.
Figure 24System Model for Transmission Lines
N+1 conductor line
R(f), L(f), G(f), C(f)
Signal Conductors
.
.
.
Reference conductor
0lx
vr
1
+
v
b1
W
W
vr
vb
v
[v2]
[v2]
[v2]
r2
+
v
b2
1
2
Termination
.
network2
.
.
N
_
Γ
v2
+
+
[e2]
-
+
-
+
-
v
2
1
[e2]
2
.
.
.
[e2]
M
e
2
T
v2
[e1]
[e1]
[e1]
e
1
[v
1]1
+
1
-
[v1]
2
.
+
2
-
.
.
.
+
M
-
T
v1
Termination
v
+
.
.
[v1]
network1
1
N
++
_
Γ
v1
This model reproduces the general relationship between the physical
phenomena of wave propagation, transmission, reflection, and coupling in a
distributed system. It can represent an arbitrarily-distributed system, such as:
■
Transmission line
■
Waveguide
■
Plane-wave propagation
68HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Wave Propagation
You can use this model for:
■
System analysis of distributed systems, or
■
Writing a macro solution for a distributed system without complicated
mathematical derivations.
As shown in the figure, transmission lines and terminations form a feedback
system. Because the feedback loop contains a delay, both the phase shift, and
the sign of the feedback change periodically with the frequency. This causes
oscillations in the frequency-domain response of the transmission lines, such
as those shown in Example 30 on page 81.
Handling Line-to-Line Junctions
A special case occurs when the line terminates in another line. Figure 25
shows the system diagram for a line-to-line junction. You can use this diagram
to:
Derive generalized transmission and reflection coefficient formulas.
■
Derive scattering parameter formulas.
Figure 25System Model for a Line-to-Line Junction
W
vr1
R1, L1, G1, C
.
.
1
[v]
[v]
.
.
[v]
+
-
T
1
v
W
++
vb1
Γ
1
+
T
2
HSPICE® Signal Integrity User Guide69
X-2005.09
1
2
N
+
Γ
R2, L2, G2, C
2
2
.
.
W
vr2
v
W
vb2
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
The Wvr and Wvb propagation functions describe how propagation (from one
termination to another) affects a wave. These functions are equal for the
forward (Wvr) and backward (Wvb) directions. The off-diagonal terms of the
propagation functions represent the coupling between conductors of a multi-
conductor line.
As a wave propagates along the line, it experiences delay, attenuation, and
distortion (see Figure 26). Lines with frequency-dependent parameters (that is,
all real lines) do not contain the frequency-independent attenuation component.
Figure 26Propagation Function Transient Characteristics (unit-step
response)
Transient
characteristic
w
(t)
w
dependent
Attenuation
issues
LargerFrequency
losses
Distortion
0Delay
Time, t
Using the W Element
The W Element is a multi-conductor lossy frequency-dependent transmission
line. It provides advanced modeling capabilities for transmission lines. The W
Element provides:
■
Ability to extract analytical solutions for AC and DC.
■
No limit on the number of coupled conductors.
■
No restriction on the structure of RLGC matrices; all matrices can be full.
■
No spurious ringing, such as the lumped model produces (see Figure 27 on
page 71).
■
Accurate modeling of frequency-dependent loss in the transient analysis.
70HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
■
Built-in 2D field solver, which you can use to specify a physical line shape.
Figure 27Spurious Ringing in U Element
0.35
0.3
U element (300 segments)
W element
0.25
0.2
0.15
0.1
Transient Waveforms (V)
0.05
spurious ringing (U element)
0
-0.05
0 1020304050
Time (ns)
The W Element supports the following types of analysis:
Control Frequency Range of Interest for Greater Accuracy
This section describes the keywords you can use for achieving greater
accuracy of the W Element by controlling the frequency of interest.
HSPICE® Signal Integrity User Guide71
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
.OPTION RISETIME Setting
The W Element uses the .OPTION RISETIME parameter to estimate the
frequency range of interest for the transient analysis of the W Element.
Depending on the value of this parameter, analysis uses one of the following
methods to determine the maximum frequency:
■
Positive value: The maximum frequency is the inv erse of the value that you
specify.
■
No setting (recommended): Automatically determines the rise time from
source statements. This method works for most cases. However, if the
netlist contains the dependent source (which scales or shifts the frequency
information), then you must explicitly set the rise time.
■
Zero: The internal W Element-bound algorithm computes the maximum
frequency for each individual transmission line, and does not use the
frequency information contained in source statements.
Note: If you specify DELAYOPT=3, then do not use the RISETIME option. When
DELAYOPT=3, the W Element automatically takes a broader frequency
range.
Use DELAYOPT Keyword for Higher Frequency Ranges
Long transmission lines fabricated in a high polymer insulator, such as PCB
traces, show high losses in high frequencies due to dielectric loss. In such
cases, the propagation delay of the system becomes a non-constant function of
frequency. To take this phenomenon accurately, beginning with the 2003.09
release of HSPICE, a novel pre-process function was introduced for
constructing W Element transient (recursive convolution) model with a higher
level of accuracy. To activate this new function, you can add the DELAYOPT
keyword to the W Element instance line. You can use DELAYOPT=0|1|2 to
deactivate, activate, and automatic determination, respectively. The default
value is 0 (deactivate). If this function is deactivated, the W Element behaves
identical to the previous ve rsions.
Beginning with the 2004.03 release, DELAYOPT=3 was introduced, which
achieves a higher level of accuracy up to a tens of GHz operation and involves
harmonics up to THz order. With this option, line length limits are remov ed,
which frees the simulation from segmenting, and allows independence in the
behavior of the risetime option setting. A setting of DELAYOPT=3 automatically
detects whether or not frequency-dependent phenomena need to be recorded,
which makes it identical to the DELAYOPT=0 option if it produces a high enough
accuracy.
72HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
Note: The DELAYOPT=3 option activates additional evaluation functions in
transient analysis, which might take longer CPU time.
Use DCACC Keyword for Lower Frequency Ranges
Beginning with the 2005.03 release, The W Element takes an additional step in
making a time domain model check the accuracy of low frequency and DC
coverage. And it automatically adds a few rational function terms if necessary.
This process may cause slight additional computational cost and slight
difference in element behavior in DC offset than in previous versions. Should
you choose to use this conventional behavior, set DCACC=0 in the W Element
instance or model line to deactivate this process.
W Element Time-Step Control in Time Domain
This section describes using static and dynamic time-step controls in the time
domain.
Using Static Time-Step Control
The W Element provides accurate results with just one or two time steps per
excitation transient (0.1 ns in Figure 27 on page 71). Like the T Element, the W
Element supports the TLINLIMIT option. The TLINLIMIT=0 default setting
enables special breakpoint building, which limits the maximum time step b y the
smallest transmission line delay in the circuit. This improves transient accuracy
for short lines, but reduces efficiency. Setting TLINLIMIT=1 disables this
special breakpoint building.
Longer transmission lines might experience prolonged time intervals when
nothing happens at the terminals, while the wave propagates along the line. If
you increase the time step, the accuracy of the simulation decreases when the
wave reaches the terminal. To prevent this for longer lines excited with short
pulses, set .OPTION DELMAX to limit the time step to between 0.5 and 1 of the
excitation transient.
Using Dynamic Time-Step Control
Static time step control achieves certain accuracy by setting static breakpoints .
The TLINLIMIT=0 option limits the maximum time step by the minimum
transmission line delay, which results in poor performance for the cases with
ultra-short delay transmission lines. In this case, too many redundant time
HSPICE® Signal Integrity User Guide73
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
points are calculated, especially when the transmission line terminal signals do
not vary rapidly. The same problem exists with the DELMAX option where time
steps are ev enly set in spite of terminal signal variation. This is inefficient.
In the 2004.09 release, the WACC option was added to solve this problem by
providing dynamic step control of W Element transient analysis. Setting WACC
to a positive value removes the static breakpoints and the necessary time
points are set dynamically according to the variations in terminal currents and
voltages.
The WACC option has the following syntax:
.OPTION WACC=value
Where WACC is a non-negative real value. It can be set between 0.0 and 10.0.
When WACC is positive, the new method is activated. The default value is 0.0.
Larger values result in higher performance with lower accuracy, while smaller
values result in lower performance with better accuracy. Use WACC=1.0 for
normal simulation and WACC=0.1 for an accurate simulation. When
WACC=0.0, the conventional step control method is used.
The WACC option has a higher priority than the TLINLIMIT option. It is only
when WACC=0.0 can the TLINLIMIT option limit the maximum time step by
the minimum transmission line delay. The DELMAX option has a higher priority
than the WACC option. You can further limit the time step by setting the DELMAX
option in addition to the WACC option.
74HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
Input Syntax for the W Element
Syntax:
Wxxx i1 i2 ... iN iR o1 o2 ... oN oR N=val L=val
+ <RLGCMODEL=name or RLGCFILE=name or UMODEL=name
+ FSMODEL=name or TABLEMODEL=name or SMODEL=name>
+ [ INCLUDERSIMAG=YES|NO FGD=val ] [ DELAYOPT=0|1|2 ]
+ <NODEMAP=XiYj...> <NOISE=[1|0]> <DTEMP=val>
ParameterDescription
NNumber of signal conductors (excluding the reference
conductor).
i1...iNNode names for the near-end signal-conductor terminal
(Figure 28 on page 77).
iRNode name for the near-end reference-conductor terminal.
o1... oNNode names for the far-end signal-conductor terminal
(Figure 28 on page 77).
oRNode name for the far-end reference-conductor terminal.
LLength of the transmission line.
RLGCMODELName of the RLGC model.
RLGCFILEName of the external file with RLGC parameters. (See Input
Model 1: W Element, RLGC Model on page 78.)
UMODELName of the U model. (See Input Model 2: U Element, RLGC
Model on page 84.)
FSMODELName of the field solver model.
TABLEMODELName of the frequency-dependent tabular model.
SMODELName of the S mo del. (See Input Model 5: S Model on page 92.)
INCLUDERSIMAGImaginary term of the skin effect to be considered. The default
value is YES. (See Frequency-Dependent Matrices on
page 63.)
HSPICE® Signal Integrity User Guide75
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
ParameterDescription
FGDSpecifies the cut-off frequency of dielectric loss. (See Handling
the Dielectric-loss Matrix on page 85.)
DELAYOPTDeactivates (0), activates (1) or determines automatically(2).
The default is 0.
NODEMAPString that assigns each index of the S parameter matrix to one
of the W Element terminals. This string must be an arra y of pairs
that consists of a letter and a number, (for example, Xn), where
•X= I, i, N, or n to indicate near end (input side) terminal of the
W element
•X= O, i, F, or f to indica te f ar end (output side) terminal of the
W element.
The default v alue is NODEMAP = I1I2I3...InO1O2O3...On.
NOISEActivates thermal noise.
•
1: element generates thermal noise
•
0 (default): element is considered noiseless
DTEMPTemperature difference between the element and the circuit,
expressed in °C. The default is 0.0.
Element temperature is calculated as:
T = Element temperature (°K)
= 273.15 (°K) + circuit temperature (°C)
+ DTEMP (°C)
Where circuit temperature is specified using either the
statement, or by sweeping the global TEMP variab le in
.TEMP
.DC,
.AC, or .TRAN statements.
When a
circuit temperature is set by
25 °C unless you use
default to 27 °C.
.TEMP statement or TEMP variable is not used, the
.OPTION TNOM, which defaults to
.OPTION SPICE, which raises the
76HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
The W Element supports four different 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
■
Model 4: Frequency-dependent tabular model.
■
Model 5: S model specification
•S parameters specified by an S model
•Valid only for transmission line-based S parameters.
Figure 28Terminal Node Numbering
N+1 conductor line
[i2]
1
2.1
[i2]
2
2.2
.
.
.
[i2]
N
2.N
2’
1.1
1.2
1.N
[i1]
1
[v
1]1
[i1]
2
[v1]
2
.
.
.
[i1]
N
[v1]
N
++
1’
_
R(f), L(f), G(f), C(f)
Signal Conductors
[v2]
[v2]
1
2
.
.
.
[v2]
N
Reference conductor
0lx
_
Normally, you can specify parameters in the W Element card in any order.
Specify the number of signal conductors, N, after the list of nodes. You can
intermix the nodes and parameters in the W Element card.
HSPICE® Signal Integrity User Guide77
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
You can specify only one RLGCMODEL, FSMODEL, UMODEL, or RLGCFILE
in a single W Element card.
Input Model 1: W Element, RLGC Model
Equations and Parameters on page 62 describes the inputs of the W Element
per unit length matrices:
■
R
o
■
L
■
G
■
C
■
Rs (skin effect)
■
Gd (dielectric loss)
The W Element does not limit any of the following parameters:
■
Number of coupled conductors.
■
Shape of the matrices.
■
Line loss.
■
Length or amount of frequency dependence.
The RLGC text file contains frequency-dependent RLGC matrices per unit
length.
The W Element also handles frequency-independent RLGC, and lossless (LC)
lines. It does not support RC lines.
Because RLGC matrices are symmetrical, the RLGC model specifies only the
lower triangular parts of the matrices. The syntax of the RLGC model for the W
Element is:
.MODEL name W MODELTYPE=RLGC N=val Lo=matrix_entries
+ Co=matrix_entries [ Ro=matrix_entries Go=matrix_entries
+ Rs=matrix_entries Gd=matrix_entries Rognd=val
+ Rsgnd=val Lgnd=val ]
78HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
ParameterDescription
NNumber of conductors (same as in the element card).
L
C
R
G
R
G
L
o
o
s
d
gnd
H
Ω
---- m
---- m
F
---- m
S
---- m
Ω
---------------- -
DC inductance matrix, per unit length .
DC capacitance matrix, per unit length .
DC resistance matrix, per unit length .
DC shunt conductance matrix, per unit length .
Skin effect resistance matrix, per unit length .
mHz
S
Dielectric loss conductance matrix, per unit length .
DC inductance value, per unit length for grounds (reference
---------------- mHz⋅
H
---- m
line).
R
R
ognd
sgnd
DC resistance value, per unit length for ground .
Skin effect resistance value, per unit length for ground .
Ω
---- m
Ω
---------------- mHz
HSPICE® Signal Integrity User Guide79
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
The following input netlist file shows RLGC input for the W Element:
The following three figures show plots of the simulation results:
■
Figure 29 shows DC sweep
■
Figure 30 shows AC response
■
Figure 31 shows transient waveforms.
These figures also demonstrate that the transmission line behavior of
interconnects has a significant and complicated effect on the integrity of a
signal. This is why it is v e ry important to accurately model transmission lines
when you verify high-speed designs.
80HSPICE® Signal Integrity User Guide
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Figure 29Simulation Results: DC Sweep
1.4
1.2
Using the W Element
1
0.8
0.6
0.4
dc Transfer Curves (V)
0.2
0
-0.2
012345
V1 (V)
Figure 30Simulation Results: AC Response
5
4
3
2
Frequency Responses (V)
1
V
1
V
4
V
5
V
4
V
0
02004006008001000
Frequency (MHz)
5
HSPICE® Signal Integrity User Guide81
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
Figure 31Simulation Results: Transient Waveforms
6
V
1
4
2
0
Transient Waveforms (V)
-2
-4
050100150200
Time (ns)
V
4
V
5
Specifying the RLGC Model in an External File
You can also specify RLGC matrices in a RLGC file. Its file format is more
restricted than the RLGC model; for example:
■
You cannot include any parameters.
■
The file does not support ground inductance and resistance.
Note: This format does not provide any adv antage ov er the RLGC model so do
not use it unless you already have an RLGC file. It is supported for
backward-compatibility.
The RLGC file only specifies the lower-triangular parts of the matrices and is
order-dependent. Its parameters are in the following order:
Table 5Parameters in RLGC File for W Element
ParameterDescription
NNumber of conductors (same as in the element card).
L
DC inductance matrix, per unit length .
C
DC capacitance matrix, per unit length .
82HSPICE® Signal Integrity User Guide
H
---- m
F
---- m
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Table 5Parameters in RLGC File for W Element
Using the W Element
Ro (Optional)
DC resistance matrix, per unit length .
Go (Optional)
DC shunt conductance matrix, per unit length .
Rs (Optional)
Skin effect resistance matrix, per unit length .
Gd (Optional)
Dielectric loss conductance matrix, per unit length .
---- m
Ω
S
---- m
Ω
---------------- mHz
---------------- mHz⋅
S
Note: You can skip the optional parameters, because they default to zero. But
if you specify an optional parameter, then you must specify all preceding
parameters, even if they are zero.
An asterisk (*) in an RLGC file comments out everything until the end of that
line. You can use any of the following characters to separate numbers:
space tab newline , ; ( ) [ ] { }
This RLGC file is for the same netlist example used for the RLGC model in the
previous section:
* RLGC parameters for a four-conductor lossy
* frequency-dependent line
* N (number of signal conductors)
3
HSPICE® Signal Integrity User Guide83
X-2005.09
3: Modeling Coupled Transmission Lines Using the W Element
Using the W Element
* Lo
2.311e-6
4.14e-7 2.988e-6
8.42e-8 5.27e-7 2.813e-6
* Co
2.392e-11
-5.41e-12 2.123e-11
-1.08e-12 -5.72e-12 2.447e-11
* Ro
42.5
0 41.0
0 0 33.5
* Go
0.000609
-0.0001419 0.000599
-0.00002323 -0.00009 0.000502
* Rs
0.00135
0 0.001303
0 0 0.001064
* Gd
5.242e-13
-1.221e-13 5.164e-13
-1.999e-14 -7.747e-14 4.321e-13
The RLGC file format does not support scale suffixes, such as:
n (10^-9) or p (10^-12)
Input Model 2: U Element, RLGC Model
The W Element accepts the U model as an input to provide backward
compatibility with the U Element. It also uses the geometric and measuredparameter interfaces of the U model.
To use the W Element with the U model on the W Element card, specify:
Umodel=U-model_name
84HSPICE® Signal Integrity User Guide
X-2005.09
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.