取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
wwlcumt
Explorer
Explorer
148 次查看
注册日期: ‎07-25-2020

dataflow报错,怎么办?

ERROR: [XFORM 203-711] Internal global variable 'f32FreqScaleFactor' failed dataflow checking: it can only be written in one process function.
WARNING: [XFORM 203-713] Internal global variable 'f32FreqScaleFactor' has write operations in process function 'GenFastPllNew_Setup33'.
WARNING: [XFORM 203-713] Internal global variable 'f32FreqScaleFactor' has write operations in process function 'GenFastPllNew_Setup34'.
WARNING: [XFORM 203-713] Internal global variable 'f32FreqScaleFactor' has write operations in process function 'GenFastPllNew_Setup'.

关键程序中多次调用这个变量进行写操作。

0 项奖励
2 回复数
wwlcumt
Explorer
Explorer
146 次查看
注册日期: ‎07-25-2020

HLS version:2018.b

0 项奖励
wenchen
Moderator
Moderator
43 次查看
注册日期: ‎05-27-2018

Hi @wwlcumt ,

 it can only be written in one process function. 这个报错你看一下手册,必须是单产出单消耗模型才能用在dataflow里面

https://www.xilinx.com/html_docs/xilinx2020_2/vitis_doc/vitis_hls_optimization_techniques.html?hl=dataflow#gnf1539734226379__section_nxp_ktr_cgb,

Thanks,

Wen

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.


**~ Got a minute? Answer our Vitis HLS survey here! ~**


-------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励