HSPICE Simulation And Analysis User Guide - Rudraj

Transcription

HSPICE Simulation andAnalysis User GuideVersion Y-2006.03, March 2006

Copyright Notice and Proprietary InformationCopyright 2006 Synopsys, Inc. All rights reserved. This software and documentation contain confidential and proprietaryinformation that is the property of Synopsys, Inc. The software and documentation are furnished under a license agreement andmay be used or copied only in accordance with the terms of the license agreement. No part of the software and documentation maybe reproduced, transmitted, or translated, in any form or by any means, electronic, mechanical, manual, optical, or otherwise, withoutprior written permission of Synopsys, Inc., or as expressly provided by the license agreement.Right to Copy DocumentationThe 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 mustassign 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 ofand its employees. This is copy number .”Destination Control StatementAll 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 todetermine the applicable regulations and to comply with them.DisclaimerSYNOPSYS, INC., AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITHREGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY 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, DesignPower, DesignWare, EPIC, Formality, HSIM, HSPICE, Hypermodel, iN-Phase, in-Sync,Leda, MAST, Meta, Meta-Software, ModelTools, NanoSim, OpenVera, PathMill, Photolynx, Physical Compiler, PowerMill,PrimeTime, RailMill, RapidScript, Saber, SiVL, SNUG, SolvNet, Superlog, System Compiler, 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, DCExpert, 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, EDAnavigator, 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,Hierarchical Optimization Technology, High Performance Option, HotPlace, HSIMplus, HSPICE-Link, iN-Tandem,Integrator, Interactive Waveform Viewer, i-Virtual Stepper, Jupiter, Jupiter-DP, JupiterXT, JupiterXT-ASIC, JVXtreme,Liberty, Libra-Passport, Library Compiler, Libra-Visa, Magellan, Mars, Mars-Rail, Mars-Xtalk, Medici, Metacapture,Metacircuit, Metamanager, Metamixsim, Milkyway, ModelSource, Module Compiler, MS-3200, MS-3400, Nova ProductFamily, Nova-ExploreRTL, Nova-Trans, Nova-VeriLint, Nova-VHDLlint, Optimum Silicon, Orion ec, Parasitic View,Passport, Planet, Planet-PL, Planet-RTL, Polaris, Polaris-CBS, Polaris-MT, Power Compiler, PowerCODE, PowerGate,ProFPGA, ProGen, Prospector, Protocol Compiler, PSMGen, Raphael, Raphael-NES, RoadRunner, RTL Analyzer,Saturn, ScanBand, Schematic Compiler, Scirocco, Scirocco-i, Shadow Debugger, Silicon Blueprint, Silicon Early Access,SinglePass-SoC, Smart Extraction, SmartLicense, SmartModel Library, Softwire, Source-Level Design, Star, Star-DC,Star-MS, Star-MTB, Star-Power, Star-Rail, Star-RC, Star-RCXT, Star-Sim, Star-SimXT, Star-Time, Star-XP, SWIFT,Taurus, TimeSlice, TimeTracker, Timing Annotator, TopoPlace, TopoRoute, Trace-On-Demand, True-Hspice,TSUPREM-4, TymeWare, VCS Express, VCSi, Venus, Verification Portal, VFormal, VHDL Compiler, VHDL SystemSimulator, VirSim, and VMC are trademarks of Synopsys, Inc.Service Marks (SM)MAP-in, SVP Café, and TAP-in are service marks of Synopsys, Inc.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.Printed in the U.S.A.HSPICE Simulation and Analysis User Guide, Y-2006.03iiHSPICE Simulation and Analysis User GuideY-2006.03

Contents1.2.Inside This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxiiiThe HSPICE Documentation Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvOther Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxviConventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxviiCustomer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxviiiOverview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1HSPICE Varieties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3HSPICE Features for Running Higher-Level Simulations . . . . . . . . . . . . . . . .5Simulation Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5Experimental Methods Supported by HSPICE . . . . . . . . . . . . . . . . . . . .5HSPICE Data Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Simulation Process Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9Setup and Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11Setting Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11Setting License Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .License Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1112Standard Input Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13Design and File Naming Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . .13Output Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14Initialization File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14DC Operating Point Initial Conditions File . . . . . . . . . . . . . . . . . . . . . . . .14Input Netlist File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15Library Input File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15Analog Transition Data File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15Standard Output Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15AC Analysis Results File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16AC Analysis Measurement Reults File . . . . . . . . . . . . . . . . . . . . . . . . . . .16iii

