CPSC330 Digital Logic Design Peiyi Zhao Chapman University 2009

Slides:



Advertisements
Similar presentations
Time Sheet Training Press the F5 Key to view the Presentation. It may be helpful to have a printed copy of this slide presentation for the practice sessions.
Advertisements

Module 1: BLOCK 1 / MAIN MENU
1 Application Software Course Simulink By: Mahdi Akbari 2010.
From Paper to Pixels to Vectors Evolution of a Flash cartoon character.
1 WORKING WITH 2007 WORD Part 1 Developed October 2007 with lots of help from.
Getting Started with Microsoft Office 2007
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 2 Getting Started.
BASIC SKILLS AND TOOLS USING ACCESS
Introduction to Metview
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 2 1 Microsoft Office Word 2003 Tutorial 2 – Editing and Formatting a Document.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Child Health Reporting System (CHRS) How to Submit VHSS Data
Making A Slide Show 1.CLICK -- Start 2.CLICK -- Programs 3.CLICK -- Microsoft Power Point 4.Blank presentation box highlighted CLICK -- OK 5. CLICK --
Word Lesson 6 Working with Graphics
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Windows XP Project An Introduction to Microsoft Windows XP and Office 2003.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Working with Access Microsoft Office Access 2003 Chapter 1.
Inspiration. Copyright Acadia Institute for Teaching and Technology Acadia University, Wolfville, NS, Canada, B0P 1X0 Tel. (902) , Fax (902)
Microsoft Office 2010 Basics and the Internet
Variables Conditionals Boolean Expressions Conditional Statements How a program produces different results based on varying circumstances if, else if,
South Dakota Library Network ALEPH v20 Tables © South Dakota Library Network, 2012 ©Ex Libris (USA), 2009 Modified for SDLN Version Last Update:
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Lesson 7: Using Tables Courseware #: 3240
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Review Chapter 11 - Tables © 2010, 2006 South-Western, Cengage Learning.
EE466: VLSI Design Lecture 7: Circuits & Layout
CMOS Circuits.
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Static CMOS Circuits.
Digital Logical Structures
EE 414 – Introduction to VLSI Design
Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.
Chapter 3 Digital Logic Structures
ECE 3130 – Digital Electronics and Design
First Steps using AutoDESK Inventor
XP New Perspectives on Introducing Microsoft Office 2003 Tutorial 1 1 Using Common Features of Microsoft Office 2003 Tutorial 1.
Lesson 8: Working with Illustrations Courseware #: 3240
Benchmark Series Microsoft Excel 2013 Level 2
CREATING A PAYMENT REQUEST FOR A NEW VENDOR
OCFS Data Warehouse Basic Training
1 POWERPOINT May 2004 To move the text box - move the mouse over the border of the text box, and once the 4-way arrow appear – click and drag the box.
Formatting and Editing Skills
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
IG Pro & CMS.
25 seconds left…...
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Lesson 15 Working with Tables
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
Benchmark Series Microsoft Excel 2013 Level 2
Microsoft Word 2010 Lesson 1: Introduction to Word.
VLSI Layout using Microwind
Boardmaker 6 Basic Tutorial
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 4 - Layout &
CMOS Invertors Lecture #3. Step 1: Select Foundary.
VLSI Lab References I am grateful for the contributions from SEMATECH, the Austin Community College, and MKS Instruments. For further reading, I especially.
L-EDIT Tutorial EEL 4310.
Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.
ECE122 – Digital Electronics & Design
1 Euler Graph Using Euler graph to draw layout. 2 Graph Representation Graph consists of vertices and edges. Circuit node = vertex. Transistor = edge.
Synopsys Custom Designer Tutorial for a chip integration using the University of Utah Standard Cell Libraries In ON Semiconductor 0.5u C5 CMOS Version.
STICK DIAGRAM EMT251. Schematic vs Layout In Out V DD GND Inverter circuit.
STICK DIAGRAM EMT251. Schematic vs Layout In Out V DD GND Inverter circuit.
Purpose of design rules:
Introduction to Drafting and Design In order to begin our drawing we have to set the drawing limits or the paper size.
Norhayati Soin 05 KEEE 4425 WEEK 7/1 23/8/2005 LECTURE 9: KEEE 4425 WEEK 7 CMOS LAYOUT AND STICK DIAGRAM (Cont’d)
Magic Mask Artwork Generator for Integrated Circuits - from U.C. Berkeley Magic is a interactive system for creating and modifying VLSI Circuit Layouts.
ECE122 – Digital Electronics & Design Tanner Tools Tutorial Ritu Bajpai September 4, 2008.
Stick Diagrams Stick Diagrams electronics.
Presentation transcript:

CPSC330 Digital Logic Design Peiyi Zhao Chapman University 2009 Design Inverter (NOT logic) using Layout Editor: Magic

CMOS transistor layers and model Basic layout Magic layout tool tutorial(with NOT gate as an example)

MOS transistor is a sandwich of several layers of conducting and insulation materials. Red : gate Green: n+ type Brown: p+ type

Red : gate Green: n type(negative type) source drain n type n type

Gate +5 v Red : gate Green: n type(negative type) source drain n type n type NMOS 门gate上加 电源电压后,吸引了负电荷堆积在source ,drain 两极间,使该 两极间产生通道,NMOS 就导通了 +5 v NMOS Transistor is ON when applying positive voltage on its gate, attracting negative charges to accumulate between two n type area 0 v Transistor is OFF when applying ‘O’ voltage on its gate 6

NMOS: input on gate= 1, NMOS on = 0, NMOS off PMOS : opposite to NMOS (note:a small circle o on symbol) input on gate =0, PMOS on =1, PMOS off

