sure thank you for your help
actually Iam using systemc-2.1.v1 under VC (visual studio 6) with windows OS
about my code, well it's a simple mux , and the problem is in the stim file below :
#include "systemc.h"
SC_MODULE(stim) {
sc_in <sc_bv<8> > A,B;
sc_in <bool> sel;
sc_in_clk CLK;
void stimgen() {
A = "01001000";
B = "00001111";
sel.write(false);
wait();
A="01001000";
B="00001111";
sel.write(true);
wait();
sc_stop();
}
SC_CTOR(stim)
{
SC_CTHREAD(stimgen,CLK.pos());
}
};