Contents3.ivDC Analysis Results File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17DC Analysis Measurement Results File. . . . . . . . . . . . . . . . . . . . . . . . . .17Digital Output File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17FFT Analysis Graph Data File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17Hardcopy Graph Data File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17Operating Point Information File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17Operating Point Node Voltages File . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18Output Listing File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18Output Status File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19Output Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19Subcircuit Cross-Listing File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19Transient Analysis Measurement Results File . . . . . . . . . . . . . . . . . . . . .19Transient Analysis Results File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19Running HSPICE Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20Running HSPICE RF Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22Running HSPICE Interactively . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23To Start Interactive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23To Run a Command File in Interactive Mode . . . . . . . . . . . . . . . . . . . . . .24To Quit Interactive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24Running Multithreading HSPICE Simulations . . . . . . . . . . . . . . . . . . . . . . . . .24To Run Multithreading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Performance Improvement Estimations . . . . . . . . . . . . . . . . . . . . . .2425Using HSPICE in Client/Server Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26To Start Client/Server Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .262627To Simulate a Netlist in Client/Server Mode. . . . . . . . . . . . . . . . . . . . . . .27To Quit Client/Server Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28Running HSPICE to Calculate New Measurements . . . . . . . . . . . . . . . . . . . .28To Calculate New Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28Input Netlist and Data Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29Input Netlist File Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29Input Line Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .First Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3031Delimiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32Node Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32

ContentsInstance Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32Hierarchy Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34Parameters and Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36Input Netlist File Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36Schematic Netlists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37Input Netlist File Composition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39Title of Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40Comments and Line Continuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40Element and Source Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41Defining Subcircuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44Node Naming Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Using Wildcards on Node Names . . . . . . . . . . . . . . . . . . . . . . . . . .4445Element, Instance, and Subcircuit Naming Conventions . . . . . . . . . . . . .47Subcircuit Node Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47Path Names of Subcircuit Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48Abbreviated Subcircuit Node Names . . . . . . . . . . . . . . . . . . . . . . . . . . . .48Automatic Node Name Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49Global Node Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49Circuit Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50Data-Driven Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50Library Calls and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Library Building Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5151Automatic Library Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51Defining Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Predefined Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Measurement Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .525253Altering Design Variables and Subcircuits . . . . . . . . . . . . . . . . . . . . . . .Using Multiple .ALTER Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5354Connecting Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54Deleting a Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55Ending a Netlist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55Condition-Controlled Netlists (IF-ELSE). . . . . . . . . . . . . . . . . . . . . . . . . .55Using Subcircuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57Hierarchical Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .M (Multiply) Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .S (Scale) Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Using Hierarchical Parameters to Simplify Simulation . . . . . . . . . . .58585959Undefined Subcircuit Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60v

Contents4.viSubcircuit Call Statement Discrete Device Libraries. . . . . . . . . . . . . . . . . . . .60DDL Library Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61Vendor Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62Subcircuit Library Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65Passive Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65Values for Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65Resistor Elements in a HSPICE or HSPICE RF Netlist . . . . . . . . . . . . . .Linear Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Behavioral Resistors in HSPICE or HSPICE RF . . . . . . . . . . . . . . .Frequency-Dependent Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . .Skin Effect Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6668697071Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Linear Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Frequency-Dependent Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . .Behavioral Capacitors in HSPICE or HSPICE RF . . . . . . . . . . . . . .DC Block Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Charge-Conserved Capacitors. . . . . . . . . . . . . . . . . . . . . . . . . . . . .717475767677Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Mutual Inductors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ideal Transformer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Linear Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Frequency-Dependent Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . .AC Choke Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Reluctors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78818385868788Active Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91Diode Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91Bipolar Junction Transistor (BJT) Element . . . . . . . . . . . . . . . . . . . . . . . .93JFETs and MESFETs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95MOSFETs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97Transmission Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100W Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .W Element Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100101Lossless (T Element) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ideal Transmission Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105107Lossy (U Element) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109Frequency-Dependent Multi-Terminal S Element . . . . . . . . . . . . . . . . . .110Frequency Table Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116Group Delay Handler in Time Domain Analysis . . . . . . . . . . . . . . . . . . . .116

