Example: air traffic controller

Cadence AMS Simulator User Guide - picture.iczhiku.com

Cadence AMS Simulator user GuideSeptember 20001 Product Version AMS Simulator user GuideProduct Version 2000 2000 Cadence Design Systems, Inc. All rights in the United States of Design Systems, Inc., 555 River Oaks Parkway, San Jose, CA 95134, USAT rademarks:Trademarks and service marks of Cadence Design Systems, Inc. ( Cadence ) contained in thisdocument are attributed to Cadence with the appropriate symbol. For queries regarding Cadence s trademarks,contact the corporate legal department at the address shown above or call other trademarks are the property of their respective Print Permission:This publication is protected by copyright and any unauthorized use of thispublication may violate copyright, trademark, and other laws.

The CadenceAMS simulator is a mixed-signal simulator that supports the Verilog-AMS language standard. This manual assumes that you are familiar with the development, design,

Tags:

  Guide, User, Simulators, Verilog, Cadence, Cadence ams simulator user guide

Information

Domain:

Source:

Link to this page:

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

Other abuse

Transcription of Cadence AMS Simulator User Guide - picture.iczhiku.com

1 Cadence AMS Simulator user GuideSeptember 20001 Product Version AMS Simulator user GuideProduct Version 2000 2000 Cadence Design Systems, Inc. All rights in the United States of Design Systems, Inc., 555 River Oaks Parkway, San Jose, CA 95134, USAT rademarks:Trademarks and service marks of Cadence Design Systems, Inc. ( Cadence ) contained in thisdocument are attributed to Cadence with the appropriate symbol. For queries regarding Cadence s trademarks,contact the corporate legal department at the address shown above or call other trademarks are the property of their respective Print Permission:This publication is protected by copyright and any unauthorized use of thispublication may violate copyright, trademark, and other laws.

2 Except as specified in this permission statement,this publication may not be copied, reproduced, modified, published, uploaded, posted, transmitted, ordistributed in any way, without prior written permission from Cadence . This statement grants you permission toprint one (1) hard copy of this publication subject to the following conditions:The publication may be used solely for personal, informational, and noncommercial purposes;The publication may not be modified in any way;Any copy of the publication or portion thereof must include all original copyright, trademark, and otherproprietary notices and this permission statement; andCadence reserves the right to revoke this authorization at any time, and any such use shall be discontinuedimmediately upon written notice from : Information in this publication is subject to change without notice and does not represent acommitment on the part of Cadence .

3 The information contained herein is the proprietary and confidentialinformation of Cadence or its licensors, and is supplied subject to, and may be used only by Cadence s customerin accordance with, a written agreement between Cadence and its customer. Except as may be explicitly setforth in such agreement, Cadence does not make, and expressly disclaims, any representations or warrantiesas to the completeness, accuracy or usefulness of the information contained in this document. Cadence doesnot warrant that use of such information will not infringe any third party rights, nor does Cadence assume anyliability for damages or costs of any kind that may result from use of such Rights: Use, duplication, or disclosure by the Government is subject to restrictions as set forth and et seq.

4 Or its AMS Simulator user GuideSeptember 20002 Product Version 11 Related Documents .. 11 Typographic and Syntax Conventions .. 121 Getting Started with the AMS Simulator .. 14 Language Support .. 15 Memory Requirements .. 15 Setting Up Your Design Environment .. 15 Running the Cadence AMS Simulator .. 17 Running ncverilog with a Single Step .. 21 Running the Simulator Using Multiple Steps .. 22 Understanding the Simulator Library Databases .. 23 Using a Configuration .. 242 Running With the ncverilog Command.. 26 Overview .. 27 How ncverilog Works .. 29ncverilog Command Syntax and Options .. 30ncverilog Command Option Details.

