UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 56654

Vivado HLS 2013.2 Integer to Floating Point conversion extends the inputs to 64-bits

Description

The following C-code, when implemented with Vivado HLS, should ideally infer a 32-bit fixed-point to floating-point converter.

Instead, it infers a 64-bit one (sitofp_64s_32_5):
 
#include <math.h>
#include <stdint.h>
#include "ap_cint.h"
float float_test(int24 din_s24)
{
    return (float)din_s24;
}

Solution

This is a known issue with Vivado 2013.2 which is planned to be fixed in a future release.


AR# 56654
Date Created 07/02/2013
Last Updated 02/20/2015
Status Active
Type Known Issues
Devices
  • Kintex-7
Tools
  • Vivado Design Suite - 2013.2