1 The Mudd ][: A 6502 Microprocessor Implementation E158 Introduction to CMOS VLSI Design May 7, 2008.

Slides:



Advertisements
Similar presentations
VHDL Design of Multifunctional RISC Processor on FPGA
Advertisements

CSE 201 Computer Logic Design * * * * * * * Verilog Modeling
1 Brief Introduction to Verilog Weiping Shi. 2 What is Verilog? It is a hardware description language Originally designed to model and verify a design.
1 Pertemuan 9 Verilog HDL Matakuliah: H0362/Very Large Scale Integrated Circuits Tahun: 2005 Versi: versi/01.
1 Cleared for Open Publication July 30, S-2144 P148/MAPLD 2004 Rea MAPLD 148:"Is Scaling the Correct Approach for Radiation Hardened Conversions.
Introduction to CMOS VLSI Design Lecture 10: Sequential Circuits David Harris Harvey Mudd College Spring 2004.
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
Design Goal Design an Analog-to-Digital Conversion chip to meet demands of high quality voice applications such as: Digital Telephony, Digital Hearing.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4a1 Design for Testability Theory and Practice Lecture 4a: Simulation n What is simulation? n Design.
Kazi Spring 2008CSCI 6601 CSCI-660 Introduction to VLSI Design Khurram Kazi.
Behavioral Synthesis Outline –Synthesis Procedure –Example –Domain-Specific Synthesis –Silicon Compilers –Example Tools Goal –Understand behavioral synthesis.
Low Voltage Sequential Circuit With a Ring Oscillator Clock ELEC 6270 Low power design of Electronic Circuits Spring, 2009 Presented by Mridula Allani.
Aug. 24, 2007ELEC 5200/6200 Project1 Computer Design Project ELEC 5200/6200-Computer Architecture and Design Fall 2007 Vishwani D. Agrawal James J.Danaher.
Spring 08, Jan 15 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
[M2] Traffic Control Group 2 Chun Han Chen Timothy Kwan Tom Bolds Shang Yi Lin Manager Randal Hong Wed. Oct. 22 Overall Project Objective : Dynamic Control.
1 Simple FPGA David, Ronald and Sudha Advisor: Dave Parent 12/05/2005.
Spring 07, Jan 16 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
Huffman Encoder Project. Howd - Zur Hung Eric Lai Wei Jie Lee Yu - Chiang Lee Design Manager: Jonathan P. Lee Huffman Encoder Project Final Presentation.
1 Team M1 Enigma Machine 3rd May, 2006 Adithya Attawar (M11) Shilpi Chakrabarti (M12) Mike Sokolsky (M14) Design Manager: Prateek Goenka Adithya Attawar.
1 DESIGN OF 4-BIT ALU Fairchild Semiconductor DM74LS181 Prashanth Kommuri Akram Khan Gopinath Akkinepally Advisor: Dr. David W. Parent 5 December 2005.
IMPLEMENTATION OF µ - PROCESSOR DATA PATH
Encryption Transaction with 3DES Team W2 Yervant Dermenjian (W21) Taewan Kim (W22) Evan Mengstab(W23) Xiaochun Zhu(W24) Objective: To implement a secure.
Advisor: Prof. David W. Parent Presentation Date: 12/05/05
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
1 DESIGN OF 8-BIT ALU Vijigish Lella Harish Gogineni Bangar Raju Singaraju Advisor: Dr. David W. Parent 8 May 2006.
1 4 BIT Arithmetic Logic Unit (ALU) Branson Ngo Vincent Lam Mili Daftary Bhavin Khatri Advisor: Dave Parent DATE: 05/17/04.
ELEN468 Lecture 11 ELEN468 Advanced Logic Design Lecture 1Introduction.
[M2] Traffic Control Group 2 Chun Han Chen Timothy Kwan Tom Bolds Shang Yi Lin Manager Randal Hong Wed. Oct. 20 Overall Project Objective : Dynamic Control.
1 8 Bit ALU EE 166 Design Project San Jose State University Roger Flores Brian Silva Chris Tran Harizo Yawary Advisor: Dr. Parent May 2006.
ELEN468 Lecture 11 ELEN468 Advanced Logic Design Lecture 1Introduction.
Design methodology.
1 VERILOG Fundamentals Workshop סמסטר א ' תשע " ה מרצה : משה דורון הפקולטה להנדסה Workshop Objectives: Gain basic understanding of the essential concepts.
Evolution in Complexity Evolution in Transistor Count.
Registers CPE 49 RMUTI KOTAT.
ASIC Design Flow – An Overview Ing. Pullini Antonio
Introduction to VLSI Design – Lec01. Chapter 1 Introduction to VLSI Systems Lecture # 10 MIPS Processor Example Material taken/adapted from.
Basics of Energy & Power Dissipation Lecture notes S. Yalamanchili, S. Mukhopadhyay. A. Chowdhary.
Slide No. 1 Course: Logic Design Dr. Ali Elkateeb Topic: Introduction Course Number: COMP 1213 Course Title: Logic Design Instructor: Dr. Ali Elkateeb.
CMOS Design Methods.
Lecture 9. MIPS Processor Design – Instruction Fetch Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education &
Chonnam national university VLSI Lab 8.4 Block Integration for Hard Macros The process of integrating the subblocks into the macro.
Introduction to CMOS VLSI Design Lecture 5: Logical Effort GRECO-CIn-UFPE Harvey Mudd College Spring 2004.
Introduction to FPGA Created & Presented By Ali Masoudi For Advanced Digital Communication Lab (ADC-Lab) At Isfahan University Of technology (IUT) Department.
MIPS Microprocessor (Cache Circuits) ‏ Rhys Bowden, Robert Moric, Joel Stanley, Melanie Tan.
Anurag Dwivedi. Basic Block - Gates Gates -> Flip Flops.
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
Electrical and Computer Engineering University of Cyprus LAB 1: VHDL.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
VLIW Digital Signal Processor Michael Chang. Alison Chen. Candace Hobson. Bill Hodges.
Lecture 2: MIPS Processor Example
Basics of Energy & Power Dissipation
IMPLEMENTATION OF MIPS 64 WITH VERILOG HARDWARE DESIGN LANGUAGE BY PRAMOD MENON CET520 S’03.
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Introduction to ASIC flow and Verilog HDL
CMOS VLSI Design MIPS Processor Example
Integrated Microsystems Lab. EE372 VLSI SYSTEM DESIGNE. Yoon 1-1 Panorama of VLSI Design Fabrication (Chem, physics) Technology (EE) Systems (CS) Matel.
Processor Organization and Architecture Module III.
Microprocessor Design Process
Introduction to VLSI Design© Steven P. Levitan 1998 Introduction Design Technologies.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
George Mason University Finite State Machines Refresher ECE 545 Lecture 11.
4 BIT Arithmetic Logic Unit (ALU)
VLSI Testing Lecture 5: Logic Simulation
ADPCM Adaptive Differential Pulse Code Modulation
Alpha Blending and Smoothing
Fundamentals of Computer Science Part i2
Week 5, Verilog & Full Adder
ARM implementation the design is divided into a data path section that is described in register transfer level (RTL) notation control section that is viewed.
Win with HDL Slide 4 System Level Design
Presentation transcript:

1 The Mudd ][: A 6502 Microprocessor Implementation E158 Introduction to CMOS VLSI Design May 7, 2008

2 Very Large Scale Integration How do you… design a chip with millions of transistors? verify that the chip is correct? make it fast? make it consume minimal power?

3 Apple ][ 6502 Microprocessor 8-bit microprocessor First truly low-cost microprocessor  Sold for ~$25 each CISC (Complex Instruction Set Computer) Clock speed: 1 MHz Our goal: Minimize power computers.htm

4 Team Dynamics Instructor Professor David Harris Chief Circuit Designer Nathaniel Pinckney Chief Microarchitect Thomas Barr Microarchitecture Heather Justice Kyle Marsh Schematics Eric Burkhart Trevin Murakami Jason Squiers Razor Latch Sam Gordon Tony Evans Layout Michael Braly Nisha George Corey Hebert ROM Generation Matt Jeffryes I/O Steve Huntzicker

5 Microarchitecture MOS Technology 6502 Architecture  Architecture is the programmer’s view of the processor Microarchitecture defines implementation:  Controller Fully specifies datapath operation  Datapath Register file and processor flags Program counter ALU (Arithmetic Logic Unit)

6 Microarchitecture Design CISC requires complex controlling logic Mudd ][ datapath is very simple  All controlling logic pushed into automatically synthesized ROMs Break down CISC instructions into “micro-ops”  Datapath is extremely flexible Different architectures can be implemented by changing the ROMs

7 Microcode Controller broken into two ROMs  State ROM groups commonly used operations  Opcode ROM contains control signals specific to individual instructions

8 Schematics RTL (Verilog) module regfile(input clk, input write_enable, input [1:0] read_addr_a, read_addr_b, write_addr, input [7:0] write_data, output [7:0] read_data_a, read_data_b); reg [7:0] reg_file [3:0]; logic gated_clk; assign gated_clk = clk & write_enable; // three ported register file // read two ports combinationally // write third port as latch always_latch if (gated_clk) reg_file[write_addr] <= write_data; assign read_data_a = reg_file[read_addr_a]; assign read_data_b = reg_file[read_addr_b]; endmodule Schematic

9 Schematics Transistor level schematic  Regbit

10 Schematics Designing for Layout

11 Schematics Layout in mind at abstract level  Logical linear flow Modular hierarchy  For debugging

12 Design Decisions Power and Delay  Transistor sizing Synchronous Reset Gated clock

13 Clocking Original 6502 used two-phase clocking system Ours implements two-phase non-overlapping clocks  Prevent race conditions Input ph0 used to create ph1 & ph2

14 Clock Generator

15 Mudd ][ Critical Path

16 Razor Latch

17 Placement

18 Layout Generated by following schematics that followed the Register Transfer Level (RTL) description in the microcode Tradeoffs between optimizing for min size, min power consumption, min area and max speed

19 ALU and Ripple Carry Adder ALU  One of the largest components in the floorplan  Ripple carry adder chosen to reduce amount of hardware needed for a comparable speed

20 ALU

21 Datapath

22 ROM Pseudo-nMOS NOR ROM layout  Large number of states in controller FSM  Significant power cost but without pMOS, saves space and delay without introducing timing challenges of dynamic logic

23 ROM Example

24 Generated Opcode ROM

25 Controller

26 Padframe Structure that connects core to output pins  One pad for each pinout  Types of pads: Vdd Gnd Input Output In/Out External Vdd Corner

27 Level Converters

28 Level Converters The lower 1.5 reference voltage will be seen as indeterminate in the pad ERROR

29 Pad (Layout) with Level Converter Level converter is long and narrow to fit

30 Padframe (Layout)

31 Complete Chip

32 Verification RTL behavioral verification (Modelsim)  Test suites P and A DRC, NCC, ERC Behavioral of layout (Modelsim) IRSIM switch-level simulations of Suite A  Does not accurately model transistors SPICE simulations of Suite P  BSIM models of transistors  Power estimates

33 Ideal Testing Process

34 Ideal Testing Process

35 Additional Tests Debugging  Chip tester checks corner cases  Ring oscillator checks padframe and level- converters Analysis  Plot power vs. core voltage  Verify razor latches

36 Lessons Learned / Conclusions Good communication is essential  Version control  Understanding how parts fit into whole The large group project has prepared us for team interactions in our future careers

37 Questions?