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

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

EECS 312: Digital Integrated Circuits Lab Project 2 Extracting Electrical and Physical Parameters from MOSFETs. Teacher: Robert Dick GSI: Shengshuo Lu

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

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

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

Introduction to PSpice

EEC 116 Fall 2011 Lab #2: Analog Simulation Tutorial

Faculty of Engineering 4 th Year, Fall 2010

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

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

ENGI0531 Lab 2 Tutorial

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

Ansoft Designer Tutorial ECE 584 October, 2004

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

A Brief Handout for Introduction to

LTSpice Basic Tutorial

Lab 3: Circuit Simulation with PSPICE

ETI063 - Analogue IC Design Laboratory Manual

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 4 SINGLE STAGE AMPLIFIER

An Introductory Guide to Circuit Simulation using NI Multisim 12

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Figure 1: Electronics Workbench screen

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

LAB-2 (Tutorial) Simulation of LNA (Cadence SpectreRF)

Introduction to NI Multisim & Ultiboard Software version 14.1

ELEC3106 Electronics. Lab 4: EMI simulations with SPICE. Objective. Material. Simulations

LAB EXERCISE 3 FET Amplifier Design and Linear Analysis

EDA-BASED DESIGN PRACTICAL LABORATORY SESSION No. 4

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

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

ETIN25 Analogue IC Design. Laboratory Manual Lab 2

BIO 365L Neurobiology Laboratory. Training Exercise 1: Introduction to the Computer Software: DataPro

ECE 683 Project Report. Winter Professor Steven Bibyk. Team Members. Saniya Bhome. Mayank Katyal. Daniel King. Gavin Lim.

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

Getting Started with Cadence

EE 210 Lab Exercise #3 Introduction to PSPICE

Course Project Topic: RF Down-Conversion Chain Due Dates: Mar. 24, Apr. 7 (Interim reports), Apr. 28 (Final report)

LT Spice Getting Started Very Quickly. First Get the Latest Software!

Experiment 2 Introduction to PSpice

Schematic and Layout Simulation Exercise

OrCAD PSpice - Tutorial. TA: 黃玉龍

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

Introduction to VLSI design using Cadence Electronic Design Automation Tools

EE140: Lab 5, Project Week 2

Lab 3: Very Brief Introduction to Micro-Cap SPICE

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

Curve Tracer Laboratory Assistant Using the Analog Discovery Module as A Curve Tracer

EE 2274 MOSFET BASICS

Introduction to SwitcherCAD

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

MultiSim and Analog Discovery 2 Manual

PSPICE T UTORIAL P ART I: INTRODUCTION AND DC ANALYSIS. for the Orcad PSpice Release 9.2 Lite Edition

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 2 ACTIVE FILTERS

Operational Amplifiers: Theory and Design

Introduction to LT Spice IV with Examples

Introduction to Pspice

FACULTY OF ENGINEERING LAB SHEET ENT 3036 SEMICONDUCTOR DEVICES TRIMESTER

Time Domain Reflectometer Example

Submission date: Wednesday 21/3/2018

Course Project Topic: RF Down-Conversion Chain Due Dates: Mar. 27, Apr. 15 (Interim reports), May. 11 (Final report)

Introduction to SPICE. Simulator of Electronic devices

Circuit Shop v December 2003 Copyright Cherrywood Systems. All rights reserved.

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering

LNA Design Using SpectreRF. SpectreRF Workshop. LNA Design Using SpectreRF MMSIM6.0USR2. November

EE140: Lab 5, Project Week 2

VCO Design Using SpectreRF. SpectreRF Workshop. VCO Design Using SpectreRF MMSIM6.0USR2. November

Excel Lab 2: Plots of Data Sets

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

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit

PSPICE tutorial: MOSFETs

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

Week 9: Series RC Circuit. Experiment 14

Laboratory Project 1: AC Circuit Measurements and Simulation

EE 221 L CIRCUIT II. Learn to use LTspice to run circuit simulations for voltage, current, etc.

Electric Circuit Fall 2015 Pingqiang Zhou. ShanghaiTech University. School of Information Science and Technology. Professor Pingqiang Zhou

Lab #2 First Order RC Circuits Week of 27 January 2015

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

Elad Alon HW #1: Circuit Simulation EECS 141 Due Thursday, Aug. 30th, 5pm, box in 240 Cory

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

FPGA SI Tutorial - Simulating the Reflection Characteristics

EXPERIMENT 9 Problem Solving: First-order Transient Circuits

Excel Tool: Plots of Data Sets

Lab 5: MOSFET I-V Characteristics

Lab 5: MOSFET I-V Characteristics

Laboratory #2 PSpice Analyses

DIGITAL VLSI LAB ASSIGNMENT 1

Mentor Analog Simulators

Simulating Circuits James Lamberti 5/4/2014

