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

2013.2 Vivado HLS - @E [XFORM-711] : Error from DATAFLOW Pipeline

Description

I am receiving the error below:

@E [XFORM-711] Function 'make_HOG_feature' (hog2_no_ih.c:30) failed dataflow checking: 
non-static global variable 'inputImage[0]' (hog2_no_ih.c:22) has read/write operations in function 'calc_histogram' and 'get_image'.


How can I debug this error?

Solution

This problem can occur if the ping-pong buffer is not used appropriately.

When using the Ping-Pong buffer, keep the following in mind:

Remember the dataflow channel cardinal rule: each channel can only have one producer/writer and one consumer/reader.

(UG902) (v2013.2) states the following on page 137:
 
To use dataflow pipelining, the arguments in each function must appear only twice:
Once as a producer from one function call (including return arguments) and once as a consumer in another function argument.

AR# 57380
Date Created 09/05/2013
Last Updated 03/23/2015
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2013.2