# [vitis_hls] Top function not found when doing synthesis ## 問題 在vitis_hls中進行C Synthesis時發生錯誤 > "Top function not found: there is no function named 'fir_n11_maxi'" ![](https://hackmd.io/_uploads/r1ABW9n1a.png) ## 解決方法 不要把vitis_hls的project放在virtualbox共用資料夾。把project複製到其他地方就可以正常進行synthesis了。 ### comment 在做lab1時,我也是把vitis_hls的project放在virtualbox共用資料夾,可是卻沒有發生這個錯誤。所以不太確定造成這個錯誤的根本原因到底是什麼。 ### 參考 https://support.xilinx.com/s/question/0D52E00006orA0mSAE/vitis-hls-not-working-under-linux-always-returns-top-function-not-found?language=en_US