ASIC Implementation of Address Generation Unit for Digital Signal Processing Kernel-Processor

ASIC Implementation of Address Generation Unit for Digital Signal Processing Kernel-Processor

ICGST-PDCS, Volume 11, Issue 1, December 2011 ASIC Implementation of Address Generation Unit for Digital Signal Processing Kernel-Processor Ramesh Kini. M, Sumam David Department of Electronics and Communication Engineering, National Institute of Technology Karnataka, Surathkal, Mangalore, India – 575025. [email protected], [email protected] Abstract prehensive AGU (CAGU). This paper deals with the Multimedia applications are written in high level lan- design and implementation of such a CAGU as an Appli- guages and are implemented on Reconfigurable- cation Specific Integrated Circuit (ASIC). Processors (RP) through High Level Synthesis. Such Study of topics like Reconfigurability, Synthesis, Place- implementation style tends to use the same data-path ment, Routing strategies, Configuration loading and elements for both Address Generation and Kernel proc- management etc. for reconfigurable devices and the re- essing. This results in inconsistent and non-optimal use flection of the same on design of reconfigurable devices of data-path elements. This paper discusses design and is described in [1]. Algebraic operators basically have implementation of dedicated Address Generation Unit regular structures; coarse grained architectures can pro- (AGU) capable of generating complex sequences of vide configurable word length operators with area effi- addresses required by typical Multimedia Digital Signal cient data-paths created with programmable interconnects Processing (DSP) Kernels like Fast Fourier Transform [2]. (FFT), Convolution, Linear Phase Finite-Impulse- Concept of Reconfigurable Processor (RP) comes from Response (FIR) Filters and Sum-of-Absolute-Difference the idea of having a general purpose processor coupled (SAD) computation for Motion Estimation (ME). Use of with some reconfigurable resources that allow execution such a dedicated AGU with the proposed Reconfigur- of custom application specific instructions. Dynamically able-Data-path separates the data-paths of address com- Reconfigurable Processor (DRP) achieves higher speed putation and Kernel computation and paves way for effi- of computation with lower cost of silicon area for compu- cient high level synthesis. The AGU designed by us helps tationally intensive applications in the domains like mul- to realize execution of one innermost loop of a DSP ker- timedia. nel every clock with minimal hardware. A comprehen- Section 2 deals with design issues that highlight the need sive AGU (CAGU) that can be configured to generate for a CAGU and provides an overview of the setup in sequences of addresses of data stored in memory for the which the designed CAGU can be used. Section 3 de- computation of DSP kernels listed earlier has been im- scribes the algorithms and hardware developed for AGUs plemented as an ASIC using 0.18μ, 6 metal, single poly supporting data/coefficient fetches and result updates. It technology from UMC. also discusses 3 main DSP kernel implementations namely FFT, Convolution and SAD computation used in Keywords: Address generation, Bit-reversed address, motion estimation using the AGUs developed. Integra- Convolution, Digital Signal Processing Kernel, Dynami- tion of various AGUs into CAGU, simulation results of cally Reconfigurable Data-path, Fast Fourier Transform various kernels, ASIC implementation of the CAGU and (FFT), Finite Impulse Response (FIR) Filters, Motion verification results are discussed in Section 4. Estimation, Zig-zag address generation. 2. Overview of the proposed DRP 1. Introduction RPs find extensive applications in networking and mul- Offline data processing or stream data processing of large timedia domains. Multimedia applications like Au- number of data points, as in the case of multimedia appli- dio/Video Encoders/Decoders, Trans-coders, FFT in cations, requires data to be accessed from memory at OFDM used in Software Defined Radios etc can exploit high rates. The sequence of this data access is non-linear, the features of a RP to minimize the hardware require- complex and varies with the type of signal processing ments and at the same time improve the throughput. kernel that is being executed. Observations made during The proposed processor has an array of four dynamically this research show that using kernel execution data-path Reconfigurable Functional Units (RFU) sharing a com- for address computation leads to ineffective utilization of mon memory. The array of RFUs and the memory are resources. Hence it is desirable to have a dedicated Com- controlled by an Application Specific Instruction set 1 ICGST-PDCS, Volume 11, Issue 1, December 2011 Processor (ASIP). The RFU array with a control proces- Though Coarse grain reconfigurable architectures pro- sor can also be mapped onto a FPGA based embedded vide significant speedups, ability to compile from im- system for multimedia applications. perative high level languages like ‘C’, Java®, Matlab® etc The overall operation of the proposed processor can be to achieve noticeable speedup is not proved due to rea- summarized as follows: Upon receiving a service request sons like reduced focus on compilation phase and map- for executing a kernel operation, the ASIP controller ping computational structures effectively on reconfigur- facilitates the storage of data to be processed in appropri- able architectures [4]. Mapping of innermost loop to a ate memory block, initializes a idle RFU with appropriate dynamically reconfigurable data-path coprocessor is control settings and schedules the kernel on that RFU. discussed in [5]. Upon completion of kernel operation controller frees the RFU for executing any other kernel. Basically ASIP Interrupt coordinates the job of kernel execution. Advantages of the architecture are: ASIP Data Memory • The innermost loop of a kernel can be executed in Controller Bank AGU, DRDP one clock and hence is faster compared to execution Bus initialization on a GPP or DSP processor. 16 1616 6 • Since the kernel itself is implemented as a micro- Address 8 program, there is no need for the code (program) Generator Data memory; no instruction fetches and decodes. This re- Unit 1 (AGU 1) Ports sults in reduction of memory and power require- 6 Dynamically ments. Address 8 • The application can be written in terms of function Generator Reconfigurable calls and these function calls can be mapped to ker- Unit 2 (AGU 2) Data Path (DRDP) nels executed on the RFU by the ASIP. As a result 6 51 application program tends to be compact. Address 8 RFU contains a Dynamically Reconfigurable Data Generator Configuration Unit 3 (AGU 3) Memory with Path (DRDP), 3 AGUs for generation of memory ad- 18 dresses and Configuration Memory with multiple con- Multiple Contexts texts as shown in Figure 1. The DRDP consists of 2 Ad- Figure 1. Block schematic of Reconfigurable Functional Unit. ders (Adder/Subtractor), 2 Multipliers, a Comparator, Barrel Shifter and 4 Register files for temporary storage. System described in this paper can map a high-level DSP The DRDP under discussion supports signed integer and kernel with recurring loop like N-point FFT, FIR filter fixed point arithmetic. The output of any of these func- implementations and others onto the dynamically recon- tional units can be routed to at least one input of all the figurable data-path easily. The CAGU supports address functional units. The DRDP unit will have three input generation across multiple levels of recursive loops for ports and an output port other than two memory read these kernels without changing the data-path. ports and a memory write port. The configuration of a To map a multimedia application to most of the recon- data-path is defined by a control word that is stored in a figurable processors developed till now, a specialized configuration memory. The DRDPs can be cascaded by compiler or a high level synthesis tool is required. This interconnecting the Inputs/Outputs (IO) appropriately to research targets at reducing the complexity of mapping form a complex data-path with kernel operations spread by designing a coarse grained architecture; such that the over multiple DRDPs in a chained or pipelined fashion. proposed design aids in mapping the multimedia applica- The processor design is targeted at acceleration of execu- tions more effectively to the proposed architecture. The tion of these often used kernels under the control of the multimedia applications can be written in any imperative ASIP. high level language using two kinds of function calls. Goal of executing the innermost loop of any of the se- The first type being basic multimedia file header process- lected kernel in one clock with few finite arithmetic units ing and system IO handling, these are processed by the is satisfied if the address generation units are separated controller processor. The second type of function calls from data-path of the kernel. This leads to use of dedi- being the DSP kernels that can be mapped directly on to cated AGUs. the RFUs, can be executed in an accelerated fashion. This is also supported by the observation made in [3] that This eliminates the need for re-synthesis and special in case of application implementation through high level efforts required in writing compilers/applications with synthesis, inclusion of AGU minimizes the circuit com- effective design space explored to suit the reconfigurable plexity and helps achieving higher speeds of execution. hardware. The interaction between the Controller proces- HDL code in structured style has been developed, tested sor and the RFUs has been described earlier in this article. for each of the address update functions required by data A set of dedicated, efficient Address Generator Units fetch, coefficient fetch and result-write operations of each (AGU) will definitely enhance the performance. Next kernel, such that one address is generated per clock in the section discusses the AGU in detail. required sequence. Common functional units used in the address generation process for these kernels were identi- fied; and a Comprehensive AGU that can support various addressing modes with a shared data-path elements and control structure was developed. 2 ICGST-PDCS, Volume 11, Issue 1, December 2011 3.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us