Title :
Precision and error analysis of MATLAB applications during automated hardware synthesis for FPGAs
Author :
Nayak, Anshuman ; Haldar, Malay ; Choudhary, Alok ; Banerjee, Prith
Author_Institution :
Center for Parallel & Distributed Comput., Northwestern Univ., Evanston, IL, USA
Abstract :
We present a compiler that takes high level signal and image processing algorithms described in MATLAB and generates an optimized hardware for an FPGA with external memory. We propose a precision analysis algorithm to determine the minimum number of bits required by an integer variable and a combined precision and error analysis algorithm to infer the minimum number of bits required by a floating point variable. Our results show that on average, our algorithms generate hardware requiring a factor of 5 less FPGA resources in terms of the configurable logic blocks (CLBs) consumed as compared to the hardware generated without these optimizations. We show that our analysis results in the reduction in the size of lookup tables for functions like sin, cos, sqrt, exp etc. Our precision analysis also enables us to pack various array elements into a single memory location to reduce the number external memory accesses. We show that such a technique improves the performance of the generated hardware by an average of 35%
Keywords :
digital signal processing chips; error analysis; field programmable gate arrays; floating point arithmetic; hardware description languages; hardware-software codesign; image processing; integer programming; program compilers; table lookup; FPGA; MATCH compiler; MATLAB applications; VHDL; automated hardware synthesis; compiler; configurable logic blocks; external memory; floating point variable; high level algorithms; image processing algorithms; integer variable; memory packing algorithm; minimum number of bits; optimized hardware; precision analysis algorithm; precision and error analysis; reduced lookup table size; signal processing algorithms; single memory location; value range propagation algorithm; various array elements; Algorithm design and analysis; Error analysis; Field programmable gate arrays; Hardware; Image processing; Logic; MATLAB; Optimizing compilers; Signal generators; Signal processing;
Conference_Titel :
Design, Automation and Test in Europe, 2001. Conference and Exhibition 2001. Proceedings
Conference_Location :
Munich
Print_ISBN :
0-7695-0993-2
DOI :
10.1109/DATE.2001.915108