Mentor Analog Simulators

Similar documents
CHAPTER 6 DIGITAL CIRCUIT DESIGN USING SINGLE ELECTRON TRANSISTOR LOGIC

Figure 1. Main window (Common Interface Window), CIW opens and from the pull down menus you can start your design. Figure 2.

The default account setup for the class should allow you to run HSPICE without any further configuration. To verify this, type:

Lab 3: Circuit Simulation with PSPICE

EECE 488: Short HSPICE Tutorial. Last updated by: Mohammad Beikahmadi January 2013

UNIT-III POWER ESTIMATION AND ANALYSIS

NGSPICE- Usage and Examples

EECE 488: Short HSPICE. Tutorial. Last updated by: Mohammad Beikahmadi January Original presentation by: Jack Shiah

Introduction to Full-Custom Circuit Design with HSPICE and Laker

Conduction Characteristics of MOS Transistors (for fixed Vds)! Topic 2. Basic MOS theory & SPICE simulation. MOS Transistor

Topic 2. Basic MOS theory & SPICE simulation

Conduction Characteristics of MOS Transistors (for fixed Vds) Topic 2. Basic MOS theory & SPICE simulation. MOS Transistor

Circuit Simulation with SPICE OPUS

EECS 312: Digital Integrated Circuits Lab Project 1 Introduction to Schematic Capture and Analog Circuit Simulation

Introduction to SwitcherCAD

THE SPICE BOOK. Andrei Vladimirescu. John Wiley & Sons, Inc. New York Chichester Brisbane Toronto Singapore

Experiment 2 Introduction to PSpice

PHYSICAL STRUCTURE OF CMOS INTEGRATED CIRCUITS. Dr. Mohammed M. Farag

Jack Keil Wolf Lecture. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. MOSFET N-Type, P-Type.

Implementation of Full Adder using Cmos Logic

Modeling MOS Transistors. Prof. MacDonald

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

INTRODUCTION TO MOS TECHNOLOGY

Fundamentals of Integrated Circuit Design

! Review: MOS IV Curves and Switch Model. ! MOS Device Layout. ! Inverter Layout. ! Gate Layout and Stick Diagrams. ! Design Rules. !

! Review: MOS IV Curves and Switch Model. ! MOS Device Layout. ! Inverter Layout. ! Gate Layout and Stick Diagrams. ! Design Rules. !

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

CMOS VLSI Design (A3425)

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

CMOS VLSI IC Design. A decent understanding of all tasks required to design and fabricate a chip takes years of experience

Exam Below are two schematics of current sources implemented with MOSFETs. Which current source has the best compliance voltage?

A Short SPICE Tutorial

The University of Evansville SwitcherCAD III Component Library

HSPICE. Chan-Ming Chang

Semiconductor Memory: DRAM and SRAM. Department of Electrical and Computer Engineering, National University of Singapore

(c) Figure 1.1: Schematic elements. (a) Voltage source. (b) Light bulb. (c) Switch, open (off). (d) Switch, closed (on).

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

DC Operating Point, I-V Curve Trace. Author: Nate Turner

ECEN 474/704 Lab 7: Operational Transconductance Amplifiers

Simulation Using WinSPICE

EEC 116 Fall 2011 Lab #2: Analog Simulation Tutorial

INTRODUCTION TO CIRCUIT SIMULATION USING SPICE

Designing Information Devices and Systems II Fall 2017 Note 1

ENEE307 Lab 7 MOS Transistors 2: Small Signal Amplifiers and Digital Circuits

Schematic and Layout Simulation Exercise

EE 230 Fall 2006 Experiment 11. Small Signal Linear Operation of Nonlinear Devices

Lab 2: Basic Boolean Circuits. Brittany Duffy EE 330- Integrated Electronics Lab Section B Professor Randy Geiger 1/31/13

ESD-Transient Detection Circuit with Equivalent Capacitance-Coupling Detection Mechanism and High Efficiency of Layout Area in a 65nm CMOS Technology

Faculty of Engineering 4 th Year, Fall 2010