Lab 6: MOSFET AMPLIFIER

Chapter 12: Electronic Circuit Simulation and Layout Software

FACULTY OF ENGINEERING LAB SHEET

FACULTY OF ENGINEERING LAB SHEET

Using LTspice a Short Intro with Examples

E85: Digital Design and Computer Architecture

Class #6: Experiment The 555-Timer & Pulse Width Modulation

Lehrstuhl für Technische Elektronik. Mixed-Signal IC Design LAB

Revised: Summer 2010

EXPERIMENT 2. NMOS AND BJT INVERTING CIRCUITS

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

Transcription:

EECS 312: Digital Integrated Circuits Lab Project 1 Introduction to Schematic Capture and Analog Circuit Simulation Teacher: Robert Dick GSI: Shengshuo Lu Assigned: 5 September 2013 Due: 17 September 2013 1 Introduction In this laboratory assignment, you will specify a CMOS inverter driving a resistive capacitive (RC) load that using Cadence schematic capture software. You will then conduct analog simulation of the inverter. 1.1 Goal for Friday Make sure you can get started using the CAD tools during Friday s help session. However, if you get confused about the technical details in the assignment after that, it is fine to call it a day and wait until after Tuesday s lecture before finishing the assignment. We are using the Friday help session to make sure nobody will get stuck with software or account configuration glitches but the technical ideas in the assignment won t be covered until Tuesday. However, if you feel confident about finishing the assignment after Mr. Lu s talk, give it a try! 2 Tutorial Before you design your own inverter, I will first walk you through the design of an NMOSFET with an RC load. You do not need to hand in anything from this section of the assignment. However, you will need to use these concepts when completing the assignment: the design of a (more complex) CMOS inverter. 1. Log into a Linux CAEN lab machine. If the machine is currently running Windows, restart it to boot into Linux. If you do not have a preferred window manager, use Gnome or KDE. 2. Start a shell, e.g., select Applications Accessories Terminal. 3. Type module load eecs312/f13. This sets all of the required environment variables. 4. Type prep312 and set up the symbolic link, set up the kit directory, and move you into that kit directory (second line). 5. Start the Cadence software icfb If you need to execute shell commands while this is running, start another shell. 1

6. You will now create a new library and create a NMOS-based inverter within it. If the Library Manager did not open automatically, from the icfb software, start it Tools Library Manager. 7. Create a new library File New Library. Give it the name proj1. Click OK. 8. In the Technology File for New Library popup, attach the library to an existing techfile, NCSU TechLib tsmc03d. 9. From within the proj1 library window, create a new inverter. Make sure proj1 is selected and then File New Cell view. Name it nmos-inverter. The Virtuoso schematic capture software will now start. 10. Enter the circuit shown in Figure 1. This is an NMOS-based inverter. If you want to understand the operation of the circuit, recall from class that an NMOSFET is on when its V gs is higher than its threshold voltage. 2

Figure 1: Schematic for NMOS with an RC load. To do this, you will need to use the icons to the left of the window. Move the mouse pointer over them and read the tooltips. (a) Place the resistor. Models for all the components needed are in the NCSU Analog Parts library. To instantiate the resistor, click the Instance icon on the left toolbar. 3

Table 1: Component Categories and Names Part Category Component Resistor R L C res Capacitor R L C cap NMOS Transistor N Transistors nmos Supply Voltage Supply Nets vdd Ground Supply Nets gnd DC Voltage Source Voltage Sources vdc Pulse Voltage Source Voltage Sources vpulse Table 2: Component Parameters Part Parameter (Units) Value Resistor Resistance (Ohms) 10K Capacitor Capacitance (F) 250f NMOS Transistor Width (M) 480n Length (M) 240n DC Voltage Source DC Voltage (V) 2.5 Pulse Voltage Source Voltage 1 (V) 0 Voltage 2 (V) 2.5 Delay (s) 1n Rise Time (s) 100p Fall Time (s) 100p Pulse Width (s) 4n Period (s) 10n (b) Models for all the components needed are in the NCSU Analog Parts library. Select this library. (c) Select the R L C category. (d) Select the res component from the list and place it on the schematic. Press ESC to close the Add Instance window. Leave the default parameter values. These will be changed later. (e) Add the six other components in a similar fashion. Table 1 lists the categories and components names. (f) Add the output pin. Click on the Pin icon on the left toolbar. Set the pin name to Vout, the direction to Output, and place the pin on the schematic. (g) Connect all the components as shown in Figure 1 using a wire, the Wire (narrow) icon on the left toolbar. Click the left mouse button (LMB) to start the wire, and double-click the LMB to complete it. While drawing a wire, a vertex or turn can be specified by single-clicking the LMB. (h) Set the correct parameter values for each of the components. The properties of each component can be edited by selecting the component (single-click with the LMB) and pressing the q key. Table 2 lists the parameters that need to be changed. Mr. Lu and I will explain these parameters to you in the help session, and in Tuesday s lecture. (i) Your schematic figure should now match the one show in Figure 1. If it does not, make the appropriate corrections. (j) The final step is to save the design. Click the Check and Save button on the left toolbar. If successful, you will see a Schematic check completed with no errors message in the icfb-log window. If there are errors or warnings, try to correct the underlying problem(s). Note: It is advisable to Check and Save frequently, especially for larger circuits. 4

