SDSoC 因命名空间找不到顶层函数
HLS / Vitis 已闭环 SDSoC / Vivado HLS 2017.4
所属错误族:HLS 200 错误族:高层次综合(HLS)
一句话结论:命名空间中的函数无法直接作为顶层函数,需与工程设置名称匹配
SDSoC 综合时提示找不到顶层函数 func,可综合性检查失败
ERROR: [SYNCHK 200-79] Cannot find the top function 'func' in the design. Possible causes are: (1) the top function name is misspelled; (2) the top function is nonexistent or declared as static.
顶层函数需与工程设置匹配;函数位于命名空间内导致名称不匹配(func != first_space::func),且 :: 不能用作 RTL 名称
命名空间中的函数无法直接作为顶层函数,需与工程设置名称匹配
本文据 AMD 客户社区(原 Xilinx 论坛)真实报错帖整理为中文要点,非原文转载;技术细节以原帖与 AMD 官方文档为准。
原帖:https://adaptivesupport.amd.com/s/question/0D52E00006iHwDGSA0/sdsoc-synthesize-error-for-nam…
每日快报 · 每周精选 · 每月深度刊