5 323 Setting Up Your Environment.. 35 Overview .. 36 The :View Approach .. 36 The File .. 37 The Work Library .. Statements .. Syntax Rules .. 40 ContentsCadence AMS Simulator user GuideSeptember 20003 Product Version File .. 42 Binding One Library to Multiple Directories .. 42 Directory Binding Rules .. 43 Debugging Files .. 43 The File .. Statements .. Variables .. Syntax Rules .. 53 Example File .. 55 Debugging Files .. 55 The File .. Syntax Rules .. 57 Directory Structure Example .. 584 Instantiating Analog Masters .. 62 Overview .. 63 Using Spectre Built-In and verilog -AMS Primitives.

6 63 Using Subcircuits and Models Written in SPICE or Spectre .. 64 Creating an Analog Primitive Table .. 64 IPassing the Location of the Analog Primitive Table to the Compiler and Elaborator . 65 Using Inline Subcircuits .. 655 Importing verilog -AMS Modules into VHDL Modules .. 66 Overview .. 67 Generating a Shell with ncshell .. 67 Restrictions .. 68 Steps to Follow .. 68 Example .. 69 Cadence AMS Simulator user GuideSeptember 20004 Product Version .. 72 Overview .. 73ncvlog Command Syntax .. 74ncvlog Command Options Details .. 76 Example ncvlog Command Lines .. Variables .. 79 Conditionally Compiling Source Code.

7 80 Controlling the Compilation of Design Units into :View .. 807 Elaborating .. 82 Overview .. 83ncelab Command Syntax and Options .. 84ncelab Command Options Details .. 90 Example ncelab Command Lines .. Variables .. 93 How Modules and UDPs Are Resolved During Elaboration .. 94 Enabling Read, Write, or Connectivity Access to Digital Simulation Objects .. 94 Selecting a Delay Mode .. 96 Setting Pulse Controls .. 968 Specifying Controls for the Analog Solver .. 97 Language Mode (lang) .. 98 Immediate Set Options (options) .. 98 Initial Guess (nodeset) .. 101 Transient Analysis (tran) .. 101 Initial Conditions (ic).

8 103 Displaying and Saving Information (info) .. 104where .. 104file ..105save .. 105extremes .. 105 Cadence AMS Simulator user GuideSeptember 20005 Product Version .. 1069 Simulating .. 107 Overview .. 108ncsim Command Syntax and Options .. 109ncsim Command Option Details .. 111 Example ncsim Command Lines .. Variables .. 113 Running the Simulator .. 113 Starting a Simulation .. 114 Resetting and Reinvoking a Simulation .. 115 Updating Design Changes When You Run the Simulator .. 115 Providing Interactive Commands from a File .. 116 Exiting the Simulation .. 11610 Debugging .. 117 Managing Databases.

9 119 Opening a Database .. 119 Using a Single Database for Both Analog and Digital Waveforms .. 119 Displaying Information About Databases .. 120 Disabling a Database .. 120 Enabling a Database .. 120 Closing a Database .. 121 Setting and Deleting Probes .. 121 Setting a Probe .. 122 Displaying Information About Probes .. 122 Disabling a Probe .. 123 Enabling a Probe .. 123 Deleting a Probe .. 123 Traversing the Model Hierarchy .. 123 Setting Breakpoints .. 126 Setting a Condition Breakpoint .. 127 Setting a Source Code Line Breakpoint .. 128 Cadence AMS Simulator user GuideSeptember 20006 Product Version an Object Breakpoint.

10 128 Setting a Time Breakpoint .. 129 Setting a Delta Breakpoint .. 130 Setting a Process Breakpoint .. 130 Disabling, Enabling, Deleting, and Displaying Breakpoints .. 131 Stepping Through Lines of Code .. 131 Forcing and Releasing Signal Values .. 132 Depositing Values to Signals .. 133 Displaying Information About Simulation Objects .. 134 Displaying the Drivers of Signals .. 134 Debugging Designs with Automatically-Inserted Connect Modules .. 135 Displaying Waveforms with Signalscan waves .. 136 Creating a Database and Probing Signals .. 136 Opening a Database with $shm_open .. 137 Probing Signals with $shm_probe.


Related search queries