11. For simulations, you will always need to perform the following tasks: Define and set up the analysis (either DC, AC, or Transient) Define currents and/or voltages to be saved Define any measurements, such as power consumption or delay In this lab, we will be conducting a transient (time-domain) analysis of the circuit, and observing its behavior as it responds to a varying input signal. In SPICE, there are three main simulation modes: DC, small signal AC, and Transient. In this class, we will be using mostly DC and Transient analyses. DC analysis determines what the circuit would eventually do if a particular set of inputs were applied and one waited a very long time (i.e., allow time to proceed toward infinity). It calculates the steadystate response of the circuit to the given inputs. Transient analysis determines the time-dependent response of a circuit to varying input signals. 12. Setup the Transient analysis. On the Virtuoso Schematic Editor, click on Tools Analog Environment. This will launch the Virtuoso Analog Design Environment (ADE) window. 13. On the righthand toolbar, click on the Choose Analysis icon. 14. In the window that appears, make sure that only the tran button is checked. Click Choose analysis Options. Enter From 0n to 10n By 0.1n. Ignore the Max Step box. Click OK. 15. In the ADE window, click on the Run Simulation icon on the righthand toolbar. Wait for the simulation to end. The icfb-log window will display status messages regarding the simulation. If the simulation is unsuccessful, verify that the parameters for the vpulse component were set correctly. 16. View the results in the waveform viewer. In the ADE window, click on Results Direct Plot Transient Signal. Go back to the schematic and single-click on the wire connected to the Vout pin and single-click on the wire connected to the gate of the nmos transistor. Press ESC. A window with waveforms will popup. 17. The two waveforms will be overlapping. To see them individually, click on Axis Strips. You should see a waveform similar to Figure 2. 18. Perform a sweep analysis to show the role of the resistance in the circuit. A sweep analysis will run a simulation for each value of an instance that is being swept. The sweep is created by specifying a start and end value for a given parameter, along with a number of points or a value by which to increment. If possible, try to limit the number of points so that the simulation results do not consume a large amount of disk space. Please also keep in mind that this type of analysis should not be used to make a 5

Figure 2: Input output waveforms of the resistive load NMOS inverter. voltage-transfer characteristic plot (VTC) or an I V curve. For those, you will be using a DC analysis, which will solve for a steady-state operating point in your circuit. You will be sweeping the value of the resistor to find out how the circuit behaves as the resistance changes. 19. Exit the waveform viewer and return to the schematic. Do not exit the ADE window. If you accidently you do exit it, you will need to repeat steps 12 14. 20. Change the resistance parameter for the resistor from 10K to a variable, e.g. r. 21. Check and Save the design. In the ADE window, click on Variables Copy from Cellview 22. Click on Tools Parametric Analysis. Enter the Variable Name as r and specify the Range Type from 5K to 20K. Change the Step Control from Auto to Linear Steps and set the step size to 5K. 6

23. In the Parametric Analysis window, click Analysis Start to begin the parametric analysis. 24. Plot the results using instructions 16 17. There will be four different pairs of waveforms, one for each value of r. 25. Separate windows or subplots can be created by selecting Trace New Graph (Move New SubWindow Move New Window). The separate plot lines can be moved to the new windows simply by left clicking and dragging the plot line to the new window. 26. Relabel the title of each window to Transient Analysis with Resistor Value of r, where r is the value of that specific sweep iteration. The axis and title can be changed by double clicking on the corresponding label. A new windows will appear. The labels can be changed by editing the label or string field for the axis and title respectively. 27. Markers can be added by clicking on Marker Place Vert Marker and the clicking on one of the waveforms. There are also Cursors available in the Trace menu. Play around with both of these and get comfortable using them. You ll be needing them extensively for future labs and your final project. 3 Your assignment Design, enter, and simulate a CMOS inverter using a similar approach to that described in the tutorial. Use the same load and stimulus as described in the tutorial. Make the PMOSFET twice as wide as the NMOSFET. Please submit hardcopies of the deliverables or submit them via the website (Grades and report submission). You may use screenshots or print to files. Deliverables: 1. The schematic for the inverter. 2. Time simulation timing diagram. 3. A brief write-up in the email indicating any significant design challenges or design tool software problems you overcame. This can be very short, or quite long, depending on the number of problems you encountered during the assignment. 7