EMT 251 SPICE NETLIST. Introduction SPICE (Simulation with Integrated Circuits Emphasis) SPICE (Simulation with Integrated Circuits Emphasis) General.

Slides:



Advertisements
Similar presentations
DC Analysis Engr. Fahmi Samsuri, FKEE, UMP 4/6/2017.
Advertisements

Module #3 Page 1 EELE 414 – Introduction to VLSI Design Module #3 – SPICE Modeling Agenda 1.SPICE Modeling Announcements 1.Read Chapter 4.
EE 積體電路設計導論 Introduction to HSPICE
Differential Amplifiers and Integrated Circuit (IC) Amplifiers
12- Agenda Introduction 1 Verilog-A Modules 2 DAY 1 Synopsys 60-I-032-BSG-005 © 2007 Synopsys, Inc. All Rights Reserved Simulating Variability – Design.
Physical structure of a n-channel device:
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) lecture10 Prof. Sherief Reda Division of Engineering, Brown University Spring 2008.
Diodes and diode equation
Capacitor and Inductor Using PSpice First Edition: 18/8/09.
Digital Electronics Logic Families TTL and CMOS.
PSPICE Tutorial Spring 2015
PSpice Tutorial October 13, 2004 Franklin Chiang.
Predictably Low-Leakage ASIC Design using Leakage-immune Standard Cells Nikhil Jayakumar Sunil P. Khatri University of Colorado at Boulder.
PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to.
Introduction to SPICE. History  SPICE stands for Simulation Program with Integrated Circuit Emphasis  In 1960 ECAP was developed by a team of IBM programmers.
INTRODUCTION Spice Excel. SPICE Simulation Program with Integrated Circuit Emphasis.
Comparison of the Behavior of MOSFET Transistors Described in Hardware Description Languages Aravind Gurumurthy M.S Thesis Defense Presentation Committee.
Integrated Circuit Simulation Using SPICE David W. Graham Lane Department of Computer Science and Electrical Engineering West Virginia University © David.
What is Spice? Spice is the short form of: Simulated Program with Integrated Circuit Emphasis.
Computer Modeling of Electronic Circuits with LT SPICE PHYS3360/AEP3630 Lecture 20/21 1.
Introduction  SPICE is a general-purpose circuit simulation program for nonlinear DC, nonlinear transient, and linear AC analyses.  Circuits may contain.
Computer Aided Design Course 2. Setting up Analyses In order to measure a circuit performance, it is necessary to simulate its behavior. PSpice A/D is.
Introduction to PSpice R. E. Abdel-Aal February 2005.
EE141 Fall 2003 Discussion 1 Tips for Using SPICE.
Assignment IV E 3 Symposium The Implementation of Research Assignment Ping-Hsiu Lee Reagan High School, Houston I. S. D. Deborah Barnett Tidehaven High.
EE141 Spring 2003 Discussion 1 Tips for Using SPICE.
Logic Families Introduction.
SIMULATION OF AMPLIFIERS USING NGSPICE VISHNU V 2 nd Year M.Tech VLSI and Embedded Systems Govt. Model Engineering College, Thrikkakara TECHNICAL WORKSHOP.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 20.1 Field-Effect Transistors  Introduction  An Overview of Field-Effect.
Extension for High-Voltage Lateral DMOS Transistors
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering Circuit Design Verification.
Analog IC Design First – A OPAMP Design Example. Date: 15th NOV, 2007 報告人:何建興.
Islamic Azad University - Qazvin Branch1 HSPICE ® Introduction Autumn 2006.
Jan M. Rabaey The Devices Digital Integrated Circuits© Prentice Hall 1995 Introduction.
THE INVERTERS. DIGITAL GATES Fundamental Parameters l Functionality l Reliability, Robustness l Area l Performance »Speed (delay) »Power Consumption »Energy.
ECE 4991 Electrical and Electronic Circuits Chapter 8.
ECE122 – Digital Electronics & Design
EENG 2920: Circuit Design and Analysis Using PSpice Class 3: DC and Transient Analysis Oluwayomi Adamo Department of Electrical Engineering College of.
ECE 4991 Electrical and Electronic Circuits Chapter 4.
Lecture on PSpice. Introduction to SPICE  SPICE was originally developed at the University of California, Berkeley (1975).  Simulation Program for Integrated.
EE105 - Spring 2007 Microelectronic Devices and Circuits Prof. Ming C. Wu 261M Cory Hall.
Lumped versus Distributed: A component must be considered as distributed when the physical dimensions of an element become significant with respect to.
Optimization With HSpice. Before you start optimizing What are you optimizing for? –Linearity (as in an amplifier) –Gain –Frequency response –Drive ability.
Department of EECS University of California, Berkeley EECS 105 Fall 2003, Lecture 1 Lecture 1: Course Overview and Introduction to Phasors Prof. Niknejad.
1 Fundamentals of Microelectronics  CH1 Why Microelectronics?  CH2 Basic Physics of Semiconductors  CH3 Diode Circuits  CH4 Physics of Bipolar Transistors.
Delivering Success. Modeling 32 V Asymmetric LDMOS Using Aurora and Hspice Level 66 By Alhan Farhanah, Mohd Shahrul Amran, Albert Victor Kordesch Device.
HW (Also, use google scholar to find one or two well cited papers on symmetric models of MOSFET, and quickly study them.)
Objectives Understand the design environment and flow
EE141 Fall 2004 Discussion 1 Tips for Using SPICE.
Introduction to PSpice
Simulation Using WinSPICE David W. Graham Lane Department of Computer Science and Electrical Engineering West Virginia University © David W. Graham 2007.
1. Digital cmos.2 10/15 Figure 10.1 Digital IC technologies and logic-circuit families. Digital IC Technologies CMOS & Pass Transistor Logic dominate.
Introduction to IC Design
ECE122 – Digital Electronics & Design Tanner Tools Tutorial Ritu Bajpai September 4, 2008.
CMOS 2-Stage OP AMP 설계 DARK HORSE 이 용 원 홍 길 선
Lab 1 LTspice Intro EC538 Selected Topics in Electronics 1 Eng. Nihal Tawfik.
PRESENTATION ON TANNER TOOL CHAPTER - 6 DEVICE STATEMENT FOR T-SPICE CIRCUIT LANGUAGE.
Analog Integrated Circuits Lecture 1: Introduction and MOS Physics ELC 601 – Fall 2013 Dr. Ahmed Nader Dr. Mohamed M. Aboudina
Introduction to LTspice IV
ECE 4991 Electrical and Electronic Circuits Chapter 4
EMT 251 SPICE NETLIST.
Review for Final Exam MOSFET and BJT Basis of amplifiers
VLSI Testing Lecture 5: Logic Simulation
INTRODUCTION Spice Excel.
Optimization With HSpice
INTRODUCTION Spice.
Chapter 1 Introduction to Electronics
Introduction to HSPICE
Lecture 8: SPICE Simulation
Lecture 8: SPICE Simulation
Presentation transcript:

EMT 251 SPICE NETLIST

Introduction SPICE (Simulation with Integrated Circuits Emphasis) SPICE (Simulation with Integrated Circuits Emphasis) General purpose circuit simulator which widely used in microelectronics industry General purpose circuit simulator which widely used in microelectronics industry Developed at University of California Berkeley Developed at University of California Berkeley Many variants e.g. HSPICE, PSPICE etc. Many variants e.g. HSPICE, PSPICE etc. Uses a simple netlist format for data input Uses a simple netlist format for data input Most manufacturers provide SPICE models as an essential for CAD tool Most manufacturers provide SPICE models as an essential for CAD tool Knowledge of various device parameters are essential for performing detailed circuit simulations and for optimizing design Knowledge of various device parameters are essential for performing detailed circuit simulations and for optimizing design

Cont… SPICE had three built-in MOSFET models: SPICE had three built-in MOSFET models: Level 1 (MOS1) >> described by square-law current- voltage characteristics Level 1 (MOS1) >> described by square-law current- voltage characteristics Level 2 (MOS2) >> detailed analytical MOSFET model Level 2 (MOS2) >> detailed analytical MOSFET model Level 3 (MOS3) >> semi-empirical model Level 3 (MOS3) >> semi-empirical model Recently, BSIM3 (Berkeley Short-Channel IGFET Model) ver. has been added to allow more accurate characterization of sub-micron MOSFET characteristics Recently, BSIM3 (Berkeley Short-Channel IGFET Model) ver. has been added to allow more accurate characterization of sub-micron MOSFET characteristics

SPICE Netlist Flow Chart

Advantages Improved memory utilisation Improved memory utilisation Improved convergence for numerical algorithms Improved convergence for numerical algorithms Improved accuracy Improved accuracy Improved execution speed Improved execution speed Can be used for mixed mode simulation Can be used for mixed mode simulation

Basic Concept Circuits for SPICE simulation are described: Circuits for SPICE simulation are described: The elements of the circuit (voltage, current, resistors, capacitors, transistors etc.) The elements of the circuit (voltage, current, resistors, capacitors, transistors etc.) A list of the nets/nodes (can be assigned names or numbers depending on the specific software used) A list of the nets/nodes (can be assigned names or numbers depending on the specific software used) Example: Example: circuit’s element list of nodes

Element Line Descriptions Voltage Source Voltage Source Vxx +node -node DC value Current Source Current Source Vxx +node -node DC value Resistor Resistor Rxx node1 node2 value Capacitor Capacitor Cxx node1 node2 value Diode Diode Dxx +node -node model_name plus other optional parameters Bipolar Transistor Bipolar Transistor Qxx collector base emitter model_name plus other optional parameters MOS Transistor MOS Transistor Mxx drain gate source bulk model_name plus other optional parameters Note: parameters in <> are optional and not required for simulation. Note: parameters in <> are optional and not required for simulation.

