Simulating a Balanced Ternary Ripple Carry Adder in Systemc: an Overview of an Under-Represented Radix

Total Page:16

File Type:pdf, Size:1020Kb

Simulating a Balanced Ternary Ripple Carry Adder in Systemc: an Overview of an Under-Represented Radix Bachelor Informatica Simulating a balanced ternary ripple carry adder in SystemC: an overview of an under-represented radix Brasso Kattenberg June 16, 2020 Informatica | Universiteit van Amsterdam Supervisor(s): Anthony van Inge Signed: Signees Abstract Binary computers are ubiquitous, but progress is slowing down. [23] This paper poses the balanced ternary base as an alternative and evaluates its merits as compared to binary with regards to transistor usage, and therefor latency, power usage; and construction complexity. A ternary trit represents more information than a binary bit by a factor of roughly 1.58. An overview of the timeline of this particular signed-digit base is given, as well as a comparison between binary and (balanced) ternary adder circuits. A balanced ternary ripple carry adder is simulated using SystemC to aid the evaluation. Quote Your computer uses ones and zeros to represent data. There's no real reason for be the basic unit of information in a computer to be only a one or zero, though. It's a historical choice that is common because of convention, like driving on one side of the road or having right-hand threads on bolts and screws. In fact, computers can be more efficient if they're built using different number systems. Base 3, or ternary, computing is more efficient at computation and actually makes the design of the computer easier. (...) Hackaday 2 Contents 1 Introduction 5 1.1 Research questions . .6 2 Timeline overview of past pursuits 7 3 Theoretical advantages of the balanced ternary radix 11 3.1 Radix economy . 11 3.1.1 Positional numeral system . 11 3.1.2 Ideal radix . 11 3.2 Negative numbers and representation . 12 3.3 Truncating-rounding equivalence . 12 3.4 Addition and multiplication tables . 13 3.5 Extra: calculating to and from balanced ternary . 13 4 Balanced Ternary logic 14 4.1 Single-input gates . 14 4.2 Dual-input gates . 14 5 Simulating a balanced ternary ripple carry adder 16 5.1 Making the choice for simulation with SystemC . 16 5.2 Balanced ternary ripple carry adder: design . 17 6 Balanced ternary gate design 19 6.1 Types of MOSFET . 19 6.2 Balanced ternary gates . 19 6.2.1 Substituting the any-gate . 19 6.3 Binary MOSFET-based gates . 20 7 Results and discussion 25 7.1 Simulation results . 25 7.2 Critical paths . 26 7.2.1 Binary critical path . 26 7.2.2 Balanced ternary critical path . 26 7.2.3 Comparison . 26 7.2.4 Delay: number of MOSFETs and OpAmps . 27 7.3 Component cost . 27 7.3.1 Total binary ripple carry adder cost . 27 7.3.2 Total balanced ternary ripple carry adder cost . 27 7.4 Sublinear addition . 28 3 8 Conclusions and future research 29 8.1 Latency . 29 8.2 Component count . 29 8.3 Final thoughts . 29 8.3.1 Logic levels and supply voltage . 30 8.4 Closing remarks . 30 4 CHAPTER 1 Introduction Moore's law is a well-known indication of computing capability progress. For years, Moore's law has been said to have ceased to apply, and various metrics have shown to be flat-lining. [23] Furthermore, semiconductor fabrication facilities are having increasing difficulty to advance production of ever smaller transistors. At the same time, the power efficiency benefits the industry is accustomed to with every smaller production node is decreasing as well, primarily due to increased leakage current and parasitic electrical effects at smaller scales. The increased density exacerbates issues such as interference, quantum tunnelling. Even endurance is at stake; life expectancy was long considered a non-issue, usually electrical lifespan far outstrips practical lifespan. [5] Furthermore, the high resolution required for the small-size components result in requiring multiple passes in the masking process, increasing manufacturing time, cost, and error-margin. Current chip production is impressively small; since the 1970s device fabrication has improved 3 orders of magnitude: from 10 micrometer (1∗10−5) to around 10 nanometer (1∗10−8). TSMC and Samsung currently produce 7nm chips, and have 5nm and 3nm on their roadmaps for the next two years. Past assumptions of physical 'hard' limits have been proven pessimistic as evidenced by these achievements, but these sizes are nearing the size of a silicon atom which has a atomic radius of 111 picometer, making its diameter 0.222 nanometer. Efforts to alleviate the problems of going ever smaller the industry are trying different materials than silicon, such as graphene; expanding chips from planar to using the third dimension which presents additional challenges with heat removal and tracing inter-planar connections. All-in-all, with all the problems the industry faces and the seemingly impending crossroads the computer technology will arrive at, now might be an opportune moment to re-evaluate alternative avenues other than the aforementioned electrical engineering or materials science. Why not take another look at the literal basis of computing: the radix we use for number representation? Binary is fairly ideal in a number of aspects: simplicity, noise-resilience, etc. However the ternary radix |in particular the balanced ternary radix| has several distinct advantages. log(3) • Trits represent log(2) ≈ 1:58 more information than bits. • Balanced radices have native representation of negative numbers, obviating the need for complement notation • Balanced radices present equivalence in truncating and rounding fractions. • The ternary radix is the closest integer base to Euler's number Such claims warrant investigation, as is done by numerous parties over time indicating recurring interest, there must be good reasons that compelled all these efforts. They are briefly mentioned in the next chapter before this paper will go into each of these aforementioned advantages, culminating in a discussion of arithmetic properties and aided by a simulated balanced ternary ripple carry adder. 5 1.1 Research questions Based on these claims, the following research questions- and sub questions have been formulated to investigate, which will be elaborated on in later sections 1. Can a (balanced) ternary architecture be more efficient than a binary equivalent? (a) What latency would a (balanced) ternary adder have? i. What is the critical path for a balanced ternary ripple carry adder? ii. What is the critical path for a binary ripple carry adder? iii. Is a sub-linear complexity ternary adder possible? (b) What effect does a (balanced) ternary radix have on component count? 6 CHAPTER 2 Timeline overview of past pursuits Chronologically, the earliest suggested [13] appearance of signed digit arithmetic is in the Hindu Vedic texts known as the Vedas from the Vedic period (India, 1500-500 BCE) [6] Balanced ternary specifically is mentioned in the 1544 Arithmetica Integra by Michael Stifel. [27] There the numbers 1-40 are represented as sums of (positive and negative) powers of three; indicating counting with balanced ternary. Charles Babbage's place in the history of computing is fairly well-known, with the designs he made for his difference engine (1822) and analytical engine (1837). [8] Babbage was ahead of his time, the difference engine was built over a century later in 1991 by the London Science Musuem, decades after the first electronic computers. https://en.wikipedia.org/wiki/Analytical_ Engine The Analytical engine was never built, but efforts into researching and potentially building the turing-complete design started in 2010 led by John Graham-Cumming. Unfortunately, the early digital computer pioneers (ENIAC) were unaware of Babbage's efforts and as such several architectural innovations had to be re-invented. Lesser-known than Charles Babbage is Thomas Fowler, who invented and built a wooden computer based on the balanced ternary numeral system. His machine did not survive, but a replica was built in 1999-2000. [12] [30] Figure 2.1: Fowler's machine. stained glass window, St. Michaels Church [Torrington, Devon] Claude E. Shannon wrote in 1950 about balanced ternary (and other signed-digit symmetrical systems) [25] In 1952, Grosch proposed using balanced ternary for the Whirlwind II project. [21] [22] [10] 7 Figure 2.2: reconstruction of Fowler's machine, by Glusker, Vass & Hogan In 1958, |the Sputnik-era| the Moscow State University led by Brusentsov built an electronic ternary computer called the Setun, named after a nearby river. [21] 50 machines were produced between 1959-1965. It was both economical (27,500 rubles) and reliable (17 years continuous operation, 3 components replaced in year 1) despite the sometimes harsh operating climates. It was also deemed power efficient but this was not quantified. [19] Heralded for its architectural simplicity, unfortunately it was constructed with two binary components for every trit. [7] Its successor the Setun-70 from 1970 can be considered the last ternary computer. [10] Figure 2.3: original Setun 1958 8 Figure 2.4: Setun, serially produced model Figure 2.5: Setun-70 In 1969, Donald Knuth wrote in 'the art of computer programming' about balanced ternary calling it "perhaps the prettiest number system of all". [17] In 1973, Gideon Frieder at the State University New York, Buffalo implemented the TERNAC, an emulation in FORTRAN to validate the feasibility of a ternary computer. It featured both fixed and floating point arithmetic. It was deemed successful, the speed and price was in the order of binary computers. [11] [22] [10] 9 In 2014 Jessie Tank started working on a FPGA implementation of a balanced ternary cpu [28] which she presented on in 2016 [29] Simultaneously Tank is involved in the cryptocurrency IOTA, which launched
Recommended publications
  • Zero Displacement Ternary Number System: the Most Economical Way of Representing Numbers
    Revista de Ciências da Computação, Volume III, Ano III, 2008, nº3 Zero Displacement Ternary Number System: the most economical way of representing numbers Fernando Guilherme Silvano Lobo Pimentel , Bank of Portugal, Email: [email protected] Abstract This paper concerns the efficiency of number systems. Following the identification of the most economical conventional integer number system, from a solid criteria, an improvement to such system’s representation economy is proposed which combines the representation efficiency of positional number systems without 0 with the possibility of representing the number 0. A modification to base 3 without 0 makes it possible to obtain a new number system which, according to the identified optimization criteria, becomes the most economic among all integer ones. Key Words: Positional Number Systems, Efficiency, Zero Resumo Este artigo aborda a questão da eficiência de sistemas de números. Partindo da identificação da mais económica base inteira de números de acordo com um critério preestabelecido, propõe-se um melhoramento à economia de representação nessa mesma base através da combinação da eficiência de representação de sistemas de números posicionais sem o zero com a possibilidade de representar o número zero. Uma modificação à base 3 sem zero permite a obtenção de um novo sistema de números que, de acordo com o critério de optimização identificado, é o sistema de representação mais económico entre os sistemas de números inteiros. Palavras-Chave: Sistemas de Números Posicionais, Eficiência, Zero 1 Introduction Counting systems are an indispensable tool in Computing Science. For reasons that are both technological and user friendliness, the performance of information processing depends heavily on the adopted numbering system.
    [Show full text]
  • Balanced Ternary Arithmetic on the Abacus
    Balanced Ternary Arithmetic on the Abacus What is balanced ternary? It is a ternary number system where the digits of a number are powers of three rather than powers of ten, but instead of adding multiples of one or two times various powers of three to make up the desired number, in balanced ternary some powers of three are added and others are subtracted. Each power of three comprisising the number is represented by either a +, a -, or 0, to show that the power of three is either added, subtracted, or not present in the number. There are no multiples of a power of three greater than +1 or -1, which greatly simplifies multiplication and division. Another advantage of balanced ternary is that all integers can be represented, both positive and negative, without the need for a separate symbol to indicate plus or minus. The most significant ternary digit (trit) of any positive balanced ternary number is + and the most significant trit of any negative number is -. Here is a list of a few numbers in decimal, ternary, and balanced ternary: Decimal Ternary Balanced ternary ------------------------------------------------- -6 - 20 - + 0 (-9+3) -5 - 12 - + + (-9+3+1) -4 - 11 - - ( -3-1) -3 - 10 - 0 etc. -2 - 2 - + -1 - 1 - 0 0 0 1 1 + 2 2 + - 3 10 + 0 4 11 + + 5 12 + - - 6 20 + - 0 Notice that the negative of a balanced ternary number is formed simply by inverting all the + and - signs in the number. Thomas Fowler in England, about 1840, built a balanced ternary calculating machine capable of multiplying and dividing balanced ternary numbers.
    [Show full text]
  • Number Systems and Radix Conversion
    Number Systems and Radix Conversion Sanjay Rajopadhye, Colorado State University 1 Introduction These notes for CS 270 describe polynomial number systems. The material is not in the textbook, but will be required for PA1. We humans are comfortable with numbers in the decimal system where each po- sition has a weight which is a power of 10: units have a weight of 1 (100), ten’s have 10 (101), etc. Even the fractional apart after the decimal point have a weight that is a (negative) power of ten. So the number 143.25 has a value that is 1 ∗ 102 + 4 ∗ 101 + 3 ∗ 0 −1 −2 2 5 10 + 2 ∗ 10 + 5 ∗ 10 , i.e., 100 + 40 + 3 + 10 + 100 . You can think of this as a polyno- mial with coefficients 1, 4, 3, 2, and 5 (i.e., the polynomial 1x2 + 4x + 3 + 2x−1 + 5x−2+ evaluated at x = 10. There is nothing special about 10 (just that humans evolved with ten fingers). We can use any radix, r, and write a number system with digits that range from 0 to r − 1. If our radix is larger than 10, we will need to invent “new digits”. We will use the letters of the alphabet: the digit A represents 10, B is 11, K is 20, etc. 2 What is the value of a radix-r number? Mathematically, a sequence of digits (the dot to the right of d0 is called the radix point rather than the decimal point), : : : d2d1d0:d−1d−2 ::: represents a number x defined as follows X i x = dir i 2 1 0 −1 −2 = ::: + d2r + d1r + d0r + d−1r + d−2r + ::: 1 Example What is 3 in radix 3? Answer: 0.1.
    [Show full text]
  • A Ternary Arithmetic and Logic
    Proceedings of the World Congress on Engineering 2010 Vol I WCE 2010, June 30 - July 2, 2010, London, U.K. A Ternary Arithmetic and Logic Ion Profeanu which supports radical ontological dualism between the two Abstract—This paper is only a chapter, not very detailed, of eternal principles, Good and Evil, which oppose each other a larger work aimed at developing a theoretical tool to in the course of history, in an endless confrontation. A key investigate first electromagnetic fields but not only that, (an element of Manichean doctrine is the non-omnipotence of imaginative researcher might use the same tool in very unusual the power of God, denying the infinite perfection of divinity areas of research) with the stated aim of providing a new perspective in understanding older or recent research in "free that has they say a dual nature, consisting of two equal but energy". I read somewhere that devices which generate "free opposite sides (Good-Bad). I confess that this kind of energy" works by laws and principles that can not be explained dualism, which I think is harmful, made me to seek another within the framework of classical physics, and that is why they numeral system and another logic by means of which I will are kept far away from public eye. So in the absence of an praise and bring honor owed to God's name; and because adequate theory to explain these phenomena, these devices can God is One Being in three personal dimensions (the Father, not reach the design tables of some plants in order to produce them in greater number.
    [Show full text]
  • Scalability of Algorithms for Arithmetic Operations in Radix Notation∗
    Scalability of Algorithms for Arithmetic Operations in Radix Notation∗ Anatoly V. Panyukov y Department of Computational Mathematics and Informatics, South Ural State University, Chelyabinsk, Russia [email protected] Abstract We consider precise rational-fractional calculations for distributed com- puting environments with an MPI interface for the algorithmic analysis of large-scale problems sensitive to rounding errors in their software imple- mentation. We can achieve additional software efficacy through applying heterogeneous computer systems that execute, in parallel, local arithmetic operations with large numbers on several threads. Also, we investigate scalability of the algorithms for basic arithmetic operations and methods for increasing their speed. We demonstrate that increased efficacy can be achieved of software for integer arithmetic operations by applying mass parallelism in het- erogeneous computational environments. We propose a redundant radix notation for the construction of well-scaled algorithms for executing ba- sic integer arithmetic operations. Scalability of the algorithms for integer arithmetic operations in the radix notation is easily extended to rational- fractional arithmetic. Keywords: integer computer arithmetic, heterogeneous computer system, radix notation, massive parallelism AMS subject classifications: 68W10 1 Introduction Verified computations have become indispensable tools for algorithmic analysis of large scale unstable problems (see e.g., [1, 4, 5, 7, 8, 9, 10]). Such computations require spe- cific software tools; in this connection, we mention that our library \Exact computa- tion" [11] provides appropriate instruments for implementation of such computations ∗Submitted: January 27, 2013; Revised: August 17, 2014; Accepted: November 7, 2014. yThe author was supported by the Federal special-purpose program "Scientific and scientific-pedagogical personnel of innovation Russia", project 14.B37.21.0395.
    [Show full text]
  • VSI Openvms C Language Reference Manual
    VSI OpenVMS C Language Reference Manual Document Number: DO-VIBHAA-008 Publication Date: May 2020 This document is the language reference manual for the VSI C language. Revision Update Information: This is a new manual. Operating System and Version: VSI OpenVMS I64 Version 8.4-1H1 VSI OpenVMS Alpha Version 8.4-2L1 Software Version: VSI C Version 7.4-1 for OpenVMS VMS Software, Inc., (VSI) Bolton, Massachusetts, USA C Language Reference Manual Copyright © 2020 VMS Software, Inc. (VSI), Bolton, Massachusetts, USA Legal Notice Confidential computer software. Valid license from VSI required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for VSI products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. VSI shall not be liable for technical or editorial errors or omissions contained herein. HPE, HPE Integrity, HPE Alpha, and HPE Proliant are trademarks or registered trademarks of Hewlett Packard Enterprise. Intel, Itanium and IA64 are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Java, the coffee cup logo, and all Java based marks are trademarks or registered trademarks of Oracle Corporation in the United States or other countries. Kerberos is a trademark of the Massachusetts Institute of Technology.
    [Show full text]
  • Arxiv:1611.03715V1 [Cs.OH] 25 Oct 2016
    On the optimality of ternary arithmetic for compactness and hardware designI Harris V. Georgiou (MSc, PhD)1,1 aDepartment of Informatics & Telecommunications (DIT), National Kapodistrian University of Athens (NKUA/UoA), Greece Abstract In this paper, the optimality of ternary arithmetic is investigated under strict mathematical formulation. The arithmetic systems are presented in generic form, as the means to encode numeric values, and the choice of radix is asserted as the main parameter to assess the efficiency of the representation, in terms of information compactness and estimated implementation cost in hardware. Using proper formulations for the optimization task, the universal constant e (base of natural logarithms) is proven as the most efficient radix and ternary is asserted as the closest integer choice. Keywords: arithmetic systems, ternary arithmetic, computer technology 1. Introduction The term arithmetic system refers to the way a number is represented as a sequence of symbols associated with a specific power series. More specifically, a radix r is selected as the the base of the arithmetic system and every number is expressed as a sum of powers of this radix. As humans, we learn to count in the decimal arithmetic system, i.e., using powers of 10, purely for practical reasons. Children learn basic arithmetic by using their ten fingers, thus each time they count to 10, a carrier is created and added to the next power index. For example, the number 1,234 is actually a shortcut to the full representation: 3 2 1 0 arXiv:1611.03715v1 [cs.OH] 25 Oct 2016 123410 = 1 · 1:000 + 2 · 100 + 3 · 10 + 4 = 1 · 10 + 2 · 10 + 3 · 10 + 4 · 10 The proper representation of the number orders the coefficients for each radix power in left-to-right ranking and includes a subscript displaying the radix.
    [Show full text]
  • Fibonacci P-Codes and Codes of the “Golden” P-Proportions: New Informational and Arithmetical Foundations of Computer Scienc
    British Journal of Mathematics & Computer Science 17(1): 1-49, 2016, Article no.BJMCS.25969 ISSN: 2231-0851 SCIENCEDOMAIN international www.sciencedomain.org Fibonacci p-codes and Codes of the “Golden” p-proportions: New Informational and Arithmetical Foundations of Computer Science and Digital Metrology for Mission-Critical Applications Alexey Stakhov1* 1International Club of the Golden Section, Canada. Author’s contribution The sole author designed, analyzed and interpreted and prepared the manuscript. Article Information DOI: 10.9734/BJMCS/2016/25969 Editor(s): (1) Wei-Shih Du, Department of Mathematics, National Kaohsiung Normal University, Taiwan. Reviewers: (1) Santiago Tello-Mijares, Instituto Tecnológico Superior de Lerdo, Mexico. (2) Danyal Soybas, Erciyes University, Turkey. (3) Manuel Alberto M. Ferreira, ISCTE-IUL, Portugal. Complete Peer review History: http://sciencedomain.org/review-history/14921 Received: 28th March 2016 Accepted: 2nd June 2016 Original Research Article Published: 7th June 2016 _______________________________________________________________________________ Abstract In the 70s and 80s years of the past century, the new positional numeral systems, called Fibonaссi p-codes and codes of the golden p-proportions, as new informational and arithmetical foundations of computer science and digital metrology, was considered as one of the most important directions of Soviet computer science and digital metrology for mission-critical applications. The main advantage of this direction was to improve the information reliability of computer and measuring systems. This direction has been patented abroad widely (more than 60 patents of US, Japan, England, France, Germany, Canada and other countries). Theoretical basis of this direction have been described in author’s books "Introduction into the Algorithmic Measurement Theory" (1977), and "Codes of the Golden Proportion" (1984).
    [Show full text]
  • Number Systems Radix Number Systems Radix Number Systems
    Number Systems 4/26/2010 Number Systems Radix Number Systems binary, octal, and hexadecimal numbers basic idea of a radix number system ‐‐ why used how do we count: conversions, including to/from decimal didecimal : 10 dis tinc t symblbols, 0‐9 negative binary numbers when we reach 9, we repeat 0‐9 with 1 in front: 0,1,2,3,4,5,6,7,8,9, 10,11,12,13, …, 19 floating point numbers then with a 2 in front, etc: 20, 21, 22, 23, …, 29 character codes until we reach 99 then we repeat everything with a 1 in the next position: 100, 101, …, 109, 110, …, 119, …, 199, 200, … other number systems follow the same principle with a different base (radix) Lubomir Bic 1 Lubomir Bic 2 Radix Number Systems Radix Number Systems octal: we have only 8 distinct symbols: 0‐7 binary: we have only 2 distinct symbols: 0, 1 when we reach 7, we repeat 0‐7 with 1 in front why?: digital computer can only represent 0 and 1 012345670,1,2,3,4,5,6,7, 10,11,12,13, …, 17 when we reach 1, we repeat 0‐1 with 1 in front then with a 2 in front, etc: 20, 21, 22, 23, …, 27 0,1, 10,11 until we reach 77 then we repeat everything with a 1 in the next position: then we repeat everything with a 1 in the next position: 100, 101, 110, 111, 1000, 1001, 1010, 1011, 1100, … 100, 101, …, 107, 110, …, 117, …, 177, 200, … decimal to binary correspondence: decimal to octal correspondence: D 01234 5 6 7 8 9 101112… D 0 1 … 7 8 9 10 11 … 15 16 17 … 23 24 … 63 64 … B 0 1 10 11 100 101 110 111 1000 1001 1010 1011 1100 … O 0 1 … 7 10 11 12 13 … 17 20 21 … 27 30 … 77 100 …
    [Show full text]
  • United States Patent 15 3,700,872 May [45] Oct
    United States Patent 15 3,700,872 May [45] Oct. 24, 1972 54 RADX CONVERSON CRCUTS Primary Examiner - Maynard R. Wilbur Assistant Examiner- Leo H. Boudreau (72) Inventor: Frederick T. May, Austin,Tex. Attorney-Hanifin and Clark and D. Kendall Cooper (73) Assignee: International Business Corporation, Armonk, N.Y. 57) ABSTRACT 22 Filed: Aug. 22, 1969 Data conversion circuits with optimized common hardware convert numbers expressed in a first radix C (21) Appl. No.: 852,272 to other radices n1, m2, etc., with the mode of opera Related U.S. Application Data tion being controlled to establish a radix C to radix ml conversion in one mode, a radix C to radix n2 conver 63 Continuation-in-part of Ser. No. 517,764, Dec. sion in another mode, etc., on a selective basis, as 30, 1965, abandoned. desired. In a first embodiment, numbers represented in a binary (base 2) radix Care converted to a base 10 52 U.S. Ct.............. 235/155,340/347 DD, 235/165 (n1) or base 12(m2) representation. In a second em 51 int. Cl.............................................. HO3k 13/24 bodiment, numbers stored in a ternary (base 3) radix 58 Field of Search......... 340/347 DD; 235/155, 165 C representation are converted to a base 12 (n1) or base 10 (m2) representation. The circuits are 56 References Cited predicated upon recognition of the fact that a number UNITED STATES PATENTS represented in a first radix can be converted readily to a second radix using shared hardware if the following 2,620,974 12/1952 Waltat.................... 23.5/155 X equation is satisfied: 2,831,179 4/1958 Wright et al..........
    [Show full text]
  • Basic Digit Sets for Radix Representation
    LrBRAJ7T LIBRARY r TECHNICAL REPORT SECTICTJ^ Kkl B7-CBT SSrTK*? BAVAI PC "T^BADUATB SCSOp POSTGilADUAIS SCSftQl NPS52-78-002 . NAVAL POSTGRADUATE SCHOOL Monterey, California BASIC DIGIT SETS FOR RADIX REPRESENTATION David W. Matula June 1978 a^oroved for public release; distribution unlimited. FEDDOCS D 208.14/2:NPS-52-78-002 NAVAL POSTGRADUATE SCHOOL Monterey, California Rear Admiral Tyler Dedman Jack R. Bor sting Superintendent Provost The work reported herein was supported in part by the National Science Foundation under Grant GJ-36658 and by the Deutsche Forschungsgemeinschaft under Grant KU 155/5. Reproduction of all or part of this report is authorized. This report was prepared by: UNCLASSIFIED SECURITY CLASSIFICATION OF THIS PAGE (When Data Entered) READ INSTRUCTIONS REPORT DOCUMENTATION PAGE BEFORE COMPLETING FORM 1. REPORT NUMBER 2. GOVT ACCESSION NO. 3. RECIPIENT'S CATALOG NUMBER NPS52-78-002 4. TITLE (and Subtitle) 5. TYPE OF REPORT ft PERIOD COVERED BASIC DIGIT SETS FOR RADIX REPRESENTATION Final report 6. PERFORMING ORG. REPORT NUMBER 7. AUTHORS 8. CONTRACT OR GRANT NUM8ERfa; David W. Matula 9. PERFORMING ORGANIZATION NAME AND ADDRESS 10. PROGRAM ELEMENT, PROJECT, TASK AREA ft WORK UNIT NUMBERS Naval Postgraduate School Monterey, CA 93940 11. CONTROLLING OFFICE NAME AND ADDRESS 12. REPORT DATE Naval Postgraduate School June 1978 Monterey, CA 93940 13. NUMBER OF PAGES 33 14. MONITORING AGENCY NAME ft AODRESSf// different from Controlling Olllce) 15. SECURITY CLASS, (ot thta report) Unclassified 15«. DECLASSIFI CATION/ DOWN GRADING SCHEDULE 16. DISTRIBUTION ST ATEMEN T (of thta Report) Approved for public release; distribution unlimited. 17. DISTRIBUTION STATEMENT (of the mbatract entered In Block 20, if different from Report) 18.
    [Show full text]
  • Part I Number Representation
    Part I Number Representation Parts Chapters 1. Numbers and Arithmetic 2. Representing Signed Numbers I. Number Representation 3. Redundant Number Systems 4. Residue Number Systems 5. Basic Addition and Counting 6. Carry-Lookahead Adders II. Addition / Subtraction 7. Variations in Fast Adders 8. Multioperand Addition 9. Basic Multiplication Schemes 10. High-Radix Multipliers III. Multiplication 11. Tree and Array Multipliers 12. Variations in Multipliers 13. Basic Division Schemes 14. High-Radix Dividers IV . Division Elementary Operations Elementary 15. Variations in Dividers 16. Division by Convergence 17. Floating-Point Reperesentations 18. Floating-Point Operations V. Real Arithmetic 19. Errors and Error Control 20. Precise and Certifiable Arithmetic 21. Square-Rooting Methods 22. The CORDIC Algorithms VI. Function Evaluation 23. Variations in Function Evaluation 24. Arithmetic by Table Lookup 25. High-Throughput Arithmetic 26. Low-Power Arithmetic VII. Implementation Topics 27. Fault-Tolerant Arithmetic 28. Past,Reconfigurable Present, and Arithmetic Future Appendix: Past, Present, and Future Mar. 2015 Computer Arithmetic, Number Representation Slide 1 About This Presentation This presentation is intended to support the use of the textbook Computer Arithmetic: Algorithms and Hardware Designs (Oxford U. Press, 2nd ed., 2010, ISBN 978-0-19-532848-6). It is updated regularly by the author as part of his teaching of the graduate course ECE 252B, Computer Arithmetic, at the University of California, Santa Barbara. Instructors can use these slides freely in classroom teaching and for other educational purposes. Unauthorized uses are strictly prohibited. © Behrooz Parhami Edition Released Revised Revised Revised Revised First Jan. 2000 Sep. 2001 Sep. 2003 Sep. 2005 Apr. 2007 Apr.
    [Show full text]