Introduction to Mixed-Signal, Embedded Design by Alex Doboli & Edward H. Currie
Author:Alex Doboli & Edward H. Currie
Language: eng
Format: epub
Publisher: Springer New York, New York, NY
For the multiply accumulate function, the two multiplicands are loaded into registers MAC_X and MAC_Y. The product is summed with the previous results, and stored as a 32-bit, signed number in the ACC_DR3, ACC_DR2, ACC_DR1, and ACC_DR0 registers. These registers are reset by writing into the MAC_CL1 or MAC_CL0 register. The type of MAC function, that is either multiplication, or multiply and accumulate, is selected by loading the multiplicands into the respective register pair.
Example (Scalar product of two vectors).
This example illustrates the computational speed benefits offered by the use of MAC, as compared to software routines, by calculating the scalar product of two vectors, a and b. The two vectors can have dimensions of 16, 64, or 256. This example compares three implementations of the scalar product algorithm using C language, assembly code, and assembly code using the MAC for multiplication and summing the partial results.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Circuits | Digital Design |
Electric Machinery & Motors | Electronics |
Fiber Optics | Networks |
Superconductivity |
Whiskies Galore by Ian Buxton(40205)
Introduction to Aircraft Design (Cambridge Aerospace Series) by John P. Fielding(32315)
Small Unmanned Fixed-wing Aircraft Design by Andrew J. Keane Andras Sobester James P. Scanlan & András Sóbester & James P. Scanlan(32125)
Craft Beer for the Homebrewer by Michael Agnew(17430)
Turbulence by E. J. Noyes(7015)
The Complete Stick Figure Physics Tutorials by Allen Sarah(6619)
Kaplan MCAT General Chemistry Review by Kaplan(6034)
The Thirst by Nesbo Jo(5756)
Bad Blood by John Carreyrou(5743)
Learning SQL by Alan Beaulieu(5380)
Weapons of Math Destruction by Cathy O'Neil(5015)
Man-made Catastrophes and Risk Information Concealment by Dmitry Chernov & Didier Sornette(4702)
iGen by Jean M. Twenge(4685)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(4473)
Digital Minimalism by Cal Newport;(4459)
Audition by Ryu Murakami(4076)
1,001 ASVAB Practice Questions For Dummies by Powers Rod(4023)
Electronic Devices & Circuits by Jacob Millman & Christos C. Halkias(3988)
Pale Blue Dot by Carl Sagan(3974)