ebook img

Embedded Systems Design with Special Arithmetic and Number Systems PDF

390 Pages·2017·11.38 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Embedded Systems Design with Special Arithmetic and Number Systems

Amir Sabbagh Molahosseini  Leonel Seabra de Sousa Chip-Hong Chang E ditors Embedded Systems Design with Special Arithmetic and Number Systems Embedded Systems Design with Special Arithmetic and Number Systems Amir Sabbagh Molahosseini Leonel Seabra de Sousa • Chip-Hong Chang Editors Embedded Systems Design with Special Arithmetic and Number Systems 123 Editors AmirSabbaghMolahosseini LeonelSeabradeSousa DepartmentofComputerEngineering INESC-ID,InstitutoSuperiorTécnico IslamicAzadUniversity,KermanBranch UniversidadedeLisboa Kerman,Iran Lisboa,Portugal Chip-HongChang SchoolofElectricalandElectronic Engineering NanyangTechnologicalUniversity Singapore,Singapore ISBN978-3-319-49741-9 ISBN978-3-319-49742-6 (eBook) DOI10.1007/978-3-319-49742-6 LibraryofCongressControlNumber:2017934074 ©SpringerInternationalPublishingAG2017 Thisworkissubjecttocopyright.AllrightsarereservedbythePublisher,whetherthewholeorpartof thematerialisconcerned,specificallytherightsoftranslation,reprinting,reuseofillustrations,recitation, broadcasting,reproductiononmicrofilmsorinanyotherphysicalway,andtransmissionorinformation storageandretrieval,electronicadaptation,computersoftware,orbysimilarordissimilarmethodology nowknownorhereafterdeveloped. Theuseofgeneraldescriptivenames,registerednames,trademarks,servicemarks,etc.inthispublication doesnotimply,evenintheabsenceofaspecificstatement,thatsuchnamesareexemptfromtherelevant protectivelawsandregulationsandthereforefreeforgeneraluse. Thepublisher,theauthorsandtheeditorsaresafetoassumethattheadviceandinformationinthisbook arebelievedtobetrueandaccurateatthedateofpublication.Neitherthepublishernortheauthorsor theeditorsgiveawarranty,expressorimplied,withrespecttothematerialcontainedhereinorforany errorsoromissionsthatmayhavebeenmade.Thepublisherremainsneutralwithregardtojurisdictional claimsinpublishedmapsandinstitutionalaffiliations. Printedonacid-freepaper ThisSpringerimprintispublishedbySpringerNature TheregisteredcompanyisSpringerInternationalPublishingAG Theregisteredcompanyaddressis:Gewerbestrasse11,6330Cham,Switzerland Preface Fordecades,innovationinthechipindustryhasbeenpredominantlydrivenbythe demandofpersonalcomputers(PCs).Thecentralprocessingunit(CPU),whichis the brain of a PC, is built from fundamentaldevices that follow a miniaturization path in close agreementwith Moore’sLaw. Fifty yearsafter the integratedcircuit (IC) invention, the remarkable success in device geometry extrapolation and the seductive growth of chip content have changed the landscape of the platform of computing.Newnano-/biocircuitsandsystemshaveemergedtotakeadvantageof the increasedintegrationdensity andconnectivityto enhancelivingandlifestyles. The PC’s influence on chip design is gradually eroded by the proliferation of connected mobile and portable devices due to the growth of consumer web and servicesofalltypesbeingmadeonlineandondemand.Tabletsandmobilephones have overtaken the consumer market of desktops and laptops, and embedded systemspermeateeveryaspectofworkandlife. The new age of ubiquitous computing brings multifaceted challenges of ver- satility, portability, environmental friendliness, computational heterogeneity, and methodological pluralism into the design of embedded systems. It is time for a radical change in the algorithm and architecture of embedded system design to effect innovativesolutions to the nascent multivariate optimization problemswith new design constraints. Ironically, after more than 40 years of enormous R&D investment into renewing almost every relevant technology for IC design and manufacturing,thefundamentalarithmeticoperationsandalgebraicstructuresused intheprevalentembeddedsystemsarestillbasedonthesameconventionalweighted binarynumberrepresentationinheritedfromthe earliestmicroprocessordesign.It iswellunderstoodthatthewaynumbersarerepresentedinadigitalsystemhasan impactonalllevelsofdesignabstractionfromalgorithmandarchitecturetocircuit topologyandlayout.Thechoiceofnumbersystemsinfluencestheworkloadofan application by determining the number and complexity of operations required to accomplish a specific task. Since data activities depend on circuit topologies and stochasticpropertiesofthe inputs,the representationofdatahasa directeffecton theoperatorstrengthandtheperformancepredictability. v vi Preface Embedded systems implemented by algorithms based on the weighted binary number system suffer from the curse of dimensionality due to the inevitable long chainofcarrypropagation.Ithaslimited“parallelism”and“modularity”tofullyuti- lizetheemergingVLSItechnologyonoptimizationofessentialhardwareattributes. Higherradixweightednumbersystemshavereducedthewordlengthofoperations, andnon-weightednumbersystemscanlimittheinter-digitcarrypropagation.Some alternativenumbersystemsinherentlypossessgreaterparallelismandsparserinter- digit communication amenable to speed enhancement and power reduction in a multi-ALU system and remain advantageousto layout and routing for the current andemerging3DstackedICtechnology.Thedesignspaceofarithmeticfunctions basedondifferentunconventionalnumbersystemsandtheirpotentialhavenotbeen fullytapped.Thisbookaimsatovercomingissuesandproblemsconfrontedbythe use of different unconventional number systems to find a new avenue to sustain thecontinualdesignanddevelopmentgrowthofthenewgenerationofapplication- specificembeddedsystems. Based on the chapter’s content, we have divided the book into two parts. The first part is aimed to introduce the readers to the concepts, foundations, and design methods of circuits and systems for unconventional number systems includingresiduenumbersystem,redundantnumbersystem,decimalfloating-point number system, and continuous-valued number system. Part two is dedicated to theapplicationsofunconventionalnumbersystemsindifferentareasofembedded systemdesignfromdigitalsignalandimageprocessingtoemergingcryptographic algorithms. Chapter 1 introduces residue number systems and proposes a method to teach residue number systems in the context of embedded systems. Chapter 2 proposesacompactandscalablearchitecturefordesigningresiduenumbersystem (RNS)-based programmable processors for general moduli sets. The design of an RNS processor has shown that performance and efficiency are improved by exploringtheparallelismandcarry-freecharacteristicofRNS. The latest mathematical achievementsin performingnon-modularRNS opera- tionsusingdiagonalfunctionaredescribedinChap.3.Efficientimplementationof non-modular RNS operations such as scaling, sign detection, magnitude compar- ison, and overflow detection could open the doors of general-purpose processors to RNS. Chapter 4 provides an overview of the principle of detecting, locating, and correctingsingle and multiple residue digiterrorsin arithmeticprocessing by redundant residue number system (RRNS) and highlights some applications that utilize RRNS codes. The location of erroneous residue digits is identified as the bottleneck operation for RRNS implementation. The complexity and latency of syndrome-basedand CRT-based approaches are analyzed and compared. Inspired by the need for decimal floating-point numbers on computers, Chap. 5 presents efficient hardware implementations of a number of key arithmetic operations. It alsodiscussestheintricaciesofbinaryintegerdecimalanddenselypackeddecimal encodings in migrating the designs from binary into decimal floating point and the functionalverification approachto envisage future unified binary and decimal arithmetic units. Chapter 6 explores the design space of using redundant binary representation for high-performance Booth-encoded multiplier implementation. Preface vii It analyses the performancetrade-offsof 21 different configurationsof redundant binarymultiplierarchitectureconstructedfromdifferentbinarytoredundantbinary encodingformats,differentradicesof binary,pseudoredundantbinaryandbinary Booth encodings, and redundant binary to binary converters. Chapter 7 presents fundamentals of continuous-valued number system. The arithmetic operations in continuous-valuednumber system are performed using simple analog circuitry to provide arbitrary implementation precision. Potential applications of this number system are in the area of low noise and low cross-talk circuitry for arithmetic circuitsusedinmixed-signalsystemsanddigitallyassistedanalogcircuits.Chapter 8 reviews basic principles and hardware implementations of RNS-based digital signal processing (DSP) units by a team of researchers with 20 years of research experienceinusingRNSforDSPapplications.TheybelievethatRNSispromising with appropriatetrade-offsbetween circuitparameters.The parallelism of RNS is advantageousin image processing applications where addition and multiplication are the dominant operations. This issue is comprehensively investigated in Chap. 9, where RNS-based realizationof manyimportantimage processingapplications suchasedgedetection,sharpening,smoothing,andwaveletprocessingisreviewed. Chapter10introducesanotherunconventionalnumbersystemcalledlogarithmic numbersystem (LNS). Thisnumbersystem offersnotonlyefficientmultiplication but also division which is a difficult operationin both binary and residue number systems. It is shown that using LNS for FIR filter implementation can lead to significant saving in power consumption. Chapter 11 introduces canonical and extended double base number systems and the search algorithmsfor finding their minimum or quasi-minimumforms. Their applicability to efficient programmable FIR filter design is demonstrated by the direct mapping of these sparse double- based number representations into efficient time-multiplexed multiple-constant- multiplication architecture consisting of only adders, multiplexers, programmable shifters, and a lookup table. The results show that FIR filters designed with extended double base number system can reduce the logic complexity by up to 47.81%andcriticalpathdelaybyupto14.32%comparedwiththedesignsbased on conventional binary number system. Chapter 12 addresses how RNS can be effectively used to design public-keycryptographysystems. The design concepts, methodologies,andchallengesofimplementingRSAandellipticcurvepublic-key algorithms with residue arithmetic and security of RNS-based cryptosystems are presented and discussed in this chapter. Chapter 13 investigatesthe advantagesof RNSarithmeticinlattice-basedcryptography,anemergingcryptographicalgorithm with post-quantum security. It is shown that the high parallelism of RNS is well suited to address the challenging problem of the efficient realization of this next- generation cryptographic algorithm. Finally, the last chapter introduces attractive applicationsof RNS in computer networks. In contrastto other applications, here RNSrepresentationisusedforrouting,packetforwarding,andmulticasting.Instead ofusingsingleregularlargepacket,distributiveresiduesareusedtoachievelower energyconsumptionofthesensornodesandlongernetworklifetime. To sum up, at the rate of growth of embedded processors and their increasing share and dominance in the consumer electronic markets, the university students viii Preface and professors, researchers, and industrial designers should be prepared for the boldandradicalevolutionofhowfutureembeddedsystemswillbedesigned.This book solicits alternative approaches to the design of efficient embedded systems effectedbythechangeinthefundamentalnumberrepresentationforwhichdigital arithmetic operations are performed. It is hoped that the comprehensive review, analysis, efficient implementation methods, and new applications covered in this book will stimulate and inspire more interesting applications, new developments, andexplorationoftheseorotherunconventionalnumbersystems. Kerman,Iran AmirSabbaghMolahosseini Lisboa,Portugal LeonelSeabradeSousa Singapore,Singapore Chip-HongChang Contents PartI UnconventionalNumberRepresentations:Arithmetic UnitsandProcessorDesign 1 Introductionto Residue Number System: Structure andTeachingMethodology................................................ 3 AmirSabbaghMolahosseiniandLeonelSousa 2 RNS-BasedEmbeddedProcessorDesign................................ 19 PedroMiguensMatutino,RicardoChaves,andLeonelSousa 3 Non-ModularOperationsoftheResidueNumberSystem: FunctionsforComputing.................................................. 49 GiuseppePirlo 4 Fault-TolerantComputinginRedundantResidueNumberSystem.. 65 ThianFattTayandChip-HongChang 5 DecimalFloatingPointNumberSystem................................. 89 HossamA.H.Fahmy 6 DesignandEvaluationofBooth-EncodedMultipliers inRedundantBinaryRepresentation.................................... 113 YajuanHe,JiaxingYang,andChip-HongChang 7 Robust AnalogArithmetic Based onthe Continuous ValuedNumberSystem.................................................... 149 BabakZamanlooyandMitraMirhassani PartII Applications of Unconventional Number Representations 8 RNSApplicationsinDigitalSignalProcessing.......................... 181 GianCarloCardarilli,AlbertoNannarelli,andMarcoRe ix x Contents 9 RNS-BasedImageProcessing............................................. 217 NikolayChervyakovandPavelLyakhov 10 LogarithmicNumberSystemandItsApplicationinFIR FilterDesign................................................................. 247 VassilisPaliouras 11 Double-BaseNumberSystemandItsApplicationinFIR FilterDesign................................................................. 277 JiajiaChenandChip-HongChang 12 RNS-BasedPublic-KeyCryptography(RSAandECC) ............... 311 DimitrisSchinianakisandThanosStouraitis 13 RNSApproachinLattice-BasedCryptography ........................ 345 Jean-ClaudeBajardandJulienEynard 14 RNSApplicationsinComputerNetworks............................... 369 AzadehAlsadatEmraniZarandi Index............................................................................... 381

Description:
This book introduces readers to alternative approaches to designing efficient embedded systems using unconventional number systems. The authors describe various systems that can be used for designing efficient embedded and application-specific processors, such as Residue Number System, Logarithmic N
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.