我正在使用SystemC和Ubuntu 14.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
。
我该如何解决?
答案 0 :(得分:1)
尝试再次重建所有内容。我遇到了同样的问题,重建后,问题就解决了。