Ngspice User Manual

Total Page:16

File Type:pdf, Size:1020Kb

Ngspice User Manual Ngspice User’s Manual Version 35 plus (ngspice development version) Holger Vogt, Marcel Hendrix, Paolo Nenzi, Dietmar Warning September 27, 2021 2 Locations The project and download pages of ngspice may be found at Ngspice home page http://ngspice.sourceforge.net/ Project page at SourceForge http://sourceforge.net/projects/ngspice/ Download page at SourceForge https://sourceforge.net/projects/ngspice/files/ng-spice- rework/ Git source download https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/ Status This manual is a work in progress. Some to-dos are listed in Chapt. 24.3. More is surely needed. You are invited to report bugs, missing items, wrongly described items, bad English style, etc. How to use this Manual The manual is a “work in progress.” It may accompany a specific ngspice release, e.g. ngspice-35 as manual version 35. If its name contains ‘Version xxplus’, it describes the actual code status, found at the date of issue in the Git Source Code Management (SCM) tool. This manual is intended to provide a complete description of ngspice’s functionality, features, commands, and procedures. This manual is not a book about learning SPICE usage, however the novice user may find some hints how to start using ngspice. Chapter 21.1 gives a short introduction how to set up and simulate a small circuit. Chapter 32 is about compiling and installing ngspice from a tarball or the actual Git source code, which you may find on the ngspice web pages. If you are running a specific Linux distribution, you may check if it provides ngspice as part of the package. Some are listed here. License This document is covered by the Creative Commons Attribution Share-Alike (CC-BY-SA) v4.0.. Part of chapters 12 and 25-27 are in the public domain. Chapter 30 is covered by New BSD (chapt. 33.3.2). Part I Ngspice User’s Manual 3 Contents I Ngspice User’s Manual 3 1 Introduction 33 1.1 Simulation Algorithms ............................. 34 1.1.1 Analog Simulation ........................... 34 1.1.2 Device Models for Analog Simulation ................. 34 1.1.3 Digital Simulation ........................... 35 1.1.4 Mixed-Signal Simulation ........................ 35 1.1.5 Mixed-Level Simulation ........................ 36 1.2 Supported Analyses ............................... 37 1.2.1 DC Analysis ............................... 37 1.2.2 AC Small-Signal Analysis ....................... 38 1.2.3 Transient Analysis ........................... 38 1.2.4 Pole-Zero Analysis ........................... 39 1.2.5 Small-Signal Distortion Analysis .................... 39 1.2.6 Sensitivity Analysis ........................... 39 1.2.7 Noise Analysis .............................. 40 1.2.8 Periodic Steady State Analysis ..................... 40 1.3 Analysis at Different Temperatures ...................... 40 1.4 Convergence ................................... 42 1.4.1 Voltage convergence criterion ..................... 42 1.4.2 Current convergence criterion ..................... 43 1.4.3 Convergence failure ........................... 43 2 Circuit Description 45 2.1 General Structure and Conventions ...................... 45 2.1.1 Input file structure ........................... 45 2.1.2 Syntax check .............................. 45 5 6 CONTENTS 2.1.3 Circuit elements (device instances) .................. 46 2.1.4 Some naming conventions ....................... 47 2.2 Dot commands ................................. 48 2.3 Basic lines .................................... 50 2.3.1 .TITLE line ............................... 50 2.3.2 .END Line ................................ 51 2.3.3 Comments ................................ 51 2.3.4 End-of-line comments .......................... 51 2.3.5 Continuation lines ........................... 52 2.4 .MODEL Device Models ............................ 52 2.5 .SUBCKT Subcircuits ............................. 53 2.5.1 .SUBCKT Line ............................. 54 2.5.2 .ENDS Line ............................... 55 2.5.3 Subcircuit Calls ............................. 55 2.6 .GLOBAL .................................... 55 2.7 .INCLUDE ................................... 56 2.8 .LIB ....................................... 56 2.9 .PARAM Parametric netlists .......................... 56 2.9.1 .param line ............................... 57 2.9.2 Brace expressions in circuit elements: ................. 57 2.9.3 Subcircuit parameters ......................... 58 2.9.4 Symbol scope .............................. 59 2.9.5 Syntax of expressions .......................... 59 2.9.6 Reserved words ............................. 62 2.9.7 A word of caution on the three ngspice expression parsers ...... 62 2.10 .FUNC ...................................... 62 2.11 .CSPARAM ................................... 63 2.12 .TEMP ...................................... 63 2.13 .IF Condition-Controlled Netlist ........................ 64 2.14 Parameters, functions, expressions, and command scripts .......... 66 2.14.1 Parameters ............................... 66 2.14.2 Nonlinear sources ............................ 66 2.14.3 Control commands, Command scripts ................. 66 CONTENTS 7 3 Circuit Elements and Models 69 3.1 About netlists, device instances, models and model parameters ....... 69 3.2 General options ................................. 70 3.2.1 Paralleling devices with multiplier m ................. 70 3.2.2 Instance and model parameters .................... 72 3.2.3 Model binning .............................. 73 3.2.4 Initial conditions ............................ 73 3.3 Elementary Devices ............................... 74 3.3.1 Resistors ................................. 74 3.3.2 Semiconductor Resistors ........................ 76 3.3.3 Semiconductor Resistor Model (R) .................. 76 3.3.4 Resistors, dependent on expressions (behavioral resistor) ...... 78 3.3.5 Resistor with nonlinear r2_cmc model ................ 78 3.3.6 Capacitors ................................ 79 3.3.7 Semiconductor Capacitors ....................... 80 3.3.8 Semiconductor Capacitor Model (C) ................. 80 3.3.9 Capacitors, dependent on expressions (behavioral capacitor) .... 82 3.3.10 Inductors ................................ 83 3.3.11 Inductor model ............................. 84 3.3.12 Coupled (Mutual) Inductors ...................... 85 3.3.13 Inductors, dependent on expressions (behavioral inductor) ..... 86 3.3.14 Capacitor or inductor with initial conditions ............. 87 3.3.15 Switches ................................. 88 3.3.16 Switch Model (SW/CSW) ....................... 89 4 Voltage and Current Sources 91 4.1 Independent Sources for Voltage or Current ................. 91 4.1.1 Pulse ................................... 92 4.1.2 Sinusoidal ................................ 93 4.1.3 Exponential ............................... 94 4.1.4 Piece-Wise Linear ............................ 94 4.1.5 Single-Frequency FM .......................... 95 4.1.6 Amplitude modulated source (AM) .................. 95 4.1.7 Transient noise source ......................... 96 4.1.8 Random voltage source ......................... 97 8 CONTENTS 4.1.9 External voltage or current input ................... 97 4.1.10 Arbitrary Phase Sources ........................ 98 4.2 Linear Dependent Sources ........................... 98 4.2.1 Gxxxx: Linear Voltage-Controlled Current Sources (VCCS) .... 98 4.2.2 Exxxx: Linear Voltage-Controlled Voltage Sources (VCVS) ..... 99 4.2.3 Fxxxx: Linear Current-Controlled Current Sources (CCCS) .... 99 4.2.4 Hxxxx: Linear Current-Controlled Voltage Sources (CCVS) .... 99 4.2.5 Polynomial Source Compatibility ................... 100 5 Non-linear Dependent Sources (Behavioral Sources) 101 5.1 Bxxxx: Nonlinear dependent source (ASRC) ................. 101 5.1.1 Syntax and usage ............................ 101 5.1.2 Special B-Source Variables time, temper, hertz ............ 105 5.1.3 par(’expression’) ............................ 105 5.1.4 Piecewise Linear Function: pwl .................... 105 5.2 Exxxx: non-linear voltage source ....................... 108 5.2.1 VOL ................................... 108 5.2.2 VALUE ................................. 108 5.2.3 TABLE ................................. 108 5.2.4 POLY .................................. 109 5.2.5 LAPLACE ................................ 109 5.3 Gxxxx: non-linear current source ....................... 110 5.3.1 CUR ................................... 110 5.3.2 VALUE ................................. 110 5.3.3 TABLE ................................. 111 5.3.4 POLY .................................. 111 5.3.5 LAPLACE ................................ 111 5.3.6 Example ................................. 111 5.4 Debugging a behavioral source ......................... 112 5.5 POLY Sources .................................. 113 5.5.1 E voltage source, G current source .................. 114 5.5.2 F voltage source, H current source ................... 114 CONTENTS 9 6 Transmission Lines 117 6.1 Lossless Transmission Lines .......................... 117 6.2 Lossy Transmission Lines ............................ 118 6.2.1 Lossy Transmission Line Model (LTRA) ............... 118 6.3 Uniform Distributed RC Lines ......................... 120 6.3.1 Uniform Distributed RC Model (URC) ................ 120 6.4 KSPICE Lossy Transmission Lines ...................... 121 6.4.1 Single Lossy Transmission Line (TXL) ................ 122 6.4.2 Coupled Multiconductor Line (CPL) ................. 122 7 Diodes 125 7.1 Junction Diodes ................................. 125 7.2 Diode Model
Recommended publications
  • Amateur Radio Software Distributed with (X)Ubuntu LTS Serge Stroobandt, ON4AA
    Amateur Radio Software Distributed with (X)Ubuntu LTS Serge Stroobandt, ON4AA Copyright 2014–2018, licensed under Creative Commons BY-NC-SA Introduction Amateur radio (also called “ham radio”), is a technical hobby Many ham radio stations are highly integrated with computers. Radios are interfaced with com- puters to aid with contact logging, propagation prediction, station spotting, antenna steering, signal (de)modulation and filtering. For many years, amateur radio software has been a bastion of Windows™ ap- plications developed by However, with the advent of the Rasperry Pi, amateur radio hobbyists are slowly but surely discovering GNU/Linux. Most of the software for GNU/Linux is available through package repositories. Such package repositories come by default with the GNU/Linux distribution of your choice. Package management systems offer many benefits in the form of security (you know what you are getting from whom) and ease-of-use (packages are upgraded automatically). No longer does one need to wander the back corners of the internet to find wne or updated software, exposing oneself to the risk of catching a computer virus. A number of GNU/Linux distributions offer freely installable ham-related packages under the “Amateur Radio” section of their main repository. The largest collection of ham radio packages is offeredy b OpenSuse and De- bian-derived distributions like Xubuntu LTS and Linux Mint, to name but a few. Arch Linux may also have whole bunch of ham related software in the Arch User Repository (AUR). 1 Synaptic One way to find and tallins ham radio packages on Debian-derived distros is by using the Synaptic graphical package manager (see Figure 1).
    [Show full text]
  • Circuit Design and Analysis Temel Elektrik Mühendisli Ği, Cilt 1 , Fitzgerald
    Course Plan Ankara University Credit: 4 ECTS Engineering Faculty Class: Lecture: 3 hours Department of Engineering Physics Problem Hours: 0 Lab: 0 PEN207 Class Hours: Monday 09:30-12:15 (3 hours) CIRCUIT DESIGN AND Classroom: Seminar Hall (Seminer Salonu) ANALYSIS Office Hours: Friday 11:00-12:00 (Circuit Theory) Attendance: Mandatory Exams: Midterm (one midterm exam) % 30 Prof. Dr. Hüseyin Sarı Final Exam % 80 Passing Grade: 60 (C3) or higher 3 Course Materials and Textbook(s) Ankara University Engineering Faculty, Lecture notes (Ppoint): Dept. of Engineering Physics huseyinsari.net.tr Desler Circuit Design & Analysis (http://huseyinsari.net.tr/ders-pen207.htm) 2019 Fall Main book: PEN207 Circuit Design and Analysis Temel Elektrik Mühendisli ği, Cilt 1 , Fitzgerald. A. E. Higginbotham D. E.,Grabel A. Instructor : Prof. Dr. Hüseyin Sarı (Editor: Prof. Dr. Kerim Kıymaç, 3.Edition) A.U. Engineering Faculty, Dept. of Eng. Physics Office: Department of Eng. Phy., B-Block, Room:105 E-mail: [email protected][email protected] web: www.huseyinsari.net.tr Phone: (312) 203 3424 (office) ● 536 295 3555 (cell) 2 4 PEN207-Circuit Design & Analysis:Introduction 1 Textbooks Textbooks-Turkish Recommended Textbooks-1: Recommended (Turkish)Textbooks-3: Introductory Electric Circuits Schaum's Outline of Basic Circuit Elektrik Devreleri Elektrik Devreleri Elektrik Devreleri-I Circuit Analysis James W. Nilsson, James W. Nilsson, (Ders Kitabı ) - Teori ve Çözümlü Robert L. Boylestad Susan Riedel Analysis, 2nd Edition John O'Malley Susan Riedel Problem Çözümleri Örnekler Pearson Int. Edition 6th Ed. Palme Yayınevi (In library) (In library) (In library) Turgut İkiz , Ali Bekir Yıldız Papatya Bilim Yayınları Volga Yayıncılık 5 7 Textbooks Textbooks-Turkish Recommended Textbooks-2: Recommended (Turkish)Textbooks-4: Introduction to Electrical Schaum's Outline of Do ğru Akım Devreleri ve Electric Circuits Engineering: 3000 Solved Problem Çözümleri Richard C.
    [Show full text]
  • Elementary Filter Circuits
    Modular Electronics Learning (ModEL) project * SPICE ckt v1 1 0 dc 12 v2 2 1 dc 15 r1 2 3 4700 r2 3 0 7100 .dc v1 12 12 1 .print dc v(2,3) .print dc i(v2) .end V = I R Elementary Filter Circuits c 2018-2021 by Tony R. Kuphaldt – under the terms and conditions of the Creative Commons Attribution 4.0 International Public License Last update = 13 September 2021 This is a copyrighted work, but licensed under the Creative Commons Attribution 4.0 International Public License. A copy of this license is found in the last Appendix of this document. Alternatively, you may visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons: 171 Second Street, Suite 300, San Francisco, California, 94105, USA. The terms and conditions of this license allow for free copying, distribution, and/or modification of all licensed works by the general public. ii Contents 1 Introduction 3 2 Case Tutorial 5 2.1 Example: RC filter design ................................. 6 3 Tutorial 9 3.1 Signal separation ...................................... 9 3.2 Reactive filtering ...................................... 10 3.3 Bode plots .......................................... 14 3.4 LC resonant filters ..................................... 15 3.5 Roll-off ........................................... 17 3.6 Mechanical-electrical filters ................................ 18 3.7 Summary .......................................... 20 4 Historical References 25 4.1 Wave screens ........................................ 26 5 Derivations and Technical References 29 5.1 Decibels ........................................... 30 6 Programming References 41 6.1 Programming in C++ ................................... 42 6.2 Programming in Python .................................. 46 6.3 Modeling low-pass filters using C++ ........................... 51 7 Questions 63 7.1 Conceptual reasoning ...................................
    [Show full text]
  • Getting Started in High Performance Electronic Design
    Getting started in high performance electronic design Wojtek Skulski Department of Physics and Astronomy University of Rochester Rochester, NY 14627-0171 skulski _at_ pas.rochester.edu First presented May/23/2002 Updated for the web July/03/2004 Wojtek Skulski May/2002 Department of Physics and Astronomy, University of Rochester Getting started with High performance electronic design • 3-hour class • Designing high performance surface mount and multilayer boards. • What tools and resources are available? • How to get my design manufactured and assembled? • Board design with OrCAD Capture and Layout. • When and where: • Thursday, May/23/2002, 9-12am, Bausch&Lomb room 106 (1st floor). • Slides updated for the web July/03/2004. • Reserve your handout. • Send e-mail to [email protected] if you plan to attend. • Walk-ins are invited, but there may be no handouts if you do not register. • See you there! Wojtek Skulski May/2002 Department of Physics and Astronomy, University of Rochester The goal and outline of this class • Goal: • Describe the tools available to us for designing high performance electronic instruments. • Outline • Why do we need surface mount and multilayer boards? • What tools and resources are available? • How to get my PCB manufactured? • How to get my board assembled? • Designing with OrCAD Capture and OrCAD Layout. • The audience • You know the basics of electronics. • … and you need to get going quickly with your design. Wojtek Skulski May/2002 Department of Physics and Astronomy, University of Rochester Disclaimer • I am describing tools and methods which work for me. • I do not claim that this information is complete.
    [Show full text]
  • SPICE 1: Tutorial
    SPICE 1: Tutorial Chris Winstead January 15, 2015 Chris Winstead SPICE 1: Tutorial January 15, 2015 1 / 28 Getting Started SPICE is designed to run as a classic console tool, aka a terminal command. If you are unfamiliar with the Linux terminal, you should spend some time to get acquainted with basic terminal commands, and how to organize and navigate directory structures (a directory is often called a \folder"). I prepared a quick-start terminal tutorial that you can review here: https://electronics.wiki.usu.edu/Linux_Tutorial If you plan to use NGSpice in the lab (which I recommend), then you may want to check out our NGSpice wiki page: https://electronics.wiki.usu.edu/NGSpice You can also find NGSpice information and the full manual here: http://ngspice.sourceforge.net/ You will also need to choose a text editor for preparing your SPICE files. I like to use Emacs (it has an optional SPICE mode that is pretty handy). Most students prefer to use GEdit. You can launch these editors from the terminal. Chris Winstead SPICE 1: Tutorial January 15, 2015 2 / 28 Creating a Project First, you'll want to open a terminal window and create a directory tree for your work this semester. You could setup your directory tree using these commands: cd mkdir 3410 cd 3410 mkdir spice cd spice mkdir lab1 cd lab1 Here the cd command is used to change directories, and the mkdir command is used to create a directory. Chris Winstead SPICE 1: Tutorial January 15, 2015 3 / 28 Create a new SPICE file SPICE files (often called \decks" for historical reasons) are plain text files.
    [Show full text]
  • NGSPICE: Circuit Simulator User Guide for ECE 391
    NGSPICE: Circuit Simulator User guide for ECE 391 Last Updated: August 2015 Preface This user guide contains several page references to the ngspice re-work manual version 26. The official ngspice manual can be found at http://ngspice.sourceforge.net/ as well as older ver- sions available for download. Oregon State University i Acknowledgments Oregon State University ii Contents Preface i Acknowledgments ii 1 Introduction 1 2 How to Install Ngspice 1 2.1 Mac OS X . .1 2.2 Linux Distros . .2 2.3 Windows . .3 2.4 Alternative Method - remotely (PuTTY) . .3 3 How to Run Ngspice 3 3.1 Using PuTTY . .3 3.2 Using Windows . .4 4 Ngspice Overview 5 4.1 Getting Started . .5 4.2 Creating a Netlist . .6 4.3 Creating Circuit Elements . .7 5 Transmissions Lines 10 5.1 Transmission Line (lossless) . 10 5.1.1 Voltage Sources . 10 5.1.2 Creating a Transmission Line . 11 5.2 Transmission Lines (lossy) . 14 6 Subcircuits 16 6.1 Creating a Subcircuit . 17 7 AC - Standing Waves 21 7.1 Standing Wave Examples . 21 7.2 Standing Wave plots . 22 Ngspice User Guide - ECE 391 1 Introduction This ngspice user guide has been developed for the ECE 391 course at Oregon State University to assist students to further their understanding on the behavior of transmission lines. This guide covers the basic concepts to using ngspice to simulate ideal (lossless) and non-ideal (lossy) trans- mission lines in DC/AC circuits and other related topics discussed in the course. This user guide summarizes the useful, pertinent information from the near 600 page ngspice manual needed to run the ngspice simulator for this course, while adding several extra examples.
    [Show full text]
  • Circuit Optimisation Using Device Layout Motifs
    Circuit Optimisation using Device Layout Motifs Yang Xiao Ph.D. University of York Electronics July 2015 Abstract Circuit designers face great challenges as CMOS devices continue to scale to nano dimensions, in particular, stochastic variability caused by the physical properties of transistors. Stochas- tic variability is an undesired and uncertain component caused by fundamental phenomena associated with device structure evolution, which cannot be avoided during the manufac- turing process. In order to examine the problem of variability at atomic levels, the `Motif ' concept, defined as a set of repeating patterns of fundamental geometrical forms used as design units, is proposed to capture the presence of statistical variability and improve the device/circuit layout regularity. A set of 3D motifs with stochastic variability are investigated and performed by technology computer aided design simulations. The statistical motifs compact model is used to bridge between device technology and circuit design. The statistical variability information is transferred into motifs' compact model in order to facilitate variation-aware circuit designs. The uniform motif compact model extraction is performed by a novel two-step evolutionary algorithm. The proposed extraction method overcomes the drawbacks of conventional extraction methods of poor convergence without good initial conditions and the difficulty of simulating multi-objective optimisations. After uniform motif compact models are obtained, the statistical variability information is injected into these compact models to generate the final motif statistical variability model. The thesis also considers the influence of different choices of motif for each device on cir- cuit performance and its statistical variability characteristics. A set of basic logic gates is constructed using different motif choices.
    [Show full text]
  • Nanoelectronic Mixed-Signal System Design
    Nanoelectronic Mixed-Signal System Design Saraju P. Mohanty Saraju P. Mohanty University of North Texas, Denton. e-mail: [email protected] 1 Contents Nanoelectronic Mixed-Signal System Design ............................................... 1 Saraju P. Mohanty 1 Opportunities and Challenges of Nanoscale Technology and Systems ........................ 1 1 Introduction ..................................................................... 1 2 Mixed-Signal Circuits and Systems . .............................................. 3 2.1 Different Processors: Electrical to Mechanical ................................ 3 2.2 Analog Versus Digital Processors . .......................................... 4 2.3 Analog, Digital, Mixed-Signal Circuits and Systems . ........................ 4 2.4 Two Types of Mixed-Signal Systems . ..................................... 4 3 Nanoscale CMOS Circuit Technology . .............................................. 6 3.1 Developmental Trend . ................................................... 6 3.2 Nanoscale CMOS Alternative Device Options ................................ 6 3.3 Advantage and Disadvantages of Technology Scaling . ........................ 9 3.4 Challenges in Nanoscale Design . .......................................... 9 4 Power Consumption and Leakage Dissipation Issues in AMS-SoCs . ................... 10 4.1 Power Consumption in Various Components in AMS-SoCs . ................... 10 4.2 Power and Leakage Trend in Nanoscale Technology . ........................ 10 4.3 The Impact of Power Consumption
    [Show full text]
  • Scientific Tools for Linux
    Scientific Tools for Linux Ryan Curtin LUG@GT Ryan Curtin Getting your system to boot with initrd and initramfs - p. 1/41 Goals » Goals This presentation is intended to introduce you to the vast array Mathematical Tools of software available for scientific applications that run on Electrical Engineering Tools Linux. Software is available for electrical engineering, Chemistry Tools mathematics, chemistry, physics, biology, and other fields. Physics Tools Other Tools Questions? Ryan Curtin Getting your system to boot with initrd and initramfs - p. 2/41 Non-Free Mathematical Tools » Goals MATLAB (MathWorks) Mathematical Tools » Non-Free Mathematical Tools » MATLAB » Mathematica Mathematica (Wolfram Research) » Maple » Free Mathematical Tools » GNU Octave » mathomatic Maple (Maplesoft) »R » SAGE Electrical Engineering Tools S-Plus (Mathsoft) Chemistry Tools Physics Tools Other Tools Questions? Ryan Curtin Getting your system to boot with initrd and initramfs - p. 3/41 MATLAB » Goals MATLAB is a fully functional mathematics language Mathematical Tools » Non-Free Mathematical Tools You may be familiar with it from use in classes » MATLAB » Mathematica » Maple » Free Mathematical Tools » GNU Octave » mathomatic »R » SAGE Electrical Engineering Tools Chemistry Tools Physics Tools Other Tools Questions? Ryan Curtin Getting your system to boot with initrd and initramfs - p. 4/41 Mathematica » Goals Worksheet-based mathematics suite Mathematical Tools » Non-Free Mathematical Tools Linux versions can be buggy and bugfixes can be slow » MATLAB
    [Show full text]
  • Ngspice User's Manual (Version 32)
    Ngspice User’s Manual Version 32 (Describes ngspice release version) Holger Vogt, Marcel Hendrix, Paolo Nenzi May 2nd, 2020 2 Locations The project and download pages of ngspice may be found at Ngspice home page http://ngspice.sourceforge.net/ Project page at SourceForge http://sourceforge.net/projects/ngspice/ Download page at SourceForge http://sourceforge.net/projects/ngspice/files/ Git source download http://sourceforge.net/scm/?type=cvs&group_id=38962 Status This manual is a work in progress. Some to-dos are listed in Chapt. 24.3. More is surely needed. You are invited to report bugs, missing items, wrongly described items, bad English style, etc. How to use this Manual The manual is a “work in progress.” It may accompany a specific ngspice release, e.g. ngspice- 24 as manual version 24. If its name contains ‘Version xxplus’, it describes the actual code status, found at the date of issue in the Git Source Code Management (SCM) tool. This manual is intended to provide a complete description of ngspice’s functionality, features, commands, and procedures. This manual is not a book about learning SPICE usage, however the novice user may find some hints how to start using ngspice. Chapter 21.1 gives a short introduction how to set up and simulate a small circuit. Chapter 32 is about compiling and installing ngspice from a tarball or the actual Git source code, which you may find on the ngspice web pages. If you are running a specific Linux distribution, you may check if it provides ngspice as part of the package.
    [Show full text]
  • Pcb-20050609 an Interactive Printed Circuit Board Layout System for X11
    1 Pcb-20050609 an interactive printed circuit board layout system for X11 harry eaton i Table of Contents Copying ...................................... 1 History ....................................... 2 1 Overview .................................. 4 2 Introduction ............................... 5 2.1 Symbols .................................................... 5 2.2 Vias........................................................ 5 2.3 Elements ................................................... 5 2.4 Layers ...................................................... 7 2.5 Lines ....................................................... 8 2.6 Arcs........................................................ 9 2.7 Polygons ................................................... 9 2.8 Text ...................................................... 10 2.9 Nets....................................................... 10 3 Getting Started........................... 11 3.1 The Application Window ................................... 11 3.1.1 Menus ................................................ 11 3.1.2 The Status-line and Input-field ......................... 14 3.1.3 The Panner Control.................................... 14 3.1.4 The Layer Controls .................................... 15 3.1.5 The Tool Selectors ..................................... 16 3.1.6 Layout Area........................................... 18 3.2 Log Window ............................................... 18 3.3 Library Window ........................................... 18 3.4 Netlist Window
    [Show full text]
  • II. PSPICE Tutorial
    II. PSPICE Tutorial PSpice is a software tool for Spice simulation. This tutorial covers the use of OrCAD EE PSpice software package, i.e., Orcad Capture and PSpice Lite. You can download a student version of Orcad from http://www.orcad.com/buy/orcad-educational-program. The tutorial will cover few examples in increasing degree of difficulty. The examples will cover many details of SPICE. Example I Q-Point Analysis In this example we will construct a simple resistive circuit and measure the currents in, and voltages across, the different resistors. Start All Programs à cadence àOrCAD 16.6 Lite à OrCAD capture CIS Lite You will be prompted with an error message saying License was not found. Would you like to launch the lite version Click “Yes”. You can check don’t ask me again if you do not want to be bothered again. OrCAD capture CIS Lite windows appears Click on the project New in the getting started window, or File à New à Project. The new project windows appear Choose Analog or Mixed A/D Browse to the appropriate directory location, and name the project MySimpleCircuit Then OK. Create PSpice Project Window appears, choose “Create a blank project”, then OK. The following screen appears Expand mysimplecircuit.dsn then expand schematic and double click on page 1 Place part Place wire Select Place part Place wire Place net alias Place ground You will get the schematic page, with a ground node in it and text to tell you to copy and paste the ground in your design. Every circuit must contain a ground and the name of the node is “0” that is the number zero.
    [Show full text]