简体   繁体   中英

SystemC sc_signal_resolved could not be resolved

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?

Try to rebuild all again. I had the same problem and after rebuilding, it worked out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM