Example: barber

HSPICE User Guide: Basic Simulation and Analysis

HSPICE User Guide: Basic Simulation and AnalysisVersion , March 2013iiHSPICE User Guide: Basic Simulation and and Proprietary Information NoticeCopyright 2013 Synopsys, Inc. All rights reserved. This software and documentation contain confidential and proprietary information that is the property of Synopsys, Inc. The software and documentation are furnished under a license agreement 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 Control StatementAll technical data contained in this publication is subject to the export control laws of the United States of America.

HSPICE® User Guide: Basic Simulation and Analysis Version H-2013.03, March 2013

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of HSPICE User Guide: Basic Simulation and Analysis

1 HSPICE User Guide: Basic Simulation and AnalysisVersion , March 2013iiHSPICE User Guide: Basic Simulation and and Proprietary Information NoticeCopyright 2013 Synopsys, Inc. All rights reserved. This software and documentation contain confidential and proprietary information that is the property of Synopsys, Inc. The software and documentation are furnished under a license agreement 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 Control StatementAll technical data contained in this publication is subject to the export control laws of the United States of America.

2 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 , 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 and certain Synopsys product names are trademarks of Synopsys, as set forth other product or company names may be trademarks of their respective , E. Middlefield RoadMountain View, CA iiiContentsInside this Guide ..xxxiiiThe HSPICE Documentation Set..xxxviSearching Across the HSPICE Documentation Set..xxxviiKnown Limitations and Resolved STARs .. xxxviiiConventions .. xxxviiiCustomer Support.

3 XxxixPart I:Introduction to Overview ..1 HSPICE Varieties..2 Features ..3 Case Sensitivity ..5 Custom CMI ..5 TSMC Model Interface (TMI) ..5 HSPICE Features for Running Higher-Level Simulations ..6 Simulation Structure ..7 Experimental Methods Supported by HSPICE ..7 Measurement System in HSPICE ..9 Simulation Process Overview ..9 Parser Syntax Requirements (Unsupported Formats)..10 Use of Example Syntax ..12 Recommended HSPICE Resources ..15 Setting Environment Variables ..15 License Variables ..16 License Queuing Variable ..17 Controlling the License Queueing Interval ..17ivContentsLicense Server Down Iterations ..18 Using the FlexLM MAX Option ..18 HSPICE License Schedule ( ) ..18 Limiting the Number of Licenses for Your Group ..18 Temporary Directory Variable.

4 19 Windows Variables ..19 Shared Libraries Environment Variable ..20 Compiled Function Library Environment Variable ..20 Using Environment Variables as Include Statements ..21 Setting Environment for 64-bit HSPICE ..21 Setting Distributed Processing Environment Variable ..22 Verilog-A (pVA) Environment Variables ..22 Standard Input Files..22 Design and File Naming Conventions ..23 Initialization File ( ) ..23DC Operating Point Initial Conditions File ..24 Input Netlist File ..24 Library Input File ..24 Analog Transition Data File ..24 Standard Output Files ..25AC Analysis Results File ..26AC Analysis Measurement Results File ..26DC Analysis Results File ..26DC Analysis Measurement Results File..26 FFT Analysis Graph Data File ..27 Operating Point Information File.

5 27 Operating Point Node Voltages File ..27 Output Listing File ..27 Output Status File ..29 Output Tables ..29 Subcircuit Cross-Listing File..29 Transient Analysis Measurement Results File ..29 Transient Analysis Results File ..29 Waveform Viewing File..30 Working Directory Path Character Limit..30 Continuing HSPICE Simulations after a Power Down .. and Simulation ..33 Running HSPICE Simulations ..34 Using Isomorphic Analyses in Subckt Blocks ..36 Data Inputs and Outputs ..37 Limitations ..38 Running HSPICE Simulations on Windows ..38 Running HSPICE RF Simulations ..39 Running HSPICE Interactively ..39 Starting Interactive Mode ..40 Running a Command File in Interactive Mode ..40 Quitting Interactive Mode ..40 Using HSPICE in Client-Server Mode ..40To Start Client-Server Mode.

6 41To Simulate a Netlist in Client-Server Mode..42To Quit Client-Server Mode ..43 Launching the Advanced Client-Server Mode (-CC) ..43 Advanced Client-Server Command Syntax ..44 Application Instances ..45 Running HSPICE to Calculate New Measurements .. Simulations, DP, and HPP ..49 Running Multi Simulations ..49 Running Distributed Processing (DP) on a Network Grid ..50 HSPICE DP Feature Support..53 Output Files ..54 HSPICE DP Limitations ..57 Running Multithread/Multiprocess HSPICE Simulations ..57 Running Multithreading and Multiprocessing Concurrently ..58 Performance Improvement Estimations ..60 Multithread (-mt) on Windows ..61 HSPICE Precision Parallel (-hpp) ..61 HPP Supported Features ..61 HPP Status Reporting in *.lis File..64 HPP Limitations .. Netlist and Data Entry.

7 65 Input Netlist File Guidelines ..65 Input Line Format ..67 Case Sensitivity ..69 Special Characters..70 First Character ..74 Delimiters ..74 Instance Names ..75 Hierarchy Paths ..76 Numbers..76 Parameters and Expressions ..78 Reserved Keywords ..79 Input Netlist File Structure ..81 Schematic Netlists ..82 Compressed Netlist Guidelines ..83 Input Netlist File Composition ..84 HSPICE Topology Rules ..86 Title of Simulation ..87 Comments and Line Continuation ..88 Element and Source Statements ..89 Defining Subcircuits ..91 Node Name (or Node Identifier) Conventions ..91 Using Wildcards on Node Names ..93 Wildcard Applications and Examples ..93 Element, Instance, and Subcircuit Naming Conventions ..95 Subcircuit Node Names ..95 Path Names of Subcircuit Nodes ..96 Abbreviated Subcircuit Node Names.

8 97 Automatic Node Name Generation ..97 Global Node Names..98 Circuit Temperature ..98 Data-Driven Analysis ..98 Library Calls and Definitions ..99 Library Building Rules ..99 Automatic Library Selection ( HSPICE ) ..100 Defining Parameters..100 Predefined Analysis ..100 Measurement Parameters ..101viiContentsAltering Design Variables and Subcircuits ..101 Using Multiple .ALTER Blocks ..102 Adding or Changing Analyses in .ALTER Blocks ..103 Connecting Nodes ..105 Deleting a Library ..105 Ending a Netlist ..105 Condition-Controlled Netlists (IF-ELSE)..106 Using Subcircuits ..108 Hierarchical Parameters..109M (Multiply) Parameter ..110S (Scale) Parameter ..110 Using Hierarchical Parameters to Simplify Simulation ..111 Undefined Subcircuit Search ( HSPICE )..113 Troubleshooting Subcircuit Node Issues.

9 113 Subcircuit Call Statement Discrete Device Libraries ..116 DDL Library Access ..116 Vendor Libraries ..117 Subcircuit Library Structure .. Interactive Mode ..121 Invoking Interactive Mode ..121 Quitting Interactive Mode ..122 Executing an Interactive Script..122 Using Interactive Mode on the Windows Platform ..122 Examples ..122 Getting Help ..123 Creating a Netlist ..124 Specifying an Analysis ..124 Running an Analysis ..124 Viewing a Netlist..124 Loading and Running an Existing Netlist ..125 Using Environment Commands ..126 Recording and Saving Interactive Commands to a File ..126 Printing a Voltage Value During Simulation ..127 Using a Command File to Run in Interactive Mode ..128 Running Multiple Testcases .. GUI for Windows ..129 Working with Designs ..130 Configuring the HSPICE GUI for Windows.

10 131 Launching Waveview in HSPUI ..133 Running Multiple Simulations..135 Building the Batch Job List..136 Simulating a Batch Job ..136 Sample Batch Work-Flow ..137 Running Multithreading ..139 SPutil, Metaencrypt and Converter Utilities, Client/Server Operation ..139 CMI Directory Structure ..140 Troubleshooting Guide ..140 Setting the File Values ..140 Text Editor Issues ..142 Simulating a UNIX Netlist File ..142 Running AvanWaves Using the Cscope Button .. and Data Encryption..145 Organization ..145 Library Encryption ..146 Encrypting a Model Library Using the metaencrypt Utility ..146 Three Encryption Methods..147 Installing and Running metaencrypt ..147 Installing metaencrypt ..148 Running metaencrypt ..148 Encryption Guidelines ..149 General Example ..150 Using the -pipe Option.


Related search queries