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

SDSoC 2015.2.1 - ERROR: [SDSoC 0-0] Hardware function 'xxxx' BRAM resource requirement (219) exceeds platform 'zc702' resource capacity (140)

Description

When I run "Build Project", I got the following error.

ERROR: [SDSoC 0-0] Hardware function 'xxxx' BRAM resource requirement (219) exceeds platform 'zc702' resource capacity (140)


It says Hardware function exceeds BRAM resource in the target device. I looked at HLS report but it uses 18K BRAM x 219 out of a total 280.

Why do I get this error?

Solution

This error is generated incorrectly.

The tool checks the BRAM utilization based on 36K BRAM. If you are using the ZC702 platform, the device has 36K BRAM x 140. The tool should check the BRAM utilization in the same unit as the HLS report.

To work around this issue, edit the .pfm file and modify the BRAM number.

For example, for the ZC702 platform, the .pfm is located in {SDSoC Install Dir}/2015.2.1/platforms/zc702/zc702_hw.pfm.

Change the BRAM number from:

<xd:component xd:BRAM="140" xd:DSP="220" xd:FF="106400" xd:LUT="53200" xd:library="xd" xd:name="zc702" xd:type="platform" xd:vendor="xilinx.com" xd:version="1.0">

Change the BRAM number to:

<xd:component xd:BRAM="280" xd:DSP="220" xd:FF="106400" xd:LUT="53200" xd:library="xd" xd:name="zc702" xd:type="platform" xd:vendor="xilinx.com" xd:version="1.0">

This issue will be fixed in a future version.

AR# 66274
Date Created 12/17/2015
Last Updated 12/22/2015
Status Active
Type General Article
Tools
  • SDSoC