I dont have much experience in cpp, let alone systemc.
Why doenst this work?
sc_in<sc_uint<8>> a,b;
adder.cpp:5: error: ‘a’ was not declared in this scope
adder.cpp:5: error: ‘b’ was not declared in this scope
adder.cpp:5: error: wrong number of template arguments (2, should be 1)
This does work:
sc_in<int> a,b;