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!

取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Observer yanjian
Observer
265 次查看
注册日期: ‎11-28-2018

vivado hls 如何对一个二维数组中元素反复更新操作

arry_imga[y][x] = arry_imga[y][x]&(~dsst[y][x]);

编译错误

Internal global variable 'arry_imga.V' failed dataflow checking: it can only be written in one process function.

请问如何解决对一个数组进行for循环多次更新操作。

0 项奖励
1 条回复1
Teacher xilinxacct
Teacher
256 次查看
注册日期: ‎10-24-2018

回复: vivado hls 如何对一个二维数组中元素反复更新操作

@yanjian

There are limitations on the multiple reads (and writes) to the same array in HLS. (and are dependent on the interface type)

With the 'dataflow' enabled... you want to isolate the reads and writes, so the dependencies are clear. Try reading into an intermediate variable.

Hope that helps

If  so, please mark as solution accepted.

 

0 项奖励