Inverter 反相器 input output 1 Input=1, NMOS on, PMOS off Supply voltage PMOS Output has a path to Supply voltage through PMOS output output =0 input output =1 PMOS Ground Output has a path to ground through NMOS input output 1 Truth table:it shows the design is inverter

NAND 与非门 If input1=0, or input2=0, both NMOS are OFF, but one PMOS will be ON. output has path to Supply voltage,so output=1 If input1=1, input2=1, both NMOS are ON, output has path to ground. So output=0 Supply voltage PMOS PMOS Supply Voltage PMOS Input 1 Input 2 Input 2 output Input 1 output Input 1 Input 2 Input 2 NMOS NMOS Ground Ground Input1 Input2 Output 1 Out=In1 NAND In2 Truth table: shows it is exactly NAND logic

Dual design: 举例:NOR与或门:NMOS 并联时,PMOS对偶的部分 串联DDual Design: PMOS in serial, NMOS in Parallel; If input1=0, or input2=0, both NMOS are OFF, but one PMOS will be ON. output has path to Supply voltage,so output=1 Supply voltage Supply Voltage PMOS PMOS Input 1 Input 2 output NMOS Input 1 Input 2 Input1 Input2 Output 1 Out=In1 NOR In2 Ground Truth table: shows it is exactly NOR logic

Side View Top view , turn clockwise 90

Side View Top view , turn clockwise 90

Stick Diagram: Red: poly Green:Diffusion(n type or p-type): Blue:metal

Basic Unix commands cd my_directory (go to the directory) ls my_directory (list) cp (copy) pwd : present working directory mv my_file my_another_directory (move file) mv old_file_name new_file_name (rename) rm file_name (remove file) find . –name “myExample.txt” –print grep text files mkdir myDirectory (create new directory) passwd: change passwd chmod 711 ~: change permission Tip:do not use ftp to transfer files, since ftp does not have encryption of your password; use ssh instead. Good link: http://userwww.sfsu.edu/~necrc/files/server%20connection%20tutorials/Basic_Unix_Commands.pdf by Hamid Mahmoodi

Magic layout tool Developed by UC Berkeley Being used in Stanford, MIT, USC,etc

In command line, type mkdir tutorial cd tutorial Type in command line: magic tutorial One graphic window will pop out(Note: you have one text window, one graphic window respectively now, your cursor should point to the graphic window always). Next time, if you already have tutorial.mag file, do not include .mag in above command; In text window, type colon ”:” to invoke command: :grid 1 If you type colon, you must enter command and carriage before doing anything else. Shape of cursor: when you press SPACE, 4 shapes toggles: cross, arrow, square, hand. Currently we are using cross shape for position rectangular area for a layer. If you unintentionally press the SPAC, and the cursor shape is not cross, then press SPACE as many times as needed till the cross appears. Left click of the mouse button on the window to determine the lower left corner of the layer area, move cursor and right click for the upper right corner. A box will appear.

1. First paint p+ type (brown color), with width 4 units :paint pdiff 2. Paint gate which is polysilicon (red), with width: 2, on top of p+ type :paint poly 3.Similarly paint n+ type(green) :paint ndiff Width:4 units

Connect the gates(red)

Paint : metal (blue color) :paint m1 Paint : metal to p+ (pdiffution ) contact :paint pdc Paint :metal to n+ (ndiffution ) contact :paint ndc Paint : metal (blue color) :paint m1 If white dots appear, those are errors. Box white dot area, type :drc why (design rule check) You will get error message

Add more metal(for supply voltage) :paint m1 Tip: frequently save your design, type :save

Paint gate(poly) to metal contact(purple) :paint polycontact

Inverter Layout: Final View Paint nwell (diagonal lines) :paint nw

Inverter Layout: another way : poly is vertical Paint gate(poly) to metal contact(purple) :paint polycontact Nwell-contact: paint nwc P+: paint pdiff or :paint brown p-contact: paint pdcontact Gate, poly: paint poly or red n-contact :paint ndiff N+: paint ndiff or :paint green metal: paint m1 Psubstrate-contact :paint pwc

Label names: move cursor to point of the layer you want to add label,left click then right click at the same position, then type :label myLabel for example, :label in :label out :label Vdd :label gnd in out

NAND: what is missing

Once you finish your design, type :save You will find a file named tutorial.mag in your directory. To open this magic file, type :magic tutorial (not :magic tutorial.mag) Finally type cd .. will bring you up one level to your home directory. Suppose you will design a NAND, first create directory by type mkdir NAND cd NAND magic NAND it will open a new magic layout window.

Other commands: select area short key: a undo short key: u delete view short key:v, V zoom short key:z,Z 5: the key on the right panel on the key board, center the area your box positioned. Other key nearby with arrow can be used to move the layout. save quit (to exit) drc why Tips After you are familiar with the layers, you can use shortcut keys and colors, like : pai red is the same as : paint poly You should point your cursor to the layout window when you type your command in the text window. . dot is to repeat the previous command (compare in Unix: use up, down, left, right arrow ) moving: select an area, type ‘a’, move that part using 4 arrows(up, down, left, right) on the right most part on the key board. copy: select an area, move your cure to another point, press ‘c’ in your keyboard paint: draw a box, if you want to paint metal, move your cursor to metal that in already in your layout, and press middle button

Links: Magic brief overview http://vlsi.ece.iit.edu/scells/ece429/MAGIC1x.html Step by Step layout example of an inverter: http://www.ece.umd.edu/~newcomb/vlsi/magic_tut/Magic_x3.doc Magic inverter tutorial http://vlsi.ece.iit.edu/scells/magic/