Analysis Descriptions SPICE can perform a variety of types of analysis on a circuit: SPICE can perform a variety of types of analysis on a circuit: Transient Analysis Transient Analysis.TRAN TSTEP TSTOP.TRAN TSTEP TSTOP TSTEP is the time step used between analysis points, and the smaller the value is, the more resolution you will get in your simulation. A typical value is 1nsec. TSTEP is the time step used between analysis points, and the smaller the value is, the more resolution you will get in your simulation. A typical value is 1nsec. TSTOP is the time when you want your transient analysis to stop. This value will depend on the frequency of your input signal(s) and the time it takes for your circuit to produce its final output. TSTOP is the time when you want your transient analysis to stop. This value will depend on the frequency of your input signal(s) and the time it takes for your circuit to produce its final output. TSTART is used if you want the analysis to start at some time other than Time=0. TSTART is used if you want the analysis to start at some time other than Time=0. TMAX is used to set the largest step time that will be used. This parameter is typically not needed. TMAX is used to set the largest step time that will be used. This parameter is typically not needed.

Cont.. DC Analysis DC Analysis Use a DC analysis if you want to view the response of the circuit when a source (voltage or current) sweeps between two DC values. The command and parameters are: Use a DC analysis if you want to view the response of the circuit when a source (voltage or current) sweeps between two DC values. The command and parameters are:.DC Source_name START STOP STEP Source_name is the name of the source that will be swept. Source_name is the name of the source that will be swept. START and STOP are the beginning and ending values of the sweep. START and STOP are the beginning and ending values of the sweep. STEP is the increment value used during the sweep. STEP is the increment value used during the sweep.

Cont.. AC Analysis AC Analysis To sweep all AC sources across a range of frequencies, use the.AC command. To sweep all AC sources across a range of frequencies, use the.AC command..AC Lin/Dec/Oct N FSTART FSTOP FSTART and FSTOP are the beginning and ending frequencies of the AC analysis. FSTART and FSTOP are the beginning and ending frequencies of the AC analysis. Select either Lin, Dec, or Oct for a linear, decade, or octave scaled sweep with N points analyzed. Select either Lin, Dec, or Oct for a linear, decade, or octave scaled sweep with N points analyzed.

SPICE Units The default units for SPICE are volts, amps, ohms, farads, henries, watts etc. You can specify values in decimal form, , or exponential form, 5.6e-3. SPICE also recognizes the following abbreviations: abbreviations: fE-15femto pE-12pico nE-9nano uE-6micro mE-3milli mE-3milli kE+3kilo megE+6mega gE+9giga tE+12tera For clarity you can add letters to the abbreviation as in 1U or 1UFARADS and both are read as the value 1e-6.. SPICE processes the first letter after the number and ignores the rest.

SPICE Netlist for inverter.global VDD GND.connect GND 0.lib /EDA/Mentor-training-ADK/technology/accusim/tsmc035.mod NOM.probe tran V.TRAN 0 400ns 1ns.subckt circuit portin portout MN1 DRAIN GET SOURCE BULK p L=0.4u W=1u MN2 DRAIN GET SOURCE BULK n L=0.4u W=1u.ends circuit.subckt inv in out MN1 out in VDD VDD p L=0.4u W=1u MN2 out in GND GND n L=0.4u W=1u.ends inv X13 portin portout circuit VOL1 VDD GND DC 5V VOL2 in GND PWL (0ns 0 100ns 0 101ns 5V 200ns 5V 201ns 0 300ns 0) X13 in out inv VOL1 VDD GND DC 5V VOL2 in GND PWL (0ns 0 100ns 0 101ns 5V 200ns 5V 201ns 0 300ns 0).end Format

Exercise (Write Netlist) 1.2.

Solution Answer 1: Answer 1:.global VDD GND.connect GND 0.lib /EDA/Mentor-training-ADK/technology/accusim/tsmc035.mod NOM.probe tran V.TRAN ns 1ns.subckt exercise1 A B OUT MP1 node1 A VDD VDD pmos L=0.4u W=1u MP2 OUT B node1 VDD pmos L=0.4u W=1u MN1 OUT A GND GND nmos L=0.4u W=1u MN2 OUT B GND GND nmos L=0.4u W=1u.ends inv X1 A B OUT exercise1 VOL1 VDD GND DC 5V VOL2 A GND PWL (0ns 0 100ns 0 101ns 5V 200ns 5V 201ns 0 300ns 0) VOL3 B GND PWL (0ns 0 100ns 0 101ns 5V 200ns 5V 201ns 0 300ns 0).end

Solution Question 2: Question 2:

Solution Answer 2: Answer 2:.global GND.connect GND 0.lib /EDA/Mentor-training-ADK/technology/accusim/tsmc035.mod NOM.probe tran V.TRAN ns 1ns V1 1 GND DC 5 R k R R3 3 GND 100meg C1 2 GND 100p V1 VDD GND DC 5V.plot DC v(2,3).end

POP QUIZ