Fast Logarithms on a Floating-Point Device
|
|
- Morgan Nelson
- 2 years ago
- Views:
Transcription
1 TMS320 DSP DESIGNER S NOTEBOOK Fast Logarithms on a Floating-Point Device APPLICATION BRIEF: SPRA218 Keith Larson Digital Signal Processing Products Semiconductor Group Texas Instruments March 1993
2 IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and advises its customers to obtain the latest version of relevant information to verify, before placing orders, that the information being relied on is current. TI warrants performance of its semiconductor products and related software to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Certain application using semiconductor products may involve potential risks of death, personal injury, or severe property or environmental damage ( Critical Applications ). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED, OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT APPLICATIONS, DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. Inclusion of TI products in such applications is understood to be fully at the risk of the customer. Use of TI products in such applications requires the written approval of an appropriate TI officer. Questions concerning potential risk applications should be directed to TI through a local SC sales office. In order to minimize risks associated with the customer s applications, adequate design and operating safeguards should be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein. Nor does TI warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. Copyright 1997, Texas Instruments Incorporated
3 TRADEMARKS TI is a trademark of Texas Instruments Incorporated. Other brands and names are the property of their respective owners.
4 CONTACT INFORMATION US TMS320 HOTLINE (281) US TMS320 FAX (281) US TMS320 BBS (281) US TMS320
5 Contents Abstract... 7 Design Problem... 8 Solution... 8 Figures Figure 1. Accuracy Plot Tables Table 1. Squaring Operation of F0 =
6 Fast Logarithms on a Floating-Point Device Abstract This document discusses a fast way to calculate logarithms (base 2) on a TMS320C30 or TMS320C40. This TMS320C30/C40 function calculates the log base two of a number in about half the time of conventional algorithms. The method can easily be scaled for faster execution if less accuracy is desired. The mathematics of the function is discussed in detail. There are plots to determine accuracy at different calculation levels, and a complete code listing. Fast Logarithms on a Floating-Point Device 7
7 Design Problem Solution What is the fastest way to calculate logarithms (base 2) on a TMS320C30 or TMS320C40? The following TMS320C30/C40 function calculates the log base two of a number in about half the time of conventional algorithms. Furthermore, the method can easily be scaled for faster execution if less accuracy is desired. The method is efficient because the algorithm uses the floating-point multipliers exponent/normalization hardware in a unique way. The following is a proof of the algorithm. The value of a floating point number X is given by: X = 2^EXP_old * mant_old If you then consider that the bit fields used to store the exponent and mantissa are actually integer, you will notice that the exponent is already in log2 (log base 2) form. In fact, the exponent is nothing more than a normalizing shift value. By converting both sides of the first equation to a logarithm, we find that the logarithm of the value becomes the sum of the exponent and mantissa in log form: log2(x) = EXP_old + log2(mant_old) (Log base two) Since EXP is in the exponent register, no calculation is needed and the value can be used directly as an integer. To extract the value of the exponent, PUSH, POP, and masking operations are used. The remaining mantissa conversion is done by first forcing the exponent bits to zero using an LDE 1.0 instruction. This causes the exponent term 2^EXP to equal 1.0, leaving 1.0 Value < 2.0. Then, by using the following identity, the logarithm of the mantissa can be extracted from the final result exponent. If the value (mant_old) is repeatedly squared, the sequence becomes: X_new = mant_old^n Where: 1.0 X_new < 2^N N = 1,2,4,8,16... Since the hardware multiplier will restructure the new value (X_new) during each squaring operation, we see that X_new will be represented by a new exponent (EXP_new) and mantissa (mant_new). X_new = 2^EXP_New * mant_new 8 SPRA218
8 By then applying familiar logarithm rules, we find that EXP_new holds the logarithm of Old_mant. This is best shown by setting the previous two equations equal to each other and taking the logarithm of both sides. mant_old^n = 2^EXP_new * mant_new N=1,2,4,8,16... N * log2(mant_old) = EXP_new + log2(mant_new) log2(mant_old) = EXP_new/N + log2(mant_new)/n This last equation shows that the logarithm of mant_old is indeed related to EXP_new. And as shown earlier, EXP_new can be separated from the new mantissa and used as the logarithm of the original mantissa. We also need to consider the divisor N, which is defined to be the series 1, 2, 4, 8, 16..., and EXP_new is an integer. The division by N becomes a shift for each squaring operation. What remains is to concatenate the bits of EXP_new to EXP_old and then repeat the process until the desired accuracy is achieved. Example Consider a mantissa value of 1.5 and an exponent value of 0 (giving an exponent multiplier 2^0, or 1.0). The TMS320C30/ C40 extended register bit pattern for the algorithm sequence is shown below. Table 1. Squaring Operation of F0 = 1.5 Exp S Mantissa X =1.5 Exp= X^2 =2.25 Exp= X^4 = Exp= X^8 = Exp= X^16 = Exp= X^32 = E3 Exp= X^64 = E9 Exp= X^128 = E21 Exp=74 XXXXXXXX S MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM Hand-calculated value of log2(1.5) log2(1.5) = = xxxxxxx Åfirst 7 bits (exponent) mmm Åquick 3 bits (mantissa) Fast Logarithms on a Floating-Point Device 9
9 Figure 1. Accuracy Plot If you compare the hand-calculated value and the binary representation of log2(1.5) you will find that the sequence of bits in the exponent (seven bits worth) are equivalent to the seven MSBs of the logarithm. If the exponent could hold all the bits needed for full accuracy, then it would be possible to continue the operation for all 24 bits of the mantissa. Since there are only eight bits in the exponent and the MSBs is used for negative values, only seven iterations are possible before the exponent must be off-loaded and reinitialized to zero. By concatenating EXP_new to the previous exponent, longer strings of bits can be built for greater accuracy. The process is then repeated until the desired accuracy is achieved. Also remember that the original numbers exponent, which represents the whole number part of the result, becomes the eight MSBs of the final result. Another trick is to look at the three MSBs of the mantissa, and apply a roundup from the fourth bit, those same MSBs can be used as a quick extension of the exponent (logarithm). To visualize this, consider the following tabulated values and graph. NOTE: Notice how the fractional part is the same at the endpoints. 10 SPRA218
10 Example 1. Code Listing In the middle, only a slight bowing exists which can either be ignored or option-ally rounded for better accuracy. The maximum actually occurs at a mantissa value of 1/ln(2.0) or The value of log2(mant) at that point is , giving a maximum error of When finished, the bits representing the finished logarithm are in a fixed-point notation and will need to be scaled. This is done by using the FLOAT instruction followed by a multiplication by a constant scaling factor. If the final result needs to be in any other base, the scaling factor is simply adjusted for that base. Here are a few more helpful points. The round-off accuracy of the first three squaring operations will affect the final result if >21 mantissa bits are desired. A RND instruction placed after the first three MPYF R0,R0 instructions will remedy this, but adds to the cycle count. When the input value approaches 1.0, the result will be driven close to zero and accuracy will suffer. In this case, an input range comparison and a branch to a McLauren series expansion is used as a solution with minimal degradation in speed. This is because the power series converges quickly for input values close to 1.0. If you only need to calculate a visual quality logarithm, such as in spectrum analysis, the logarithm can often be calculated in one cycle. In this case the mantissa is substituted directly into the fractional bits of the logarithm giving a maximum error of (about 3.5 bits). The one cycle arises from the need to remove the 2 s compliment sign bit in the TMS320C30/ C40 s mantissa. As far as your eye is concerned, it will never notice the difference! ************************************************************* * FAST logarithm for FFT displays * * >>>> NEED ONLY ADD ONE INSTRUCTION IN MANY CASES <<<< * ************************************************************* ; MPYF REAL,REAL,R0 ; calculate the magnitude MPYF IMAG,IMAG,R1 ; Note: sign bit is zero ADDF R1,R0 ; ASH -1,R0 ;<- One instruction logarithm! STF R0,OUT ; scaled externally in DAC ; ************************************************************* * _log_e.asm DEVICE: TMS320C30 * *************************************************************.global _log_e _log_e: POP AR1 ; return address -> AR1 POPF R0 ; X -> R0 LDF R0,R1 ; use R1 to accumulate answer Fast Logarithms on a Floating-Point Device 11
11 LDI 2,RC ; repeat 3x RPTB loop ; *3 + 9 ASH 7,R1 ; LDE 1.0,R0 ; EXP = 0 MPYF R0,R0 ; mant^2 MPYF R0,R0 ; mant^4 MPYF R0,R0 ; mant^8 MPYF R0,R0 ; mant^16 MPYF R0,R0 ; mant^32 MPYF R0,R0 ; mant^64 MPYF R0,R0 ; mant^128 PUSHF R0 ; offload 7 bits of exponent POP R3 ; ASH -24,R3 ; remove mantissa loop: OR R3,R1 ; R2 accumulates EXP <log2(man)> ASH 11,R1 ; Jam mant_r1 to top ; (concat. EXP_old) ASH -20,R0 ; align and append the ; MSBs of mant_r0 OR R0,R1 ; (accurate to 3 bits) PUSHF R1 ; PUSH EXP and Mantissa ; (sign is now data!) POP R0 ; POP as integer (EXP+FRACTION) BD AR1 ; FLOAT R0 ; convert EXP+FRACTION to float ; scale the result by 2^-24 ; and change base ADDI 1,SP ; restore stack pointer.data CONST_ADR:.word CONST CONST.long 0e h ;Base e hand calc w/1 lsb round.end 12 SPRA218
Binary Search Algorithm on the TMS320C5x
TMS320 DSP DESIGNER S NOTEBOOK Binary Search Algorithm on the TMS320C5x APPLICATION BRIEF: SPRA238 Lawrence Wong Digital Signal Processing Products Semiconductor Group Texas Instruments May 1994 IMPORTANT
Floating Point C Compiler: Tips and Tricks Part I
TMS320 DSP DESIGNER S NOTEBOOK Floating Point C Compiler: Tips and Tricks Part I APPLICATION BRIEF: SPRA229 Karen Baldwin Digital Signal Processing Products Semiconductor Group Texas Instruments June 1993
SN54LS381A, SN54S381, SN74LS381A, SN54LS382A, SN74LS382A, SN74S381 ARITHMETIC LOGIC UNITS/FUNCTION GENERATORS
PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include
Supporting External DMA Activity to Internal RAM for TMS320C5x Devices With the PZ Package
TMS320 DSP DESIGNER S NOTEBOOK Supporting External DMA Activity to Internal RAM for TMS320C5x Devices With the PZ Package APPLICATION BRIEF: SPRA237 Jim Larimer Digital Signal Processing Products Semiconductor
Theory and Implementation of a Splitband Modem Using the TMS32010
Theory and Implementation of a Splitband Modem Using the TMS32010 APPLICATION REPORT: SPRA013 George Troullinos, Peter Ehlig, Raj Chirayll, Jon Bradley, Domingo Garcia Digital Signal Processor Products
SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS
The SN54165 and SN74165 devices SN54165, SN54LS165A, SN74165, SN74LS165A PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments
Creating a Delay Buffer on a TMS320C2x EVM
TMS320 DSP DESIGNER S NOTEBOOK Creating a Delay Buffer on a TMS320C2x EVM APPLICATION BRIEF: SPRA214 Tom Horner Digital Signal Processing Products Semiconductor Group Texas Instruments February 1993 IMPORTANT
Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation
Application Report SPRA561 - February 2 Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation Zhaohong Zhang Gunter Schmer C6 Applications ABSTRACT This
Binary Numbering Systems
Binary Numbering Systems April 1997, ver. 1 Application Note 83 Introduction Binary numbering systems are used in virtually all digital systems, including digital signal processing (DSP), networking, and
Application Report. Mixed Signal Products SLAA067
Application Report July 1999 Mixed Signal Products SLAA067 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product
ELET 7404 Embedded & Real Time Operating Systems. Fixed-Point Math. Chap. 9, Labrosse Book. Fall 2007
ELET 7404 Embedded & Real Time Operating Systems Fixed-Point Math Chap. 9, Labrosse Book Fall 2007 Fixed-Point Math Most low-end processors, such as embedded processors Do not provide hardware-assisted
SDLS068A DECEMBER 1972 REVISED OCTOBER 2001. Copyright 2001, Texas Instruments Incorporated
SN54174, SN54175, SN54LS174, SN54LS175, SN54S174, SN54S175, SN74174, SN74175, SN74LS174, SN74LS175, SN74S174, SN74S175 PRODUCTION DATA information is current as of publication date. Products conform to
Monitoring TMS320C240 Peripheral Registers in the Debugger Software
TMS320 DSP DESIGNER S NOTEBOOK Monitoring TMS320C240 Peripheral Registers in the Debugger Software APPLICATION BRIEF: SPRA276 Jeff Crankshaw Digital Signal Processor Solutions May 1997 IMPORTANT NOTICE
Divide: Paper & Pencil. Computer Architecture ALU Design : Division and Floating Point. Divide algorithm. DIVIDE HARDWARE Version 1
Divide: Paper & Pencil Computer Architecture ALU Design : Division and Floating Point 1001 Quotient Divisor 1000 1001010 Dividend 1000 10 101 1010 1000 10 (or Modulo result) See how big a number can be
Digital Logic. The Binary System is a way of writing numbers using only the digits 0 and 1. This is the method used by the (digital) computer.
Digital Logic 1 Data Representations 1.1 The Binary System The Binary System is a way of writing numbers using only the digits 0 and 1. This is the method used by the (digital) computer. The system we
Advanced Schottky Family SDAA010
Advanced Schottky Family SDAA010 1 IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and
Recall that in base 10, the digits of a number are just coefficients of powers of the base (10):
Binary Number System 1 Base 10 digits: 0 1 2 3 4 5 6 7 8 9 Base 2 digits: 0 1 Recall that in base 10, the digits of a number are just coefficients of powers of the base (10): 417 = 4 * 10 2 + 1 * 10 1
Motor Speed Measurement Considerations When Using TMS320C24x DSPs
Application Report SPRA771 - August 2001 Motor Speed Measurement Considerations When Using TMS320C24x DSPs Shamim Choudhury DCS Applications ABSTRACT The TMS320C24x generation of DSPs provide appropriate
Binary Number System. 16. Binary Numbers. Base 10 digits: 0 1 2 3 4 5 6 7 8 9. Base 2 digits: 0 1
Binary Number System 1 Base 10 digits: 0 1 2 3 4 5 6 7 8 9 Base 2 digits: 0 1 Recall that in base 10, the digits of a number are just coefficients of powers of the base (10): 417 = 4 * 10 2 + 1 * 10 1
RETRIEVING DATA FROM THE DDC112
RETRIEVING DATA FROM THE by Jim Todsen This application bulletin explains how to retrieve data from the. It elaborates on the discussion given in the data sheet and provides additional information to allow
Designing Gain and Offset in Thirty Seconds
Application Report SLOA097 February 2002 Designing Gain and Offset in Thirty Seconds Bruce Carter High Performance Linear ABSTRACT This document discusses how to design an operational amplifier (op amp)
EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C3x DSPs
EDI s x32 MCM-L RAM Family: Integrated Memory olution for TM320C3x DPs APPLICATION REPORT: PRA286 Tim tahley Electronic Designs, Inc. Digital ignal Processing olutions March 1997 IMPORTANT NOTICE Texas
TECH. Arithmetic & Logic Unit. CH09 Computer Arithmetic. Number Systems. ALU Inputs and Outputs. Binary Number System
CH09 Computer Arithmetic CPU combines of ALU and Control Unit, this chapter discusses ALU The Arithmetic and Logic Unit (ALU) Number Systems Integer Representation Integer Arithmetic Floating-Point Representation
IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and advises its customers to obtain the
Signal Conditioning Wheatstone Resistive Bridge Sensors
Application Report SLOA034 - September 1999 Signal Conditioning Wheatstone Resistive Bridge Sensors James Karki Mixed Signal Products ABSTRACT Resistive elements configured as Wheatstone bridge circuits
Application Report SLVA068
Application Report April 1999 Mixed-Signal Products SLVA068 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product
Quiz for Chapter 3 Arithmetic for Computers 3.10
Date: Quiz for Chapter 3 Arithmetic for Computers 3.10 Not all questions are of equal difficulty. Please review the entire quiz first and then budget your time carefully. Name: Course: Solutions in RED
Implementing an In-Service, Non- Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31
Disclaimer: This document was part of the First European DSP Education and Research Conference. It may have been written by someone whose native language is not English. TI assumes no liability for the
CSE 1400 Applied Discrete Mathematics Conversions Between Number Systems
CSE 400 Applied Discrete Mathematics Conversions Between Number Systems Department of Computer Sciences College of Engineering Florida Tech Fall 20 Conversion Algorithms: Decimal to Another Base Conversion
TMS320C67x FastRTS Library Programmer s Reference
TMS320C67x FastRTS Library Programmer s Reference SPRU100A October 2002 Printed on Recycled Paper IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections,
Section Properties of Structural Glued Laminated Timber
2 1/8 X 3 6.375 3.188 4.781 2.258 2.399 1.5 1.2 2 1/8 X 4 1/2 9.563 7.172 16.14 3.387 3.598 2.3 1.8 2 1/8 X 6 12.75 12.75 38.25 4.516 4.798 3.1 2.4 2 1/8 X 7 1/2 15.94 19.92 74.71 5.645 5.997 3.9 3.0 2
Integer multiplication
Integer multiplication Suppose we have two unsigned integers, A and B, and we wish to compute their product. Let A be the multiplicand and B the multiplier: A n 1... A 1 A 0 multiplicand B n 1... B 1 B
SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS
SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS One of the most common applications questions on operational amplifiers concerns operation from a single supply voltage. Can the model OPAxyz be operated
Electrostatic Discharge (ESD) Application Report TI Semiconductor Group SSYA008
Electrostatic Discharge (ESD) Application Report 1999 TI Semiconductor Group SSYA008 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or
WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT
WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT Understanding the Components of Worst-Case Degradation Can Help in Avoiding Overspecification Exactly how inaccurate will a change in temperature make
2.1 Binary Numbers. 2.3 Number System Conversion. From Binary to Decimal. From Decimal to Binary. Section 2 Binary Number System Page 1 of 8
Section Binary Number System Page 1 of 8.1 Binary Numbers The number system we use is a positional number system meaning that the position of each digit has an associated weight. The value of a given number
Fixed-point Mathematics
Appendix A Fixed-point Mathematics In this appendix, we will introduce the notation and operations that we use for fixed-point mathematics. For some platforms, e.g., low-cost mobile phones, fixed-point
EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C4x DSPs
EDI s x32 MCM-L RAM Family: Integrated Memory olution for TM320C4x DPs APPLICATION REPORT: PRA288 Tim tahley Electronic Designs, Inc. Digital ignal Processing olutions March 1997 IMPORTANT NOTICE Texas
Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC2101. 27.4 kω AREF.
In many applications, a key design goal is to minimize variations in power delivered to a load as the supply voltage varies. This application brief describes a simple DC brush motor control circuit using
What s an LFSR? SCTA036A December 1996
What s an LFSR? SCTA036A ecember 1996 1 IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice,
comp 180 Lecture 21 Outline of Lecture Floating Point Addition Floating Point Multiplication HKUST 1 Computer Science
Outline of Lecture Floating Point Addition Floating Point Multiplication HKUST 1 Computer Science IEEE 754 floating-point standard In order to pack more bits into the significant, IEEE 754 makes the leading
Filter Design in Thirty Seconds
Application Report SLOA093 December 2001 Filter Design in Thirty Seconds Bruce Carter High Performance Analog ABSTRACT Need a filter fast? No theory, very little math just working filter designs, and in
Fractional Numbers. Fractional Number Notations. Fixed-point Notation. Fixed-point Notation
2 Fractional Numbers Fractional Number Notations 2010 - Claudio Fornaro Ver. 1.4 Fractional numbers have the form: xxxxxxxxx.yyyyyyyyy where the x es constitute the integer part of the value and the y
Integer and Real Numbers Representation in Microprocessor Techniques
Brno University of Technology Integer and Real Numbers Representation in Microprocessor Techniques Microprocessor Techniques and Embedded Systems Lecture 1 Dr. Tomas Fryza 30-Sep-2011 Contents Numerical
Audio Tone Control Using The TLC074 Operational Amplifier
Application Report SLOA42 - JANUARY Audio Tone Control Using The TLC74 Operational Amplifier Dee Harris Mixed-Signal Products ABSTRACT This application report describes the design and function of a stereo
SIMPLE CIRCUIT MODIFICATIONS ENHANCE OPTOCOUPLER PERFORMANCE
APPLICATION NOTE U-160 Phil Cooke SIMPLE CIRCUIT MODIFICATIONS ENHANCE OPTOCOUPLER PERFORMANCE 6/98 Simple Circuit Modifications Enhance Optocoupler Performance by Philip Cooke The optocoupler is often
APPLICATION BULLETIN
APPLICATION BULLETIN Mailing Address: PO Box 00 Tucson, AZ 87 Street Address: 70 S. Tucson Blvd. Tucson, AZ 870 Tel: (0) 7- Twx: 90-9- Telex: 0-9 FAX (0) 889-0 Immediate Product Info: (800) 8- EXTENDING
CALCULATOR AND COMPUTER ARITHMETIC
MathScope Handbook - Calc/Comp Arithmetic Page 1 of 7 Click here to return to the index 1 Introduction CALCULATOR AND COMPUTER ARITHMETIC Most of the computational work you will do as an Engineering Student
TSL250, TSL251, TLS252 LIGHT-TO-VOLTAGE OPTICAL SENSORS
TSL50, TSL5, TLS5 SOES004C AUGUST 99 REVISED NOVEMBER 995 Monolithic Silicon IC Containing Photodiode, Operational Amplifier, and Feedback Components Converts Light Intensity to Output Voltage High Irradiance
Thermal Characteristics of Linear and Logic Packages Using JEDEC PCB Designs
Thermal Characteristics of Linear and Logic Packages Using JEDEC PCB Designs SZZA017A September 1999 1 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to
TSL213 64 1 INTEGRATED OPTO SENSOR
TSL 64 INTEGRATED OPTO SENSOR SOES009A D4059, NOVEMBER 99 REVISED AUGUST 99 Contains 64-Bit Static Shift Register Contains Analog Buffer With Sample and Hold for Analog Output Over Full Clock Period Single-Supply
A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers
Application Report SLOA043 - December 1999 A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers Shawn Workman AAP Precision Analog ABSTRACT This application report compares
Computer Organization and Architecture
Computer Organization and Architecture Chapter 9 Computer Arithmetic Arithmetic & Logic Unit Performs arithmetic and logic operations on data everything that we think of as computing. Everything else in
Floating Point Numbers. Question. Learning Outcomes. Number Representation - recap. Do you have your laptop here?
Question Floating Point Numbers 6.626068 x 10-34 Do you have your laptop here? A yes B no C what s a laptop D where is here? E none of the above Eddie Edwards eedwards@doc.ic.ac.uk https://www.doc.ic.ac.uk/~eedwards/compsys
Bits, Data Types, and Operations. University of Texas at Austin CS310H - Computer Organization Spring 2010 Don Fussell
Bits, Data Types, and Operations University of Texas at Austin CS3H - Computer Organization Spring 2 Don Fussell How do we represent data in a computer? At the lowest level, a computer is an electronic
Arithmetic Operations
Arithmetic Operations Dongbing Gu School of Computer Science and Electronic Engineering University of Essex UK Spring 2013 D. Gu (Univ. of Essex) Arithmetic Operations Spring 2013 1 / 34 Outline 1 Introduction
Systems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture 12: Floating Point Data Floating Point Representation Numbers too large for standard integer representations or that have fractional components
CUSTOM GOOGLE SEARCH PRO. User Guide. User Guide Page 1
CUSTOM GOOGLE SEARCH PRO User Guide User Guide Page 1 Important Notice reserves the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services
CHAPTER THREE. 3.1 Binary Addition. Binary Math and Signed Representations
CHAPTER THREE Binary Math and Signed Representations Representing numbers with bits is one thing. Doing something with them is an entirely different matter. This chapter discusses some of the basic mathematical
Wireless Subwoofer TI Design Tests
Wireless Subwoofer TI Design Tests This system design was tested for THD+N vs. frequency at 5 watts and 30 watts and THD+N vs. power at 00. Both the direct analog input and the wireless systems were tested.
SN28838 PAL-COLOR SUBCARRIER GENERATOR
Solid-State Reliability Surface-Mount Package NS PACKAE (TOP VIEW) description The SN28838 is a monolithic integrated circuit designed to interface with the SN28837 PALtiming generator in order to generate
Guidelines for Software Development Efficiency on the TMS320C6000 VelociTI Architecture
Guidelines for Software Development Efficiency on the TMS320C6000 VelociTI Architecture WHITE PAPER: SPRA434 Authors: Marie Silverthorn Leon Adams Richard Scales Digital Signal Processing Solutions April
Application Report SLOA030
Application Report October 1999 Mixed Signal Products SLOA030 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product
Multi-Transformer LED TV Power User Guide. Anderson Hsiao
Multi-Transformer LED TV Power User Guide Anderson Hsiao Operation Range Input Range: 90Vac~264Vac 47Hz~63Hz Dimming Range: Reverse Signal 0V ~ 5V 100Hz ~200Hz 1%~100% Output Range :STBY-5V 20mA~1A 5V
4 Operations On Data
4 Operations On Data 4.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, students should be able to: List the three categories of operations performed on
Teaching DSP through the Practical Case Study of an FSK Modem
Disclaimer: This document was part of the First European DSP Education and Research Conference. It may have been written by someone whose native language is not English. TI assumes no liability for the
Optimizing TMS320C55x Assembly Code Using the Pipeline Stall Analyzer Tool
Application Report SPRA865 December 2002 Optimizing TMS320C55x Assembly Code Using the Pipeline Stall Analyzer Tool Cesar Iovescu C5000 Applications ABSTRACT The TMS320C55x digital signal processor (DSP)
Chapter 4. Computer Arithmetic
Chapter 4 Computer Arithmetic 4.1 Number Systems A number system uses a specific radix (base). Radices that are power of 2 are widely used in digital systems. These radices include binary (base 2), quaternary
Current-Transformer Phase-Shift Compensation and Calibration
Application Report SLAA122 February 2001 Current-Transformer Phase-Shift Compensation and Calibration Kes Tam Mixed Signal Products ABSTRACT This application report demonstrates a digital technique to
MBA Jump Start Program
MBA Jump Start Program Module 2: Mathematics Thomas Gilbert Mathematics Module Online Appendix: Basic Mathematical Concepts 2 1 The Number Spectrum Generally we depict numbers increasing from left to right
Controlling TAS5026 Volume After Error Recovery
Application Report SLEA009 March 2003 Controlling TAS5026 Volume After Error Recovery Jorge S. Melson Hwang Soo, Son HPA Digital Audio Applications ABSTRACT The TAS5026 monitors the relationship between
ECE 0142 Computer Organization. Lecture 3 Floating Point Representations
ECE 0142 Computer Organization Lecture 3 Floating Point Representations 1 Floating-point arithmetic We often incur floating-point programming. Floating point greatly simplifies working with large (e.g.,
IEEE floating point numbers. Floating-Point Representation and Approximation. floating point numbers with base 10. Errors
EE103 (Shinnerl) Floating-Point Representation and Approximation Errors Cancellation Instability Simple one-variable examples Swamping IEEE floating point numbers floating point numbers with base 10 floating
APPLICATION BULLETIN
APPLICATION BULLETIN Mailing Address: PO Box 11400 Tucson, AZ 85734 Street Address: 6730 S. Tucson Blvd. Tucson, AZ 85706 Tel: (602 746-1111 Twx: 910-952-111 Telex: 066-6491 FAX (602 889-1510 Immediate
Presented By: Ms. Poonam Anand
Presented By: Ms. Poonam Anand Know the different types of numbers Describe positional notation Convert numbers in other bases to base 10 Convert base 10 numbers into numbers of other bases Describe the
High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate
Application Report SLLA091 - November 2000 High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate Boyd Barrie, Huimin Xia ABSTRACT Wizard Branch, Bus Solution
Data Storage 3.1. Foundations of Computer Science Cengage Learning
3 Data Storage 3.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: List five different data types used in a computer. Describe how
SN54F157A, SN74F157A QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS
SNFA, SNFA QUADRUPLE -LINE TO -LINE DATA SELECTORS/MULTIPLEXERS SDFS0A MARCH 8 REVISED OCTOBER Buffered Inputs and Outputs Package Optio Include Plastic Small-Outline Packages, Ceramic Chip Carriers, and
quotient = dividend / divisor, with a remainder Given dividend and divisor, we want to obtain quotient (Q) and remainder (R)
Binary division quotient = dividend / divisor, with a remainder dividend = divisor quotient + remainder Given dividend and divisor, we want to obtain quotient (Q) and remainder (R) We will start from our
Chapter II Binary Data Representation
Chapter II Binary Data Representation The atomic unit of data in computer systems is the bit, which is actually an acronym that stands for BInary digit. It can hold only 2 values or states: 0 or 1, true
Two Series Cell Li-Ion Pack Supervisor Module
Features Complete and compact lithium-ion pack supervisor Provides overvoltage, undervoltage, and overcurrent protection for two series Li-Ion cells Combines bq2058t with charge/discharge control FETs
bq2114 NiCd or NiMH Gas Gauge Module with Charge-Control Output Features General Description Pin Descriptions
Features Complete bq2014 Gas Gauge solution for NiCd or NiMH battery packs Charge-control output allows communication to external charge controller (bq2004) Battery information available over a single-wire
> 2. Error and Computer Arithmetic
> 2. Error and Computer Arithmetic Numerical analysis is concerned with how to solve a problem numerically, i.e., how to develop a sequence of numerical calculations to get a satisfactory answer. Part
ECE 0142 Computer Organization. Lecture 3 Floating Point Representations
ECE 0142 Computer Organization Lecture 3 Floating Point Representations 1 Floating-point arithmetic We often incur floating-point programming. Floating point greatly simplifies working with large (e.g.,
Understanding Ratiometric Conversions
Application Report SBAA110 March 2004 Understanding Ratiometric Conversions Russell Anderson Data Acquisition Group ABSTRACT The primary factor that establishes the accuracy in most measurement systems
Advanced Regulating Pulse Width Modulators
Advanced Regulating Pulse Width Modulators FEATURES Dual Uncommitted 40V, 200mA Output Transistors 1% Accurate 5V Reference Dual Error Amplifiers Wide Range, Variable Deadtime Single-ended or Push-pull
SN54HC157, SN74HC157 QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS
SNHC, SNHC QUADRUPLE 2-LINE TO -LINE DATA SELECTORS/MULTIPLEXERS SCLSB DECEMBER 982 REVISED MAY 99 Package Options Include Plastic Small-Outline (D) and Ceramic Flat (W) Packages, Ceramic Chip Carriers
Integer Numbers. Digital Signal Processor Data Path. Characteristics of Two Complements Representation. Integer Three Bit Representation 000
Integer Numbers Twos Complement Representation Digital Signal Processor Data Path Ingo Sander Ingo@imit.kth.se B=b N-1 b N-2...b 1 b 0 where b i {0,1} b N-1 b N-2... b 1 b 0 Sign Bit Decimal Value D(B)=-b
The string of digits 101101 in the binary number system represents the quantity
Data Representation Section 3.1 Data Types Registers contain either data or control information Control information is a bit or group of bits used to specify the sequence of command signals needed for
Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff
Supply voltage Supervisor TL77xx Series Author: Eilhard Haseloff Literature Number: SLVAE04 March 1997 i IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to
Data Representation Binary Numbers
Data Representation Binary Numbers Integer Conversion Between Decimal and Binary Bases Task accomplished by Repeated division of decimal number by 2 (integer part of decimal number) Repeated multiplication
CHAPTER V NUMBER SYSTEMS AND ARITHMETIC
CHAPTER V-1 CHAPTER V CHAPTER V NUMBER SYSTEMS AND ARITHMETIC CHAPTER V-2 NUMBER SYSTEMS RADIX-R REPRESENTATION Decimal number expansion 73625 10 = ( 7 10 4 ) + ( 3 10 3 ) + ( 6 10 2 ) + ( 2 10 1 ) +(
Using the Texas Instruments Filter Design Database
Application Report SLOA062 July, 2001 Bruce Carter Using the Texas Instruments Filter Design Database High Performance Linear Products ABSTRACT Texas Instruments applications personnel have decades of
Next-Generation BTL/Futurebus Transceivers Allow Single-Sided SMT Manufacturing
Next-Generation BTL/Futurebus Transceivers Allow Single-Sided SMT Manufacturing SCBA003C March 1997 1 IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue
Autoscaling Radix-4 FFT for TMS320C6000
Application Report SPRA654 - March 2000 Autoscaling Radix-4 FFT for TMS320C6000 Yao-Ting Cheng Taiwan Semiconductor Sales & Marketing ABSTRACT Fixed-point digital signal processors (DSPs) have limited
Computer is a binary digital system. Data. Unsigned Integers (cont.) Unsigned Integers. Binary (base two) system: Has two states: 0 and 1
Computer Programming Programming Language Is telling the computer how to do something Wikipedia Definition: Applies specific programming languages to solve specific computational problems with solutions
Lenovo RAID Introduction Reference Information
Lenovo RAID Introduction Reference Information Using a Redundant Array of Independent Disks (RAID) to store data remains one of the most common and cost-efficient methods to increase server's storage performance,
Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:
Chapter 3 Data Storage Objectives After studying this chapter, students should be able to: List five different data types used in a computer. Describe how integers are stored in a computer. Describe how
1. Number Representation
CSEE 3827: Fundamentals of Computer Systems, Spring 2011 1. Number Representation Prof. Martha Kim (martha@cs.columbia.edu) Web: http://www.cs.columbia.edu/~martha/courses/3827/sp11/ Contents (H&H 1.3-1.4,