{'fraction_non_alphanumeric': 0.02773497688751926, 'fraction_numerical': 0.0030816640986132513, 'mean_word_length': 5.770833333333333, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Automatic implementation of arithmetic functions in high-level synthesis

Implementation of floating-point arithmetic functions is an essential task in high-level synthesis (HLS). However, most of the existing HLS EDA tools cannot well synthesize floating-point functions. In this paper, we present an automatic method to implement general floating-point functions using piecewise polynomial approximation. Based on the proposed hardware architecture, our method achieves compact implementations, which have low delay and high throughput. Experiment shows that compared with existing methods, the proposed method reduces register usage by about 10%.