Templatised Soft Floating-Point for High-Level Synthesis
Author:
- 1 April 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 227-235
Abstract
High-level Synthesis (HLS) tools have greatly increased the productivity of FPGA application development, making it possible to easily create highly-parallel application-accelerators. However, while FPGAs are known for the ability to customise the number representation of data-paths, most HLS work only uses custom-precision for fixed-point representations, and for floating-point relies on the 64-, 32-, and 16-bitformats provided by vendors. This paper presents a solution for parametrised floating-point in HLS via C++ templates, allowing for compile-time selection of exponent and fraction widths, including the use of mixed precisions for input arguments and result types. By using arbitrary width integers and compile-time logic the resulting operators describe the same data-path as an external floating-point IP generator, while still allowing the HLS tool to perform detailed optimisation and scheduling of the internal components. We show that the resulting custom-width HLS cores provide similar area and performance to platform-native vendor IP blocks, while adding full support for heterogeneous precision floating-point data-paths to HLS tools.Keywords
This publication has 9 references indexed in Scilit:
- High-level synthesis of software-customizable floating-point cores2018
- Bridging high-level synthesis and application-specific arithmetic: The case study of floating-point summations2017
- Open-Source Variable-Precision Floating-Point Library for Major Commercial FPGAsACM Transactions on Reconfigurable Technology and Systems, 2016
- Correctly rounded floating-point division for DSP-enabled FPGAs2012
- Designing Custom Arithmetic Data Paths with FloPoCoIEEE Design & Test of Computers, 2011
- FPGA Floating Point Datapath Compiler2009
- When FPGAs are better at floating-point than microprocessors2008
- Parameterised floating-point arithmetic on FPGAs2002
- Automating Customisation of Floating-Point DesignsLecture Notes in Computer Science, 2002