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