具體的一張錯誤如下圖:
可能你的錯誤不是這樣的,但是會出現Fatal Error。
具體解決方法:
intel官網解釋:
Internal Error: Sub-system: RVD, File: /quartus/rtlv/rvd/rvd_netlist_component.cpp, Line: 9067
Description
Due to a problem in the Quartus® II software version 13.0 Web Edition, you may see this internal error when launching the RTL Viewer.
Workaround/Fix
To work around this problem, edit your project Quartus II Settings File (.qsf) to include the following line (or modify this setting if the line is already in your .qsf):
set_global_assignment -name RTLV_GROUP_RELATED_NODES ON
This problem is scheduled to be fixed in a future release of the Quartus® II software.
所以我們把
set_global_assignment -name RTLV_GROUP_RELATED_NODES ON
添加到工程的qsf文件中即可。然後編譯就可以正常查看RTL圖了
我的Quartus是13.1,這應該是一個軟件的bug,與你的代碼沒有關係。