Reputation: 353
I am using SystemC and Ubuntu 14.04 and I am trying to setup up Eclipse for a small SystemC project. I followed the the provided readme and the following tutorial here.
The problem is that sc_signal_resolved
is not being recognized. I have a syntax error tell me that sc_signal_resolved
could not be resolved.
Below is a sample of my code:
#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);
}
Why is it not recognized? When for instance sc_in<sc_logic>
is recognized. I have verified and the file is the sysc/communication folder
.
How can I solve it?
Upvotes: 0
Views: 321
Reputation: 140
Try to rebuild all again. I had the same problem and after rebuilding, it worked out.
Upvotes: 1