A Practical Approach to Obtain Defect Matrix for Integrated Circuit Testing

Lecture 4. The CMOS Inverter. DC Transfer Curve: Load line. DC Operation: Voltage Transfer Characteristic. Noise in Digital Integrated Circuits

Introduction to PSpice

ECEN 474/704 Lab 8: Two-Stage Miller Operational Amplifier

HSPICE (from Avant!) offers a more robust, commercial version of SPICE. PSPICE is a popular version of SPICE, available from Orcad (now Cadence).

On Chip Active Decoupling Capacitors for Supply Noise Reduction for Power Gating and Dynamic Dual Vdd Circuits in Digital VLSI

Design of Low Power CMOS Startup Charge Pump Based on Body Biasing Technique

ECEN 474/704 Lab 1: Introduction to Cadence & MOS Device Characterization

UNIT-1 Bipolar Junction Transistors. Text Book:, Microelectronic Circuits 6 ed., by Sedra and Smith, Oxford Press

Simulation using Tutorial Verilog XL Release Date: 02/12/2005

EE 42/100 Lecture 23: CMOS Transistors and Logic Gates. Rev A 4/15/2012 (10:39 AM) Prof. Ali M. Niknejad

Using HVOUT Simulator Utility to Estimate MOSFET Ramp Times

DESIGN OF A 4-BiT PMOS PARALLEL COMPARATOR AID CONVERTER. Amel Gaddo 5th year Microelectronic Engineering Student Rochester Institute of TechnologY

ECE4902 B2015 HW Set 1

Introduction to VLSI design using Cadence Electronic Design Automation Tools

DESIGN AND ANALYSIS OF LOW POWER CHARGE PUMP CIRCUIT FOR PHASE-LOCKED LOOP

FUNDAMENTALS OF MODERN VLSI DEVICES

Revision: Jan 29, E Main Suite D Pullman, WA (509) Voice and Fax

Yuan-Piao Lee Te-Hsiu Chen Chienkuo Technology University, ChungHua, Taiwan, ROC

Lecture 7: SPICE Simulation

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

Mentor Graphics OPAMP Simulation Tutorial --Xingguo Xiong

Evaluation of Package Properties for RF BJTs

ECE520 VLSI Design. Lecture 5: Basic CMOS Inverter. Payman Zarkesh-Ha

BICMOS Technology and Fabrication

The Ohio State University EE Senior Design (I)

CMOS Inverter & Ring Oscillator

Mor M. Peretz Power Electronics Laboratory Department of Electrical and Computer Engineering Ben-Gurion University of the Negev, ISRAEL

Using LTSPICE to Analyze Circuits

Design & Analysis of Low Power Full Adder

EE301 Electronics I , Fall

Disseny físic. Disseny en Standard Cells. Enric Pastor Rosa M. Badia Ramon Canal DM Tardor DM, Tardor

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Microelectronics, BSc course

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Basic Fabrication Steps

A Self-Contained Large-Scale FPAA Development Platform

THE JFET. Script. Discuss the JFET and how it differs from the BJT. Describe the basic structure of n-channel and p -channel JFETs

Circuit Simulation Using SPICE ECE222

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

In this lecture we will begin a new topic namely the Metal-Oxide-Semiconductor Field Effect Transistor.

EE 330 Laboratory 7 MOSFET Device Experimental Characterization and Basic Applications Spring 2017

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Design and Analysis of Linear Voltage to current converters using CMOS Technology

Figure.1. Schematic of 4-bit CLA JCHPS Special Issue 9: June Page 101

Using TDK SPICE Netlist Library and Its Basic Applications

30 ma flash LDO voltage regulator (output voltage 1.8 ± 0.2 V)

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

A New Model for Thermal Channel Noise of Deep-Submicron MOSFETS and its Application in RF-CMOS Design

ECE520 VLSI Design. Lecture 2: Basic MOS Physics. Payman Zarkesh-Ha

BiCMOS Circuit Design

Transcription:

ENGR-434 Spice Netlist Syntax Details Introduction Rev 5/25/11 As you may know, circuit simulators come in several types. They can be broadly grouped into those that simulate a circuit in an analog way, a digital way, or a combination of analog and digital. This last category are often called mixed mode simulators since analog simulation is used for part of the circuit and digital simulation for the rest. The most common analog simulator, SPICE (Simulation Program with Integrated Circuit Emphasis), grew out of a class project and subsequent doctoral dissertation at Berkeley. It continues to be developed there and elsewhere. It is available as freeware (at least in demo versions) and as a commercial product from several companies. In this class Eldo, a commercial spice like simulator, will be used via direct invocation and via the DAIC user interface. Mentor Analog Simulators There are two user views of analog simulation with our mentor tools. The first is starting simulation from Design Architect - IC (DA-IC). The second is direct invocation of the simulator. When started from within DA-IC there are two parts to the analog simulation environment: the simulation kernel (or engine), which is Eldo, and the user interface within DA-IC. Eldo uses the same netlist format and has many of the same options as SPICE. The user interface creates a netlist file and a control file and starts the simulation engine (Eldo) which writes output files to disc. After simulation is finished, DA-IC launches Ezwave to view results as specified by the user. DA-IC is customized for IC design and thus when drawing schematics you won t find libraries of "off the shelf" logic or transistor components and the palette has been tuned for actions needed in IC design. It has a simulator user interface for creating and editing the netlist and control files file sent to Eldo. SPICE SPICE simulates a circuit by solving simultaneous differential equations that describe voltages or currents in a circuit network. The equations come from mathematical models for components such as resistors, capacitors, bi-polar transistors (BJT), MOSFET transistors, transmission lines, etc. While precision limited numbers are used in these calculations, numerical resolution is adequate to typically consider the nodal solutions to be continuous (watch out though, I have experienced circuits whose simulation showed behavior, caused by numerical limitations, not observed in a real circuit). For a SPICE simulation, the following are needed: - A mathematical model for each type of component in the circuit. For example a BJT. - Parameters for the component models that tailor the model to emulate a specific component. For example, a 2n2222 NPN BJT. For IC creation, MOS transistors are constructed using a specific companies fabrication process and thus the parameters from a specific fabrication process are needed. - A description of how components are connected to form the circuit. This is called a Netlist. A Netlist contains a list of components, interconnections, and various commands to the simulator.

SPICE Netlist Historically, circuit simulation programs did not have graphical user interfaces. Rather, a set of commands and statements were written using a text editor and saved in a netlist file to describe the circuit, inputs to the circuit, and information to be kept for later display or analysis. The simulator was then started and it read the netlist file to know what to simulate. While many component models and simulator commands exist, a short list will enable us to simulate our VLSI circuits. Below is a netlist for simulating an inverter: Notes: - netlist files for Eldo are not case sensitive. Lower and upper case can be mixed. - any line beginning with an asterisk * is a comment - command statements begin with a period - blank lines, i.e. white space, is ok - circuit element names have first letters that identify the type of component - in the example below, my comments are in {} brackets. These brackets are not recognized as comment delimiters by Eldo or other SPICE versions. - this netlist combines the contents of a.cir file and a.spi file * Component: inverter {Informational. Complete path name of} { the design is placed here by Mentor}.lib /apps/adk-2.0/technology/accusim/ami05.mod {a file that defines transistor parameters}.connect GND 0 {SPICE considers node 0 to be ground}.global VDD GND v1 VDD GND dc 5 v2 in GND pulse(0 5 5N.2N.2N 25N 50N) m1 out in VDD VDD p L=0.6u W=1.5u m2 out in GND GND n L=0.6u W=1.5u c1 in GND 1.14f c2 out GND 2.17f.probe tran.plot tran v(in) v(out).op.tran 0 50N {a DC voltage source for power} {a pulsed input voltage} {p channel MOSFET} {n channel MOSFET} {capacitor} {capacitor} {save all node voltages from tran analysis} {plot the specified voltages from tran anal} {find DC operating point} {parameter 2 is the simulation stop time} Circuit components shown in the sample netlist are detailed below. Note that node names typically come from the schematic or follow names given by Design Architect when a schematic is drawn. Voltage source, DC V1 VDD GND DC 5 \ voltage \ dc voltage specified \ negative terminal \ positive terminal \ voltage name, first letter V indicates voltage source

