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# 51656

System Generator - Xfloat is a valid option when Configuring ports on Black Boxes


In the System Generator User Guide, the Sysgen Port Descriptor methodssection describes"setType" anddeclares the valid options. However, this is not a complete list, "XFLOAT" is also a valid option provided this is not applied on a single bit port.

An example of its usages can be found below.


This defines a port "ap_return" on the black box which has acustom precision floating point value.

ap_return_port = this_block.port('ap_return');

AR# 51656
Date 09/07/2012
Status Active
Type General Article
  • System Generator for DSP - 14.1
  • System Generator for DSP - 14.2
Page Bookmarked