我正在使用SystemC和Ubuntu14.04,并且我正在尝试为一个小的SystemC项目设置Eclipse。我遵循了提供的自述文件和下面的教程here。
问题是sc_signal_resolved不能被识别。我遇到一个语法错误,告诉我无法解析sc_signal_resolved。
下面是我的代码示例:
#include <systemc.h>
int sc_main(int argc, char ** argv) {
sc_signal_resolved zero, one;
// in the rest of the code I will use the zero and one passing them to some gates.
return(0);
}为什么它不被识别?例如,当识别出sc_in<sc_logic>时。我已经验证过了,文件就是sysc/communication folder。
我该怎么解决它呢?
发布于 2016-08-20 20:47:10
尝试重新重建所有内容。我有同样的问题,重建后,它解决了。
https://stackoverflow.com/questions/39054173
复制相似问题