Contents5.Preconditioning S Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117IBIS Buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118Sources and Stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119Independent Source Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119Source Element Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119Independent Source Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120DC Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123AC Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123Transient Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124Mixed Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124Port Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125Independent Source Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129Trapezoidal Pulse Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129Sinusoidal Source Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133Exponential Source Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136Piecewise Linear Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .General Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .MSINC and ASPEC Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Data-Driven Piecewise Linear Source . . . . . . . . . . . . . . . . . . . . . . .139139139142Single-Frequency FM Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143Single-Frequency AM Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Pattern Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145148Pseudo Random-Bit Generator Source . . . . . . . . . . . . . . . . . . . . . . . . . .153Linear Feedback Shift Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .155Conventions for F . 0 . . . . .8( . .)-5.8( 001 So)vTr poupo ificor1862(i)19.2(v) So4-6( . -5.8( . .vii

ContentsviiiLinear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Polynomial (POLY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Piecewise Linear (PWL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multi-Input Gates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Delay Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Laplace Transform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Pole-Zero Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Frequency Response Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Foster Pole-Residue Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Behavioral Voltage Source (Noise Model) . . . . . . . . . . . . . . . . . . . .Ideal Op-Amp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ideal Transformer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .E Element Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166166166166166167168169170171172172173E Element Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ideal OpAmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Voltage Summer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Polynomial Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Zero-Delay Inverter Gate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ideal Transformer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Voltage-Controlled Oscillator (VCO). . . . . . . . . . . . . . . . . . . . . . . . .176176176177177177177Using the E Element for AC Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . .179Current-Dependent Current Sources — F Elements . . . . . . . . . . . . . . . . . . . .180Current-Controlled Current Source (CCCS) Syntax. . . . . . . . . . . . . . . . .Linear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Polynomial (POLY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Piecewise Linear (PWL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multi-Input Gates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Delay Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .F Element Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .F Element Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180180180180180181181183Voltage-Dependent Current Sources — G Elements. . . . . . . . . . . . . . . . . . . .184Voltage-Controlled Current Source (VCCS) . . . . . . . . . . . . . . . . . . . . . . .Linear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Polynomial (POLY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Piecewise Linear (PWL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multi-Input Gate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Delay Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Laplace Transform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Pole-Zero Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Frequency Response Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Foster Pole-Residue Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184184184185185185185185185186Behavioral Current Source (Noise Model) . . . . . . . . . . . . . . . . . . . . . . . .186Voltage-Controlled Resistor (VCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187

ContentsLinear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Polynomial (POLY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Piecewise Linear (PWL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multi-Input Gates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187187188188Voltage-Controlled Capacitor (VCCAP) . . . . . . . . . . . . . . . . . . . . . . . . . .NPWL Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .PPWL Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .G Element Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .188189189189G Element Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Switch-Level MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Voltage-Controlled Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Zero-Delay Gate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Delay Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Diode Equation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Diode Breakdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Triodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Behavioral Noise Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192192192193193193193194194194Current-Dependent Voltage Sources — H Elements. . . . . . . . . . . . . . . . . . . .195Current-Controlled Voltage Source (CCVS) . . . . . . . . . . . . . . . . . . . . . . .Linear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Polynomial (POLY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Piecewise Linear (PWL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multi-Input Gate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Delay Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195195195195195195Digital and Mixed Mode Stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199U Element Digital Input Elements and Models. . . . . . . . . . . . . . . . . . . . .General Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Model Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Digital-to-Analog Input Model Parameters . . . . . . . . . . . . . . . . . . . .199200200200U Element Digital Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Model Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Analog-to-Digital Output Model Parameters. . . . . . . . . . . . . . . . . . .203203203Replacing Sources With Digital Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206Specifying a Digital Vector File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210Commands in a Digital Vector File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211Vector Patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211Defining Tabular Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Input Stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Expected Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Verilog Value Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Periodic Tabular Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211212213214215ix

Contents6.7.xWaveform Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216Modifying Waveform Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . .216Using the Context-Based Control Option . . . . .

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. . CSim, Design Compiler, DesignPower, DesignWare, EPIC, Formality, HSIM, HSPICE, Hypermodel, iN-Phase, in-Sync,