Introduction

Total Page:16

File Type:pdf, Size:1020Kb

Introduction Introduction 1 Summary ¡ Why computer architecture? ¡ Technology trends ¡ Cost issues 2 1 Computer architecture? ¡ Computer Architecture refers to the attributes of a system visible to a programmer (that have a direct impact on the logical execution of a program) ¡ Architectural attributes: ¡ Instruction set ¡ Data type representations ¡ I/O mechanisms ¡ Memory addressing techniques 3 Computer architecture (2) ? ¡ Computer organization refers to the operational units and their interconnections that realize the architectural specifications ¡ Organizational attributes: • hardware details transparent to the programmer: • control signals • interfaces between the computer and peripherals • memory technology • Often called micro-architecture 4 2 Architecture vs. organization ¡ Example: ¡ Architectural issue: • Does the computer support the multiplication instruction? ¡ Organizational issue: • Is multiplication imlemented by a special multiply unit or by a add+accumulate? 5 Architecture vs. organization (2) ¡ Architecture (MIPS): Memory (Max. 4GB) Registers 32 bits 32 bits 0x00000000 R0 0x00000004 Instruction Formats R1 0x00000008 op rs rt rdshamtfunct R2 0x0000000C 0x00000010 op rs rt offset 0x00000014 R30 0x00000018 op address R31 0x0000001C 32 General Purpose Registers 32 PC = 0x0000001C 0xfffffffc 0xfffffffc 6 3 Architecture vs. organization (3) Pentium 4 7 Architecture vs. organization (4) 8 4 Architecture vs. organization (3) ¡ Often: computer architecture = Instruction Set Architecture (ISA) ¡ The true Hardware-Software interface ¡ The most important abstraction of computer design ApplicationApplication Programs Operating System Software Compiler Instruction Set Architecture Processor I/O System Interface between SW & HW Logic - gates, state machines, etc. Hardware Circuit - transistors, etc. Layout - mask patterns, etc. 9 Computer architecture ¡ Why is it useful? ¡ Micro-architecture • Not likely you are going to be microprocessor architects ¡ Software Designers: • How does software really get executed? • What about software design effects performance ¡ Hardware Designers: • What should go in hardware, what should go in software? 10 5 Computer architecture ¡ In practice, we will cover: ¡ Computer architecture • ISA ¡ Computer organization • Processor structure • Processor execution mechanism • Pipelining/Instruction-set parallelism • Memory hierarchy principles • I/O interface ¡ Specialization of architecture/organization • Non-conventional architectures • Multimedia extensions (some) 11 Computer architecture ¡ Interaction with many disciplines 12 6 Objective ¡ Before getting into the details, we must address: 1. Technology trends 2. Cost issues 3. Performance issues 13 Technology trends 14 7 A brief computer history ¡ 1940s-50s - Vacuum Tubes ¡ 1950s-60s - Discrete Transistors ¡ 1960s-70s - Discrete ICs (e.g., TTL) ¡ 1970s-present - LSI and VLSI microprocessors 15 A brief computer history (2) ENIAC - 1940s IBM 360 - 1960s (Vacuum Tubes) (Transistors) 16 8 A brief computer history (3) DEC VAX 11/780 - 1970s (Discrete IC’s) Intel 4004 - 1970s (First Microprocessor) 17 A brief computer history (4) Apple II Computer MOS Technology 6502 1970s 18 9 A brief computer history (5) Intel 8088 (LSI Microprocessor) Original IBM PC 1980s 19 A brief computer history (6) Pentium® III PowerPC 7400 (G4) 28M transistors / 733MHz-1Gz / 13-26W 6.5M transistors / 450MHz / 8-10W L=0.25µm shrunk to L=0.18µm 1990s L=0.15µm 20 10 A brief computer history (5) Pentium® 4 Pentium® 4 “Northwood” 42M transistors / 1.3-1.8GHz / 49-55W 55M transistors / 2-2.5GHz L=0.18µm L=0.13µm ...today 21 A brief computer history (6) ...the next step... 22 11 Building blocks ¡ Current dominant technology (for digital circuits!): Complementary MOS (CMOS) ¡ Other technologies: ¡ Bipolar (e.g., TTL) ¡ Bi-CMOS - hybrid Bipolar, CMOS ¡ GaAs - Gallium Arsenide (for high speed) ¡ SiGe - Silicon Germanium (for high speed, RF) Used for different targets 23 ¡ CMOS transistor (n-type) ¡ Basically, a switch SiO2 Gate D Insulator L G=1 W Source G Drain n+ n+ channel S G=0 p substrate ¡ Technology characterized by the value of L (transistor length) ...trend... ¡ Feature size 2002: L=130nm ¡ Today L=0.13 µm (!) 2003: L=90nm 2005: L=65nm? 24 12 CMOS scaling ¡ Features size scales down quite fast ¡ 2001 forecast Year 1995 1999 2001 2003 2005 2008 2011 2014 µm 0.35 0.18 0.13 0.10 0.08 0.07 0.05 0.034 ¡ And even faster than forecasted ¡ 1997 forecast Year 1995 1998 2000 2003 2007 2010 2013 µm 0.35 0.25 0.18 0.13 0.10 0.07 0.05 25 An example: memory chip ¡ IBM J. R&D, Jan/Mar ‘95 ¡ Evolution from 4 – 256 Mb Cell Layouts ¡ 256 Mb uses cell with area 0.6 µm2 4Mb 4 Mb Cell Structure 16Mb 64Mb 256Mb 26 13 Moore’s Law ¡ In 1965, Gordon Moore predicted that transistors would continue to shrink, allowing: ¡ Doubled transistor density every 18-24 months ¡ Doubled performance every 18-24 months ¡ History has proven Moore right ¡ But, is the end in sight? ¡ Physical limitations: quantum effects create fundamental limits as approach atomic scale ¡ Economic limitations 27 Orders of magnitude 1 cm 1 mm 0.1 mm 10µm 1 µm 0.1 µm 10 nm 1 nm 1 Å Chip size Diameter of 1996 devices 2007 devices Silicon (1 cm) Human Hair (0.35 µm) (0.1 µm) atom (25 µm) radius (1.17 Å) Deep UV X-ray Wavelength Wavelength (248 nm) (0.6 nm) 28 14 Microprocessor Trends (1) 100,000,000 Pentium 4: 55 million 10,000,000 Alpha 21264: 15 million Moore’s Law Pentium Pentium Pro: 5.5 million 1,000,000 i80486 PowerPC 620: 6.9 million i80386 Alpha 21164: 9.3 million i80286 Sparc Ultra: 5.2 million 100,000 Transistors i8086 10,000 i8080 i4004 Log scale! 1,000 1970 1975 1980 1985 1990 1995 2000 Year Current trend: doubles every 18 month => +54% /year 29 Microprocessor Trends (2) ¡ Intel family Year Chip L transistors 1971 4004 10µm 2.3K 1974 8080 6µm 6.0K 1976 8088 3µm 29K 1982 80286 1.5µm 134K 1985 80386 1.5µm 275K 1989 80486 0.8µm 1.2M 1993 Pentium® 0.8µm 3.1M 1995 Pentium® Pro 0.6µm 15.5M 1999 Mobile PII 0.25µm 27.4 2000 Pentium® 4 0.18µm 42M 2002 Pentium® 4 (N) 0.13µm 55M Source: http://www.intel.com/pressroom/kits/quickreffam.htm 30 15 Microprocessor Trends (3) Relative speed 1200 DEC Alpha 21264/600 1000 800 600 DEC Alpha 5/500 400 DEC DEC Alpha 5/300 HP IBM MIPS MIPS AXP/ 200 9000/ RS/ 500 DEC Alpha 4/266 Sun M M/ -4/ 750 6000 260 2000 120 IBM POWER 100 0 87 88 89 90 91 92 93 94 95 96 97 Current trend: doubles every 18 month => +54% /year 31 DRAM Memory Trends 1,000,000,000 year size(Mb) cyc time 100,000,000 1980 0.0625 250 ns size 10,000,000 1983 0.25 220 ns 1986 1 190 ns 1000x 1,000,000 1989 40.5x 165 ns 1992 16 145 ns 100,000 1996 64 120 ns 2000 256 100 ns 10000 1000 Log scale! 1970 1975 1980 1985 1990 1995 2000 Year Size trend: ~doubles every 18 month => +54% /year Speed: ~ doubles every 10 years! => +9% /year 32 16 Memory-processor gap ¡ It is not just a matter of faster processors!!!! ¡ … but this only a part of the picture 33 Summary - Technology Trends ¡ Processor ¡ Logic capacity increases ~ 50% per year ¡ Clock frequency increases ~ 20% per year ¡ Cost per function decreases ~20% per year ¡ Memory ¡ DRAM capacity: increases ~ 60% per year (4x every 3 years) ¡ Speed: increases ~ 10% per year ¡ Cost per bit: decreases ~25% per year 34 17 Summary - Technology Trends ¡ SIA Roadmap (2001) Note: 50nm = 5*10-9 m Silicon atom O(10-10m) ¡ Message: • Scaling improves logic speed & density • Scaling increases power! 35 Power constraints ¡ Projecting power consumption ¡ Will soon get to KW? ¡ Yes, if we do not use power reduction ? solutions ¡ It is not just a matter of faster processors! (again) 36 18 Wires vs. gates ¡ Scaling applies to transistors as well as to wires ¡ Wire scaling means OLD NEW H H L L W W ¡ Capacitance does not scale well • Ground capacitance scales • “Lateral” capacitance increases • Overall capacitance increase w.r.t. gate capacitances ¡ Higher capacitance C • Longer delays (T=RC) • Higher power consumption (P=CV2) 37 Wire vs. gate delay ¡ It is not just a matter of faster logic! 38 19 Cost issues ¡ Common belief ¡ Performance is top priority ¡ Power almost top priority ¡ Area (size) is irrelevant • Real estate on a chip is not a problem ¡ However, chip cost is directly related to area… 39 VLSI Processing 40 20 Integrated Circuits Costs IC cost = Die cost + Testing cost + Packaging cost Final test yield Die cost = Wafer cost Dies per Wafer * Die yield π * (Wafer_diam/2)2 π * Wafer_diam die per wafer = - - test dies Die Area (2 * Die Area)1/2 −α Defects_per_unit_area * Die_Area Die Yield = Wafer yield * { 1 + } α Die Cost roughly ∝ die_area4 41 Examples Chip Metal Line Wafer Defect Area Dies/ Yield Die Cost layers width cost /cm2 mm2 wafer 386DX 2 0.90 $900 1.0 43 360 71% $4 486DX2 3 0.80 $1200 1.0 81 181 54% $12 PowerPC 601 4 0.80 $1700 1.3 121 115 28% $53 HP PA 7100 3 0.80 $1300 1.0 196 66 27% $73 DEC Alpha 3 0.70 $1500 1.2 234 53 19% $149 SuperSPARC 3 0.70 $1700 1.6 256 48 13% $272 Pentium 3 0.80 $1500 1.5 296 40 9% $417 ¡ From "Estimating IC Manufacturing Costs,” Linley Gwennap, Microprocessor Report, August 2, 1993, p. 15 42 21 Logic vs. I/O ¡ Scaling affects speed of logic ¡ Only marginally affects speed of devices! ¡ Impact of scaling on computation: application Web surfing ¡It is not just a matter of faster processors! (again) 43 In summary ¡ Overall system performance depends on: ¡ Processor speed ¡ Memory architecture ¡ I/O system ¡ Performance are constrained by: ¡ Power consumption ¡ Area (translates into cost) ¡ Do not neglect “hidden” costs ¡ Technological issues • Wires (delay and power) cost dominates gate cost • Small feature sizes imply increasing “parasitic” effects ¡ Impact of software 44 22.
Recommended publications
  • Professor Won Woo Ro, School of Electrical and Electronic Engineering Yonsei University the Intel® 4004 Microprocessor, Introdu
    Professor Won Woo Ro, School of Electrical and Electronic Engineering Yonsei University The 1st Microprocessor The Intel® 4004 microprocessor, introduced in November 1971 An electronics revolution that changed our world. There were no customer‐ programmable microprocessors on the market before the 4004. It propelled software into the limelight as a key player in the world of digital electronics design. 4004 Microprocessor Display at New Intel Museum A Japanese calculator maker (Busicom) asked to design: A set of 12 custom logic chips for a line of programmable calculators. Marcian E. "Ted" Hoff Recognized the integrated circuit technology (of the day) had advanced enough to build a single chip, general purpose computer. Federico Faggin to turn Hoff's vision into a silicon reality. (In less than one year, Faggin and his team delivered the 4004, which was introduced in November, 1971.) The world's first microprocessor application was this Busicom calculator. (sold about 100,000 calculators.) Measuring 1/8 inch wide by 1/6 inch long, consisting of 2,300 transistors, Intel’s 4004 microprocessor had as much computing power as the first electronic computer, ENIAC. 2 inch 4004 and 12 inch Core™2 Duo wafer ENIAC, built in 1946, filled 3000‐cubic‐ feet of space and contained 18,000 vacuum tubes. The 4004 microprocessor could execute 60,000 operations per second Running frequency: 108 KHz Founders wanted to name their new company Moore Noyce. However the name sounds very much similar to “more noise”. "Only the paranoid survive". Moore received a B.S. degree in Chemistry from the University of California, Berkeley in 1950 and a Ph.D.
    [Show full text]
  • 6502 Introduction
    6502 Introduction Philipp Koehn 18 September 2019 Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1 some history Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1971 2 • First microprocessor on an integrated circuit: Intel 4004 • 4-bit central processing unit, 12 bit address space (4KB) Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1975 3 • MOS Technology 6502 • Dominant CPU in home computers for a decade (Atari, Apple II, Nintendo Entertainment System, Commodore PET) Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1977 4 • Atari 2600 • Video game console: Pong, Pac Man, ... connected to TV Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1980 5 • Commodore VIC20 • 1 MHz, 5KB RAM, BASIC, 3.5KB RAM, 176x184 3 bit color video Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 1982 6 • Commodore C64 • 64KB RAM, 320x200 4 bit color video Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 Commodore C64 7 • BASIC programming language, but serious programs written in assembly • No fancy stuff like multi-process, user accounts, virtual memory, etc. • Machine itself had no mass storage - had to buy tape drive, then floppy disk drive, machine was obsolete once hard drives came around Philipp Koehn Computer Systems Fundamentals: 6502 Introduction 18 September 2019 BASIC Demo 8 • Commands get executed (just like Python interpreter)
    [Show full text]
  • Appendix A: Microprocessor Data Sheets
    Appendix A: Microprocessor Data Sheets Intel8085 Zilog Z80 MOS Technology 6502 Motorola 6809 Microcontrollers (Single-chip Microcomputers) Intel 8086 ( & 80186 & 80286) Zilog Z8000 Motorola 68000 32-bit Microprocessors lnmos Transputer 184 Appendix A 185 Intel 8085 Followed on from the 8080, which was a two-chip equivalent of the 8085. Not used in any home computers, but was extremely popular in early (late 1970s) industrial control systems. A15-A8 A B c D E Same register AD7-ADO H L set is used in SP 8080 PC ALE Flags Multiplexed d ata bus and lower half of address bus (require 8212 to split data and address buses) Start addresses of Interrupt P/Os Service Routines: 8155- 3 ports, 256 bytes RAM RESET-()()()(J 8255 - 3 ports TRAP- 0024 8355 - 2 ports, 2K ROM RST5.5- 002C 8755 - 2 ports, 2K EPROM RST6.5 - ()(J34 RST7.5- <XJ3C INTR - from interrupting device Other 8251- USART 8202 - Dynamic RAM controller support 8253- CTC (3 counters) 8257 - DMA controller devices: 8271 - FDC 8257 - CRT controller Intel DMA Control System Character CPU buses­ de-multiplexed Video signal to CRT 186 Microcomputer Fault-finding and Design Zilog Z80 Probably the most popular 8-bit microprocessor. Used in home computers (Spectrum, Amstrad, Tandy), office computers and industrial controllers. A F A' F' B c B' C' D E D' E' H L H' L' 8 data Interrupt Memory lines vector I refresh R Index register IX Index register IY (to refresh dynamic RAMI Stack pointer Based on the Intel 8085, but possesses second set of registers.
    [Show full text]
  • Programmable Digital Microcircuits - a Survey with Examples of Use
    - 237 - PROGRAMMABLE DIGITAL MICROCIRCUITS - A SURVEY WITH EXAMPLES OF USE C. Verkerk CERN, Geneva, Switzerland 1. Introduction For most readers the title of these lecture notes will evoke microprocessors. The fixed instruction set microprocessors are however not the only programmable digital mi• crocircuits and, although a number of pages will be dedicated to them, the aim of these notes is also to draw attention to other useful microcircuits. A complete survey of programmable circuits would fill several books and a selection had therefore to be made. The choice has rather been to treat a variety of devices than to give an in- depth treatment of a particular circuit. The selected devices have all found useful ap• plications in high-energy physics, or hold promise for future use. The microprocessor is very young : just over eleven years. An advertisement, an• nouncing a new era of integrated electronics, and which appeared in the November 15, 1971 issue of Electronics News, is generally considered its birth-certificate. The adver• tisement was for the Intel 4004 and its three support chips. The history leading to this announcement merits to be recalled. Intel, then a very young company, was working on the design of a chip-set for a high-performance calculator, for and in collaboration with a Japanese firm, Busicom. One of the Intel engineers found the Busicom design of 9 different chips too complicated and tried to find a more general and programmable solu• tion. His design, the 4004 microprocessor, was finally adapted by Busicom, and after further négociation, Intel acquired marketing rights for its new invention.
    [Show full text]
  • Microcomputer Associates, Inc
    Bulk Rate Permit No. 243 Cupertino, CA 95014 MICROCOMPUTER ASSOCIATES, INC. Product Catalog* featuring VT-100 CRT Terminal VT -200 CRT Terminal with Tiny BASIC, Resident Assembler and Demon Single Board Computers and The newest generation microcomputer system with the exclusive on­ board DEMONTM debug monitor. In kit form, you can build it, plug it in JJOlT and talk to it in three hours or less ... for unheard of low prices! This is the fully assembled JOLpM 4K System. The JOLT CPU card includes the powerful DEMONTM Debug Monitor . • Catalog items and prices subject to change without notice. A READY control line provides for asynchronous operation with JOLT SYSTEM DESCRIPTION slow memory or I/O devices. The JOLT system consists of a set of modular microcomputer The address bus (AO-A 15). the data bus (00-07). the two phase boards which can be used singly or tied together to produce any clock (PIT. P2T). the reset line (·RESET). the interrupt lines ("IRZ. desired microcomputer system configuration. The minimum system AND *NMI). and the ready line (ROY) are all available at the edge is one CPU board. which alone constitutes a viable computer sys­ connector of the CPU card. The loading restrictions should be con­ tem complete with central processor. 1/0. interrupts. timer. read­ sidered when using the signal lines driven by the CPU for external write memory. and a complete software debug monitor in read­ system expansion. A more detailed description of the CPU inputs and outputs may only-memory. be found in the MCS6500 hardware manual available from MOS Additional boards in the JOLT system include a 4 K byte RAM.
    [Show full text]
  • Computer Architectures an Overview
    Computer Architectures An Overview PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Sat, 25 Feb 2012 22:35:32 UTC Contents Articles Microarchitecture 1 x86 7 PowerPC 23 IBM POWER 33 MIPS architecture 39 SPARC 57 ARM architecture 65 DEC Alpha 80 AlphaStation 92 AlphaServer 95 Very long instruction word 103 Instruction-level parallelism 107 Explicitly parallel instruction computing 108 References Article Sources and Contributors 111 Image Sources, Licenses and Contributors 113 Article Licenses License 114 Microarchitecture 1 Microarchitecture In computer engineering, microarchitecture (sometimes abbreviated to µarch or uarch), also called computer organization, is the way a given instruction set architecture (ISA) is implemented on a processor. A given ISA may be implemented with different microarchitectures.[1] Implementations might vary due to different goals of a given design or due to shifts in technology.[2] Computer architecture is the combination of microarchitecture and instruction set design. Relation to instruction set architecture The ISA is roughly the same as the programming model of a processor as seen by an assembly language programmer or compiler writer. The ISA includes the execution model, processor registers, address and data formats among other things. The Intel Core microarchitecture microarchitecture includes the constituent parts of the processor and how these interconnect and interoperate to implement the ISA. The microarchitecture of a machine is usually represented as (more or less detailed) diagrams that describe the interconnections of the various microarchitectural elements of the machine, which may be everything from single gates and registers, to complete arithmetic logic units (ALU)s and even larger elements.
    [Show full text]
  • The Spectacular Rise and Fall of Commodore
    C H A P T E R 1199 TThhee SSaavviioorr ooff CCoommmmooddoorree 11998822 -- 11998855 ommodore failed to capitalize on the unmatched success of the C64, which was a games market. The C128 had virtually no game C development and did not transition C64 users into more powerful computers. It was time for Commodore to enter the 16-bit market. Jay Miner he man who originated the idea for Commodore’s next generation Thardware did not work for Commodore. In fact, he was working for Commodore’s nemesis, Atari, when he conceived of the revolutionary new computer. Jay Glenn Miner was born May 31, 1932 in Prescott, Arizona. This made him part of Chuck Peddle and Jack Tramiel’s generation, rather than the generation that had created Commodore’s most recent hits. A few years after his birth, Miner’s family moved to Southern California. After graduating high school, he signed up for the Coast Guard, which took him to Groton, Connecticut for military training. While there, he met Caroline Poplawski and married her in 1952. Like Tramiel, Miner served in the military during the Korean War. Miner received his first taste of electronics at Groton in the Coast Guard’s Electronics Technician School. After completing the six-month course, he joined the North Atlantic Weather Patrol where he jumped from island to island by boat and helicopter, repairing damaged radar stations and radio installations. With little to distract him, he immersed his young mind in electronics. After serving three years in the barren North Atlantic, Miner enrolled at the University of California, Berkeley in engineering.
    [Show full text]
  • MOS Technology 6502
    MOS Technology 6502 Le MOS Technology 6502 est un microprocesseur 8 bits conçu par MOS Technology en 1975. Quand il fut présenté, il était de loin le processeur le plus économique sur le marché, à environ 1/6 du prix, concurrençant de plus grandes MOS Technology 6502 compagnies telles que Motorola ou Intel. Il était néanmoins plus rapide que la plupart d'entre eux, et avec le Zilog Z80, brilla dans une série de projets d'ordinateurs qui furent par la suite la source de la révolution d'ordinateurs personnels des années 1980. La production du 6502 était à l'origine concédée par MOS Technology à Rockwell et Synertek puis plus tard à d'autres compagnies ; il est encore fabriqué en 2014 pour équiper des systèmes embarqués. Sommaire 1 Histoire et utilisation 2 Description 3 Des caractéristiques floues 4 Remarques sur le 6502 5 Références 6 Liens externes (en français) Schema d'un circuit MOS 6502. 7 Liens externes (en anglais) Caractéristiques Production 1975 Histoire et utilisation Fabricant MOS Technology Fréquence 1 MHz à 1,55 MHz Le 6502 a été conçu principalement par l'équipe qui avait développé le Motorola 6800. Après avoir quitté Motorola en Finesse de 8000 nm à 8 000 nm bloc, ses ingénieurs ont rapidement sorti le 6501, d'une conception complètement nouvelle mais dont le brochage gravure restait néanmoins compatible avec le 6800. Motorola entama des poursuites judiciaires immédiatement, et bien qu'aujourd'hui l'affaire aurait été déboutée, les dommages que MOS encourut furent suffisants pour que la société Cœur MOS Tech 6502 accepte de cesser de produire le 6501.
    [Show full text]
  • F15 Centipede
    ADVANCED DIGITAL DESIGN 18-545 / FALL 2015 Bradley Plaxen Carl Nordgren Rohan Saigal 1 This project and all associated materials including designs, code, reports, and presentations were made for academic purposes. The members of Team Centipede give permission to the Carnegie Mellon University Department of Electrical and Computer Engineering to recreate and use these materials for future classes. For more information, contact: Bradley Plaxen- [email protected] Carl Nordgren- [email protected] Rohan Saigal- [email protected] 2 TABLE OF CONTENTS 1. PROJECT OVERVIEW 4 1.1. BACKGROUND 4 1.2. OBJECTIVE 4 1.3. HARDWARE DESCRIPTION 4 1.4. SYSTEM DIAGRAM 5 2. DEVELOPMENT TOOLS 6 3. MOS 6502 CPU 7 3.1. SPECIFICATIONS 7 3.2. IMPLEMENTATION 8 3.3. VERIFICATION 9 3.4. CHALLENGES 9 3.5. ADDRESS DECODER 9 4. POKEY AUDIO 10 4.1. SPECIFICATIONS 10 4.2. IMPLEMENTATION 10 4.3. VERIFICATION 10 5. GRAPHICS PIPELINE 11 5.1. SPECIFICATIONS 11 5.2. IMPLEMENTATION 11 5.3. VERIFICATION 12 5.4. CHALLENGES 12 3 6. INPUT CONTROLS 13 6.1. TRACKBALL 13 6.1.1. SPECIFICATIONS 13 6.1.2. IMPLEMENTATION 14 6.1.3. VERIFICATION 15 6.1.4. CHALLENGES 15 6.2. BUTTONS AND OPTION SWITCHES 16 7. MEMORY 17 7.1. ROM 17 7.2. RAM 17 8. PLANNING AND MANAGEMENT 18 8.1. MARBLE MADNESS 18 8.2. TIMELINE MANAGEMENT STRATEGY 18 8.3. GITHUB 19 9. LESSONS LEARNED 20 9.1. IDENTIFYING HUMAN LIMITATIONS 20 9.2. KNOWING HARDWARE LIMITATIONS 20 9.3. RESPECTING INTEGRATION 20 10.
    [Show full text]
  • MOS Technology 6502 CPU Emulation
    Elizabethtown College JayScholar Computer Science: Student Scholarship & Creative Works Computer Science Spring 2020 MOS Technology 6502 CPU Emulation Rory Dudley Elizabethtown College Follow this and additional works at: https://jayscholar.etown.edu/comscistu Part of the Computer Sciences Commons Recommended Citation Dudley, Rory, "MOS Technology 6502 CPU Emulation" (2020). Computer Science: Student Scholarship & Creative Works. 2. https://jayscholar.etown.edu/comscistu/2 This Student Research Paper is brought to you for free and open access by the Computer Science at JayScholar. It has been accepted for inclusion in Computer Science: Student Scholarship & Creative Works by an authorized administrator of JayScholar. For more information, please contact [email protected]. MOS Technology 6502 CPU Emulation By Rory Dudley This thesis is submitted in partial fulfillment of the requirements for Honors in the Discipline in Computer Science and the Elizabethtown College Honors Program May 1, 2020 Thesis Director (signature required]_______________________________ Department Chair (signature required)___________________________ Second Reader____ Joseph T Wunderlich PhD __________ Third Reader__________ Peilong Li____________________ [only if applicable such as with interdisciplinary theses] Honors Senior Thesis Release Agreement Form The High Library supports the preservation and dissemination of all papers and projects completed as part of the requirements for the Elizabethtown College Honors Program (Honors Senior Thesis). Your signature on the following form confirms your authorship of this work and your permission for the High Library to make this work available. By agreeing to make it available, you are also agreeing to have this work included in the institutional repository, JayScholar. If you partnered with others in the creation of this work, your signature also confirms that you have obtained their permission to make this work available.
    [Show full text]
  • If You Have Any Questions, Need Assistance, Or Need Any Additional Information Please Ask AHCS Members in Red Shirts
    If you have any questions, need assistance, or need any additional information please ask AHCS members in Red shirts. Schedule Saturday, April 29th 2017 08:15 - 10:00 Main Hall Exhibiter / Vendor setup 10:00 Show Opens 10:00 - 19:00 Workshop Beginner, Intermediate, & Advanced Rooms Soldering Workshops 10:45 - 11:00 Speaker’s Lonnie Mimms – Welcome from the Hall Computer Museum of America 11:00 - 12:00 Speaker’s Andy Hertzfield – Stories of the Apple II Hall 12:30 - 13:30 Lunch Break 16:00 - 17:00 Speaker’s Auction!! Hall 19:00 Show Closes Sunday, April 30rd 2017 10:00 Show Opens 10:00 - 17:00 Workshop Beginner, Intermediate, & Advanced Rooms Soldering Workshops 11:00 - 12:00 Speaker’s Don French – Stories on the History of Hall the TRS-80 12:00 - 13:00 Lunch Break 13:00 - 14:00 Speaker’s Chuck Peddle (via Skype) – The 6502 to Hall the PC. 17:00 Show Closes 17:00 - 19:00 Main Hall Exhibitor / Vendor tear-down Not your father’s database, your grandfather’s. — Ed Fair (Tucker GA) Speakers A show-and-tell exhibit where you’ll hear from Ed on indexing data from the 30s, bc. (before computers). He will talk about the art of Lonnie Mimms indexing a punched card deck and how that led to greater things. He do this show and tell with a 1950s card sorter and a 1930s card From a very young age, Lonnie was interested in electronics. He interpreter. You will walk away having learned about technology you started playing with Radio Shack kits in the early 1970s.
    [Show full text]
  • Design Decisions
    Design Decisions Chris Fernandez, Dakota Folger-Reeder, and Michael Shullick 1 On Deck ● History ● CPU Choice ● Board Layout and Architecture ● PPU ● Impact 2 ➔ 1889 Brief History of ◆ Nintendo founded in Japan as a playing card Nintendo and the manufacturer ➔ 1966 NES ◆ Nintendo shifts to toys ➔ 1975 ◆ Nintendo has success with arcade games like Donkey Kong ➔ 1983 ◆ Nintendo’s Family Computer (“Famicom”) released in Japan ◆ Video games crash in North America ➔ 1984 ◆ Nintendo releases the Advanced Video System home computer (flopped) ➔ 1985 ◆ Nintendo released the Nintendo Entertainment System 3 NES Dissection So what’s inside? 4 CPU - MOS Technology 6502 ● Introduced in 1975, a sixth of the cost of competitors ● Designed by same engineers of the Motorola 6800 ● Cost reduction performed by removing extra features of Motorola 6800 and use of new fabrication technology for depletion-mode MOSFETs. ● Used in many famous applications 5 6502 Specifications ● Proprietary derivative of the 6502 manufactured by Ricoh ● Accumulator-based with only 6 special registers ● 8-bits, little endian ● 16 bit addresses ● 1-3 MHz clock ● 56 instructions ● Fast “zero page” mode for faster access to first 256 addresses in memory, intended to be quasi-registers 6 Ricoh 2A03 - Deviations from MOS 6502 ● Hardwired to disable BCD mode of 6502 ● Memory-mapped components: ○ APU ○ DMA ○ Game controller polling ● Different versions for different regions 7 Architecture 8 Memory ● Memory is split between the CPU and the PPU(Picture Processing Unit) ● CPU Memory is divided into 3 main parts, ROM in the cartridges, the CPU RAM, and I/O registers ● CPU and PPU interact only through I/O registers 9 Memory and I/O ● The Zero Page memory addressing, which is the first page in memory was also mirrored three times between $0800 and $1FFF.
    [Show full text]