Digital Signal Processing – II

Total Page:16

File Type:pdf, Size:1020Kb

Digital Signal Processing – II www.jntuworld.com Digital Signal Processing – 8 December 24, 2009 VIII. DSP Processors 2007 Syllabus: Introduction to programmable DSPs: Multiplier and Multiplier-Accumulator (MAC), Modified bus structures and memory access schemes in DSPs, Multiple access memory, Multiport memory, VLSI architecture, Pipelining, Special addressing modes, On-chip peripherals. Architecture of TMS 320C5X – Introduction, Bus structure, Central Arithmetic Logic Unit, Auxiliary register, Index register, Auxiliary register, Compare register, Block move address register, Parallel Logic Unit, Memory mapped registers, Program controller, Some flags in the status registers, On-chip registers, On-chip peripherals. Contents: 8.1 DSP Processors – Market 8.2 DSP Processors – Features 8.3 Multiply-and-Accumulate 8.4 Interrupts – handling incoming signal values 8.5 Fixed- and Floating-point 8.6 Real-time FIR filter example We shall use “DSP” to mean Digital Signal Processor(s) and sometimes even refer to them as DSP processors, also as programmable digital signal processors (PDSPs). This includes 1. General purpose DSPs (such as the TMS320’s of TI and DSP563’s of Motorola and others) 2. Special purpose DSPs tailored to specific applications like FFT However, the so-called programmability of DSPs mentioned above pales in comparison to that of general purpose CPUs. In what follows, for the most part, we contrast general purpose CPUs (whose strength is in general purpose programmability) with DSPs (whose strength is in high throughput, hardwired, number crunching). For a convergence of both kinds of processor refer to the article on Intel’s Larrabee in IEEE Spectrum, January 2009. DSP-8 (DSP Processors) 1 of 8 Dr. Ravi Billa www.jntuworld.com www.jntuworld.com 8.1 DSP Processors – Market Market 1 Small, low-power, relatively weak DSPs Mass-produced consumer products - Toys, Automobiles Inexpensive 2 More capable fixed point processors Cell phones, Digital answering machines, Modems 3 Strongest, often floating point, DSPs Image and video processing, Server applications 8.2 DSP Processors – Features Features 1 DSP-specific instructions (e.g., MAC) 2 Special address registers 3 Zero-overhead loops 4 Multiple memory buses and banks 5 Instruction pipelines 6 Fast interrupt servicing (fast context switch) 7 Specialized IO ports 8 Special addressing modes (e.g., bit reversal) 8.3 Multiply-and-Accumulate DSP algorithms are characterized by intensive number crunching that may exceed the capabilities of a general purpose CPU. Due to arithmetic instructions specifically tailored to DSP needs a DSP processor can be much faster for specific tasks. The most common special purpose task in digital signal processing is the multiply-and -accumulate (MAC) operation illustrated by the FIR filter M M y(n) = bj x(n j) = b j x j = b0 x(n) + b1 x(n–1) + … + bM x(n–M) j 0 j 0 Such a repeated MAC operation occurs in other situations as well. Further, the operands b and x need not have the same index j. Letting b and x have independent indices j and k, the following loop accomplishes the MAC operation Loop: update j, update k a ← a + b j xk DSP-8 (DSP Processors) 2 of 8 Dr. Ravi Billa www.jntuworld.com www.jntuworld.com [Aside The operation a + (b * c), using floating point numbers, may be done with two roundings (once when b and c are multiplied and a second time when the product is added to a), or with just one rounding (where the entire expression a + (b * c) is evaluated in one step). The latter is called a fused multiply-add (FMA) or fused multiply-accumulate (FMAC) included in the IEEE Std. 754.] Loop overhead A general purpose CPU would implement the above sum of products operation in a fixed length loop such as For i = 0 to M {statements} that involves considerable overhead apart from the statements. This overhead consists of: Loop Overhead (General purpose CPU) 1 Provide a CPU register to store the loop index 2 Initialize index register 3 After each pass increment and check loop index for termination 4 (If a CPU register is not available: provide a memory location for indexing, retrieve it, increment it, check it and store it back in memory) 5 Except for the last pass, a jump back to the top of the loop DSP processors provide a zero-overhead hardware mechanism (a REPEAT or DO) that can repeat an instruction or set of instructions a prescribed number of times. Due to hardware support for this repetition structure no clock cycles are wasted on branching or incrementing and checking the loop index. The number of loop iterations is necessarily limited. If loop nesting is allowed not all loops may be zero-overhead. Enhancing the CPU architecture Inside the loop How would a general purpose CPU carry out the computations inside the loop? Assume that {b} and {x} are stored as arrays in memory. Assume that the CPU has pointer registers j and k that can be directly updated and used to retrieve data from memory, two arithmetic registers b and x that can be used as operands of arithmetic operations, a double length register p to receive the product and an accumulator a for summing the products. The instruction sequence for one pass through the loop on a general purpose CPU looks like this: Inside the Loop 1 update j 2 update k 3 b ← bj 4 x ← xk 5 fetch (multiply) instruction DSP-8 (DSP Processors) 3 of 8 Dr. Ravi Billa www.jntuworld.com www.jntuworld.com 6 decode (multiply) instruction 7 execute (multiply) instruction (p ← bj xk) 8 fetch (add) instruction 9 decode (add) instruction 10 execute (add) instruction (a ← a + p) Assuming that each of the lines above takes one unit of time – call it an “instruction time” or “clock cycle” – (multiplication easily takes several units of time but we assume it is the same as the rest), the sequence takes 10 units of time to complete. We could add a “multiply and add” (call it MAC) instruction to the instruction set of the CPU (that is, we augment CPU with the appropriate hardware): this would merge the last 6 lines (lines 5 through 10) in the above segment into just 3 lines, and there would then be 7 lines taking 7 units of time as shown below: Inside the Loop 1 update j 2 update k 3 b ← bj 4 x ← xk 5 fetch MAC instruction 6 decode MAC instruction 7 execute MAC instruction (a ← a + bj xk) A DSP can perform a MAC operation in a single unit of time. Many use this feature as the definition of a DSP. We want to describe below how this is accomplished. Update pointers simultaneously since they are independent. We add two address updating units to the processor hardware. Since these two updates can be done in parallel we show them as one line in the sequence, the sequence now taking 6 units of time: Inside the Loop 1 update j AND update k 2 b ← bj 3 x ← xk 4 fetch MAC instruction 5 decode MAC instruction 6 execute MAC (a ← a + bj xk) Memory Architecture Load registers b and x simultaneously Since bj and xk are completely independent we can make provision to read them simultaneously from memory into the appropriate registers. In the standard CPU situation there is just one bus connection to the memory; and even connecting two buses to the same (one) memory does not help; and the so-called “dual port memories” are expensive and slow. In a radical departure from the memory architecture of the standard CPU, the DSP can define multiple memory banks each served by its own bus. Now bj and xk can be DSP-8 (DSP Processors) 4 of 8 Dr. Ravi Billa www.jntuworld.com www.jntuworld.com loaded simultaneously from memory into the registers j and k, shown in the sequence below by listing the two operations on the same line, the sequence now taking 5 units of time: Inside the Loop 1 update j AND update k 2 b ← bj AND x ← xk 3 fetch MAC instruction 4 decode MAC instruction 5 execute MAC (a ← a + bj xk) We next turn to the last three lines (fetch, decode and execute) in the sequence. Caches Standard CPUs use instruction caches to speed up the execution. Caching implies different amounts of run-time (that is, unpredictability) depending on the state of the caches when operation starts. However, DSPs are designed for real-time use where the prediction of exact timing may be critical. Therefore caches are usually avoided in DSPs because caching complicates the calculation of program execution time. Harvard architecture Now we consider the fetching of one instruction while previous ones are still being decoded or executed. There can now be a clash while fetching an instruction from memory at the same time that data related to a prior instruction is being transferred to or from memory. The solution is to use separate memory banks and separate buses. Previously we used different memory banks for different categories of data but now we are talking about a memory bank for instructions versus a memory bank for data. The memory banks have independent address spaces and are called program memory and data memory – resulting in the Harvard architecture. The CPU can fetch the next instruction and simultaneously do a load/store of a memory word. Standard computers use the same memory space for program and data, this being called the von Neumann architecture (Pennsylvania architecture or Princeton architecture?). Most DSPs abide by the Harvard architecture in order to be able to overlap instruction fetches with data transfers. The idea of overlapping brings us to pipelining.
Recommended publications
  • Chapter 5 Multiprocessors and Thread-Level Parallelism
    Computer Architecture A Quantitative Approach, Fifth Edition Chapter 5 Multiprocessors and Thread-Level Parallelism Copyright © 2012, Elsevier Inc. All rights reserved. 1 Contents 1. Introduction 2. Centralized SMA – shared memory architecture 3. Performance of SMA 4. DMA – distributed memory architecture 5. Synchronization 6. Models of Consistency Copyright © 2012, Elsevier Inc. All rights reserved. 2 1. Introduction. Why multiprocessors? Need for more computing power Data intensive applications Utility computing requires powerful processors Several ways to increase processor performance Increased clock rate limited ability Architectural ILP, CPI – increasingly more difficult Multi-processor, multi-core systems more feasible based on current technologies Advantages of multiprocessors and multi-core Replication rather than unique design. Copyright © 2012, Elsevier Inc. All rights reserved. 3 Introduction Multiprocessor types Symmetric multiprocessors (SMP) Share single memory with uniform memory access/latency (UMA) Small number of cores Distributed shared memory (DSM) Memory distributed among processors. Non-uniform memory access/latency (NUMA) Processors connected via direct (switched) and non-direct (multi- hop) interconnection networks Copyright © 2012, Elsevier Inc. All rights reserved. 4 Important ideas Technology drives the solutions. Multi-cores have altered the game!! Thread-level parallelism (TLP) vs ILP. Computing and communication deeply intertwined. Write serialization exploits broadcast communication
    [Show full text]
  • Computer Organization & Architecture Eie
    COMPUTER ORGANIZATION & ARCHITECTURE EIE 411 Course Lecturer: Engr Banji Adedayo. Reg COREN. The characteristics of different computers vary considerably from category to category. Computers for data processing activities have different features than those with scientific features. Even computers configured within the same application area have variations in design. Computer architecture is the science of integrating those components to achieve a level of functionality and performance. It is logical organization or designs of the hardware that make up the computer system. The internal organization of a digital system is defined by the sequence of micro operations it performs on the data stored in its registers. The internal structure of a MICRO-PROCESSOR is called its architecture and includes the number lay out and functionality of registers, memory cell, decoders, controllers and clocks. HISTORY OF COMPUTER HARDWARE The first use of the word ‘Computer’ was recorded in 1613, referring to a person who carried out calculation or computation. A brief History: Computer as we all know 2day had its beginning with 19th century English Mathematics Professor named Chales Babage. He designed the analytical engine and it was this design that the basic frame work of the computer of today are based on. 1st Generation 1937-1946 The first electronic digital computer was built by Dr John V. Atanasoff & Berry Cliford (ABC). In 1943 an electronic computer named colossus was built for military. 1946 – The first general purpose digital computer- the Electronic Numerical Integrator and computer (ENIAC) was built. This computer weighed 30 tons and had 18,000 vacuum tubes which were used for processing.
    [Show full text]
  • Parallel Computer Architecture
    Parallel Computer Architecture Introduction to Parallel Computing CIS 410/510 Department of Computer and Information Science Lecture 2 – Parallel Architecture Outline q Parallel architecture types q Instruction-level parallelism q Vector processing q SIMD q Shared memory ❍ Memory organization: UMA, NUMA ❍ Coherency: CC-UMA, CC-NUMA q Interconnection networks q Distributed memory q Clusters q Clusters of SMPs q Heterogeneous clusters of SMPs Introduction to Parallel Computing, University of Oregon, IPCC Lecture 2 – Parallel Architecture 2 Parallel Architecture Types • Uniprocessor • Shared Memory – Scalar processor Multiprocessor (SMP) processor – Shared memory address space – Bus-based memory system memory processor … processor – Vector processor bus processor vector memory memory – Interconnection network – Single Instruction Multiple processor … processor Data (SIMD) network processor … … memory memory Introduction to Parallel Computing, University of Oregon, IPCC Lecture 2 – Parallel Architecture 3 Parallel Architecture Types (2) • Distributed Memory • Cluster of SMPs Multiprocessor – Shared memory addressing – Message passing within SMP node between nodes – Message passing between SMP memory memory nodes … M M processor processor … … P … P P P interconnec2on network network interface interconnec2on network processor processor … P … P P … P memory memory … M M – Massively Parallel Processor (MPP) – Can also be regarded as MPP if • Many, many processors processor number is large Introduction to Parallel Computing, University of Oregon,
    [Show full text]
  • Computer Memory Architecture Pdf
    Computer memory architecture pdf Continue The methods used to implement the electronic computer storage memory architecture describe the methods used to implement electronic computer data storage, in such a way that it is a combination of the fastest, most reliable, most durable and least expensive way to store and obtain information. Depending on the application, one of these requirements may need to be compromised to improve the other requirement. Memory architecture also explains how binary digits are converted into electrical signals and then stored in memory cells. As well as the structure of the memory cell. For example, dynamic memory is commonly used for primary storage because of the fast speed of access. However, dynamic memory must be repeatedly updated with a spike of current dozens of times per second, or stored data will disintegrate and be lost. Flash memory allows you to store for years, but it's much slower than dynamic memory, and static memory storage cells wear out when used frequently. Similarly, the data bead is often designed to meet specific needs such as serial or parallel access to data, and memory can be designed to detect parity errors or even correct errors. The earliest memory architectures are Harvard Architecture, which has two physically separate memories and data transfer paths for the program and data, and Princeton's architecture, which uses a single path of memory and data for both the program and the storage of data. Most general-purpose computers use a hybrid split-cache modified Harvard architecture, which appears to be an application program to have a clean Princeton architectural machine with gigabytes of virtual memory, but internally (for speed) it works with a cache of instructions physically separate from a data cache more like the Harvard model.
    [Show full text]
  • Introduction to Computer Architecture
    Introduction to Computer Architecture Mark Bull, EPCC Building Blocks of HPC Systems Four principal technologies which make up HPC systems: • Processors • to calculate • Memory • for temporary storage of data • Interconnect • so processors can talk to each other (and the outside world) • Storage • disks for storing input/output data and tapes for long term archiving of data • These talks will focus on the first two of these. 2 Processors • Basic functionality • execute instructions to perform arithmetic operations (integer and floating point) • load data from memory and store data to memory • decide which instructions to execute next • Arithmetic is performed on values in registers (local storage in the processor) • moving data between memory and registers must be done explicitly by load and store instructions • separate integer and floating point registers • typical size ~100 values • Basic characteristics: • Clock speed • Peak floating point capability 3 Processors (cont.) • Clock speed determines rate at which instructions are executed • modern chips are around 2-3 GHz • integer and floating point calculations can be done in parallel • can also have multiple issue, e.g. simultaneous add and multiply • peak flop rate is just clock rate x no. of floating point operations per clock cycle • Whole series of hardware innovations • pipelining • out-of-order execution, speculative computation • ... • Details of these become important for extracting high performance • most features are fairly generic 4 Moore’s Law • “CPU power doubles every
    [Show full text]
  • Programmable Address Generation Unit for Deep Neural Network Accelerators
    DEGREE PROJECT IN ELECTRICAL ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2020 Programmable Address Generation Unit for Deep Neural Network Accelerators MUHAMMAD JAZIB KHAN KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE KTH ROYAL INSTITUTE OF TECHNOLOGY Electrical Engineering and Computer Science Programmable Address Generation Unit for Deep Neural Network Accelerators Muhammad Jazib Khan Master in Electrical Engineering Supervisor KTH: Yu Yang Examiner: Prof. Ahmed Hemani School of Electrical Engineering and Computer Science Host company: Robert Bosch GmbH Supervisor Bosch: Sebastian Vogel and Dr. Leonardo Ecco Abstract The Convolutional Neural Networks are getting more and more popular due to their applications in revolutionary technologies like Autonomous Driving, Biomedical Imaging, and Natural Language Processing. With this increase in adoption, the complexity of underlying algorithms is also increasing. This trend entails implications for the computation platforms as well, i.e. GPUs, FPGA, or ASIC based accelerators, especially for the Address Generation Unit (AGU), which is responsible for the memory access. Existing accelerators typically have Parametrizable Datapath AGUs, which have minimal adaptability towards evolution in algorithms. Hence new hardware is required for new algorithms, which is a very inefficient approach in terms of time, resources, and reusability. In this research, six algorithms with different implications for hardware are evaluated for address generation, and a fully Programmable AGU (PAGU) is presented, which can adapt to these algorithms. These algorithms are Standard, Strided, Dilated, Upsampled and Padded convolution, and MaxPooling. The proposed AGU architecture is a Very Long Instruction Word based Application Specific Instruction Processor which has specialized components like hardware counters and zero-overhead loops and a powerful Instruction Set Architecture (ISA), which can model static and dynamic constraints and affine and non-affine Address Equations.
    [Show full text]
  • FPGA Implementation of RISC-Based Memory-Centric Processor Architecture
    (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 10, No. 9, 2019 FPGA Implementation of RISC-based Memory-centric Processor Architecture Danijela Efnusheva1 Computer Science and Engineering Department Faculty of Electrical Engineering and Information Technologies Skopje, North Macedonia Abstract—The development of the microprocessor industry in by the strict separation of the processing and memory resources terms of speed, area, and multi-processing has resulted with in the computer system. In such processor-centric system the increased data traffic between the processor and the memory in a memory is used for storing data and programs, while the classical processor-centric Von Neumann computing system. In processor interprets and executes the program instructions in a order to alleviate the processor-memory bottleneck, in this paper sequential manner, repeatedly moving data from the main we are proposing a RISC-based memory-centric processor memory in the processor registers and vice versa, [1]. architecture that provides a stronger merge between the Assuming that there is no final solution for overcoming the processor and the memory, by adjusting the standard memory processor-memory bottleneck, modern computer systems hierarchy model. Indeed, we are developing a RISC-based implement different types of techniques for "mitigating" the processor that integrates the memory into the same chip die, and occurrence of this problem, [10], (ex. branch prediction thus provides direct access to the on-chip memory, without the use of general-purpose registers (GPRs) and cache memory. The algorithms, speculative and re-order instructions execution, proposed RISC-based memory-centric processor is described in data and instruction pre-fetching, and multithreading, etc.).
    [Show full text]
  • A Scalable Near-Memory Architecture for Training Deep Neural Networks on Large In-Memory Datasets
    IEEE TRANSACTIONS ON COMPUTERS, VOL. (VOL), NO. (NO), (MONTH) (YEAR) 1 A Scalable Near-Memory Architecture for Training Deep Neural Networks on Large In-Memory Datasets Fabian Schuiki, Michael Schaffner, Frank K. Gürkaynak, and Luca Benini, Fellow, IEEE Abstract—Most investigations into near-memory hardware accelerators for deep neural networks have primarily focused on inference, while the potential of accelerating training has received relatively little attention so far. Based on an in-depth analysis of the key computational patterns in state-of-the-art gradient-based training methods, we propose an efficient near-memory acceleration engine called NTX that can be used to train state-of-the-art deep convolutional neural networks at scale. Our main contributions are: (i) a loose coupling of RISC-V cores and NTX co-processors reducing offloading overhead by 7× over previously published results; (ii) an optimized IEEE 754 compliant data path for fast high-precision convolutions and gradient propagation; (iii) evaluation of near-memory computing with NTX embedded into residual area on the Logic Base die of a Hybrid Memory Cube; and (iv) a scaling analysis to meshes of HMCs in a data center scenario. We demonstrate a 2:7× energy efficiency improvement of NTX over contemporary GPUs at 4:4× less silicon area, and a compute performance of 1:2 Tflop=s for training large state-of-the-art networks with full floating-point precision. At the data center scale, a mesh of NTX achieves above 95% parallel and energy efficiency, while providing 2:1× energy savings or 3:1× performance improvement over a GPU-based system.
    [Show full text]
  • Computer Architectures & Hardware Programming 1
    COMPUTER ARCHITECTURES & HARDWARE PROGRAMMING 1 Dr. Varga, Imre University of Debrecen Department of IT Systems and Networks 06 February 2020 Requirements Practice (signature, only Hardware Programming 1) Visit classes (maximum absences: 3) 2 practical tests • All tests at least 50% 1 re-take chance (covers the whole semester) Lecture (exam, CA & HP1) Written exam Multiple choice + Calculation/Programming + Essay • At least 40% Computer Architectures Warning Lexical knowledge about the slides are necessary, but not enough to pass. Understanding is necessary, that is why active participating on lectures are advantages. Other literature can be also useful. Computer Architectures Computer Science Engineering computer science… …engineering Assembly Electronics programming Computer Programming Digital architectures languages 1-2 design Physics Operating Database systems systems Embedded Signals and systems systems System programming Computer Architectures Topics Number representation, datatype implementation Essential structure and work of CPUs Modern processors Concrete processor architecture Instruction-set, programming Aspects of programming closely related to the hardware Basics of digital technology from the point of view of the hardware Assembly programming Mapping high-level programming to low-level Computer Architectures The goal of the subject Giving knowledge about hardware Creating connection between … ‚programming’ and ‚electronics’ ‚abstract’ and ‚fundamental’ knowledge Deeper understanding of high-level programming
    [Show full text]
  • Choosing a DSP Processor Berkeley Design Technology, Inc
    Choosing a DSP Processor Berkeley Design Technology, Inc. Introduction A second feature shared by DSP processors is the ability to complete several accesses to memory in a sin- DSP processors are microprocessors designed to per- gle instruction cycle. This allows the processor to fetch form digital signal processing—the mathematical ma- an instruction while simultaneously fetching operands nipulation of digitally represented signals. Digital signal and/or storing the result of a previous instruction to processing is one of the core technologies in rapidly memory. For example, in calculating the vector dot prod- growing application areas such as wireless communica- uct for an FIR filter, most DSP processors are able to per- tions, audio and video processing, and industrial control. form a MAC while simultaneously loading the data Along with the rising popularity of DSP applications, the sample and coefficient for the next MAC. Such single- variety of DSP-capable processors has expanded greatly cycle multiple memory accesses are often subject to since the introduction of the first commercially success- many restrictions. Typically, all but one of the memory ful DSP chips in the early 1980s. Market research firm locations accessed must reside on-chip, and multiple Forward Concepts projects that sales of DSP processors memory accesses can only take place with certain in- will total U.S. $6.2 billion in 2000, a growth of 40 per- structions. To support simultaneous access of multiple cent over 1999. With semiconductor manufacturers vy- memory locations, DSP processors provide multiple on- ing for bigger shares of this booming market, designers’ chip buses, multi-ported on-chip memories, and in some choices will broaden even further in the next few years.
    [Show full text]
  • PRIME: a Novel Processing-In-Memory Architecture for Neural Network Computation in Reram-Based Main Memory
    PRIME: A Novel Processing-in-memory Architecture for Neural Network Computation in ReRAM-based Main Memory Ping Chi∗, Shuangchen Li∗, Cong Xu†, Tao Zhang‡, Jishen Zhao§, Yongpan Liu¶,YuWang¶ and Yuan Xie∗ ∗Department of Electrical and Computer Engineering, University of California, Santa Barbara, CA 93106, USA †HP Labs, Palo Alto, CA 94304, USA; ‡NVIDIA Corporation, Santa Clara, CA 95950, USA §Department of Computer Engineering, University of California, Santa Cruz, CA 95064, USA ¶Department of Electronic Engineering, Tsinghua University, Beijing 100084, China ∗Email: {pingchi, shuangchenli, yuanxie}@ece.ucsb.edu Abstract—Processing-in-memory (PIM) is a promising so- by leveraging 3D memory technologies [6] to integrate lution to address the “memory wall” challenges for future computation logic with the memory. computer systems. Prior proposed PIM architectures put ad- Recent work demonstrated that some emerging non- ditional computation logic in or near memory. The emerging metal-oxide resistive random access memory (ReRAM) has volatile memories, such as metal-oxide resistive random showed its potential to be used for main memory. Moreover, access memory (ReRAM) [7], spin-transfer torque mag- with its crossbar array structure, ReRAM can perform matrix- netic RAM (STT-RAM) [8], and phase change memory vector multiplication efficiently, and has been widely studied to (PCM) [9], have the capability of performing logic and accelerate neural network (NN) applications. In this work, we arithmetic operations beyond data storage. This allows the propose a novel PIM architecture, called PRIME, to accelerate NN applications in ReRAM based main memory. In PRIME, memory to serve both computation and memory functions, a portion of ReRAM crossbar arrays can be configured as promising a radical renovation of the relationship between accelerators for NN applications or as normal memory for a computation and memory.
    [Show full text]
  • Computer Architecture Review Von Neumann Model, the CPU
    Computer Architecture Review ICS332 - Spring 2016 Operating Systems ENIAC (1946) Electronic Numerical Integrator and Calculator Stored-Program Computer (instead of Fixed-Program) Vacuum tubes, punch cards 100 kHz / 5 kIPS (now ~2-3GHz/5,000 MIPS) 8x3x100 ft; 27 tons 150 kW Programming with wires Von-Neumann In 1944, John von Neumann joined ENIAC He wrote a memo about computer architecture, formalizing ENIAC ideas Eckert and Mauchly have pretty much been forgotten (they were in the trenches) These ideas became the Von Neumann architecture model A processor that performs operations and controls all that happens A memory that contains code and data I/O of some kind Von-Neumann Model CPU Memory I/O System Amazingly, it’s still possible to think of the computer this way at a conceptual level (model from ~70 years ago!!!) But a computer today doesn’t look quite like this Von-Neumann Model CPU Memory I/O System Amazingly, it’s still possible to think of the computer this way at a conceptual level (model from ~70 years ago!!!) But a computer today doesn’t look quite like this Memory Bus Data Stored in Memory All “information” in the computer is in binary form Boolean algebra 1847. Truth value: True / False Claude Shannon's MS thesis 1937 Bit (binary digit): smallest unit of information 0: false/zero voltage, 1: true/positive voltage (e.g., 5V) The basic unit of memory is a byte (octet/octad(e)) 1 Byte = 8 bits, e.g., “0101 1101” Each byte in memory is labeled by a unique address All addresses in the machine have the same number of bits e.g., 16-bit addresses (today 39-bit/48-bit) The processor has instructions that say “Read the byte at address X and give me its value” and “Write some value into the byte at address X” Conceptual View of Memory address content 0000 0000 0000 0000 0110 1110 0000 0000 0000 0001 1111 0100 0000 0000 0000 0010 0000 0000 0000 0000 0000 0011 0000 0000 0000 0000 0000 0100 0101 1110 0000 0000 0000 0101 1010 1101 0000 0000 0000 0110 0000 0001 0000 0000 0000 0111 0100 0000 0000 0000 0000 1000 1111 0101 ..
    [Show full text]