DSP processor design for reconfigurable system on chip

Ammar Abdul-Jabbar Al-tameemi · 2013

Digital Signal Processors (DSP processors) are now a common hardware design block, either as a standalone integrated circuit, or as a module in a system on chip. Their unique architectural tradeoffs means that they have significant performance advantages over conventional general purpose processors for signal processing applications such as multimedia and communications. Separately, Field Programmable Gate Arrays (FPGAs) have become a common digital system design target. Often FPGA systems contain a softcore processor as part of a reconfigurable system on chip. However, to date, there has been little investigation of implementing a DSP processor as a softcore processor on an FPGA. The lack of any open source, softcore DSP processors for FPGAs has motivated this research. A complete softcore DSP processor has been built from scratch, called UR-DSP (an abbreviation for University RISC Digital Signal Processor). This processor has been designed, implemented, simulated, and verified on a Xilinx Virtex-5 XC5VSX50T FPGA chip. Furthermore, the processor's architecture has been upgraded with different supporting hardware to enhance the processor's performance in execution of DSP applications. These hardware enhancement techniques include a specialist execution unit, modification in memory architecture, adding an extra control unit, upgrading with more active addressing modes, and extending the instruction set. The purpose of adding these enhancements is to reduce the number of instructions used in the inner loop of convolution-based DSP algorithms. By using these proposed enhancement techniques, the overall performance was improved by an average of 9 times (800% improvement) in benchmark DSP applications. The overall area increased by about 1.35 times (35% extra cost). The research highlights the impact of each enhancement technique on the performance, power consumption and the area cost of each DSP processor prototype. All prototypes were benchmarked with three different DSP algorithms, namely FIR filter, Matrix Multiplication, and FFT, to investigate the usefulness of the enhancements on each one of these DSP algorithms. The first UR-DSP prototype, which is considered the base-line design, has been built with a CPU core, memories, and other peripherals. The processor has been designed architecturally from scratch, with an instruction set based on the ADSP21xx. The peripherals were limited to a serial port interface and timer. The initial prototype can perform the proposed convolution-based DSP algorithms inner loop using 11 instructions. The first enhancement conducted on the UR-DSP architecture is adding a Multiply-Accumulate (MAC) unit. Separate multiplication and addition operations have been merged in one MAC instruction. The MAC-Supported prototype can now perform the inner loops of the proposed DSP applications using 7 instructions. The performance of FIR filter and Matrix Multiplication benchmarks is enhanced by 55% (x1.55 speedup) compared to the base-level prototype. However, FFT execution does not demonstrate any enhancement. The area of the MAC-Supported prototype increases by just 7.5% compared to the initial architecture. Specialist addressing modes can provide a significant improvement of the performance. So the second enhancement has been conducted with an auto-increment index register. A Data Address Generator (DAG) unit is used to calculate the addresses of the accessed operands. This prototype can perform the inner loop of the proposed DSP algorithms using 5 instructions only. The performance is enhanced by 40% (x1.4 speedup) in the execution of FIR filter and Matrix Multiplication benchmarks. However, the FFT benchmark showed only 11% (x1.11 speedup) enhancement compared to the MAC-Supported prototype's performance. The area utilization increases by 21% from the previous design. The final (third) development for the UR-DSP architecture tries to compact all operations in the inner loops of some DSP algorithms into one instruction. This enhancement step also involves a modification of the Harvard-Memory architecture by extending it with two data memories (DM1 and DM2). Furthermore, the burden of loop control has been shifted to the hardware, so there is no need to increment/decrement the loop counter and check the loop conditions using extra instructions. This prototype is capable of performing the inner loop of the proposed algorithms using a unique instruction only. The performance increased by more than 300% (x4 speedup) for the convolution-based DSP algorithms (FIR filter and Matrix Multiplication) compared to the performance of the DAG-Supported prototype. However, FFT execution is enhanced by just 10% (x1.1 speedup) compared with the DAG-Supported prototype's performance. The slices utilization has increased by 3.2%. In addition, because a new data memory has been added in this design, the BlockRAM increased from 16 blocks as in all previous paradigms to 22 blocks here. All UR-DSP prototypes have been compared with the performance of the MicroBlaze softcore processor (from Xilinx) to understand the performance of our processor compared to existing softcore processors. Overall, results show that a DSP softcore processor, with support for convolution-based algorithms, provides excellent performance at moderate cost compared to existing general-purpose softcore processors.

Read the paper · More papers on PaperTik