Voltage source, pulsed V2 IN 0 PULSE (0 5 5N.2N.2N 25N 50N) \ Pulse period \ Pulse length \ falling edge \ rising edge time \ delay from sim start \ pulsed voltage \ initial voltage \ net that connects to the negative terminal \ net that connects to the positive terminal \ voltage name. first letter V indicates voltage source Capacitor C1 IN GND 1p \ capacitor value \ negative terminal \ positive terminal \ component name. leading C identifies it as a capacitor MOSFET transistor M1 out in VDD VDD p L=0.6u W=1.5u AD=2.475p AS=2.475p \ source area \ drain area (m sq) \ width (meters) \ length (meters) \ Model# \ Bulk \ source \ gate \ drain \ component identifier. leading M identifies a MOSFET Here is an alternative way to specify a pulsating (digital like) voltage source. Note that the string of bit values allow creation of an arbitrary waveform. The example here will produce the same pulsed input as the example pulse statement above. V2 in gnd PATTERN 5 0 5N.2N.2N 5N 1111100000 \ bit pattern \ time spent at each 1 or 0 (bit time) \ fall time \ rise time \ delay until pattern starts \ voltage at logic 0 \ voltage at logic 1 \ net connection to negative terminal \ net connection to positive terminal \ component identifier. leading V means voltage source Note that to have the most accurate simulation of your IC design, transistor source and drain area should be specified on each MOSFET and there should be parasitic capacitance on each node of the circuit.

Sub Circuits Parts in a circuit can be grouped into what are called sub circuits. Extractors often do that for the transistors in a leaf cell or even the whole circuit that it is extracting. statements, derived from the schematic, that define subcircuits, transistors, or instances including the following:.subckt name port_names (this begins a group of statements that define a sub circuit) component instances - such as transistors or capacitors... (more components).ends statements (this ends a subcircuit definition) A subcircuit is conceptually similar to a procedure in a program and a Subcircuit Instance Statement is like a call to the procedure. Syntax to create a Subcircuit Instance Statement: X1 port1 port2 port3 port4... portx sub_circuit_name \ component name \ last port name \ \ \ \ Port names in the order listed in the.subckt statement \_Subcircuit instance identifier. Starts with X. Must be unique. Example: The following shows how a netlist file for an inverter named min_inverter3 is created. Note the.subckt statement: * File: $MGC_WD/ee434/spring11/min_inverter3.subckt min_inverter3 GND IN OUT VDD * devices: m0 OUT IN VDD VDD p l=0.6u w=1.5u ad=2.475p as=2.475p m1 OUT IN GND GND n l=0.6u w=1.5u ad=2.475p as=2.475p * lumped capacitances: cp1 IN GND 1.1787f cp3 OUT GND 2.1672f.ends min_inverter3 Here is the syntax for a Subcircuit Instance statement that may be part of a much larger design. X1 gnd in out vdd min_inverter3 Notes: 1) For an inverter, the input capacitance reported by the extractor does not include the gate capacitances, just the wiring parasitic capacitance. During simulation, the gate capacitance is accounted for by the MOSFET model. Recall that the gate capacitance depends on the gate-to-channel voltage and also frequency and thus the capacitance calculated using gate area and oxide thickness is only an estimate. The MOSFET model provides a more accurate determination of the capacitance.

(notes continued) 2) Additional documentation about spice netlist format and the commands (i.e. control language) used to control Spice can be found in the Eldo Users Manual. You will find this manual as a pdf file in this directory: /home/classes/engr434/docs/eldo_ur.pdf Chapter 3 (starting pg 61) describes the control language and chapter 4 describes the device models (i.e. things like resistors, capacitors, transistors, etc). Another reference book in the same directory describes Ezwave (ezwave_ur.pdf)