#ifndef CROSS_H #define CROSS_H #include "config.h" #include SC_MODULE( cross ) { sc_in > in_0; sc_in > in_1; sc_out > out_0; sc_out > out_1; void dispatch(); SC_CTOR( cross ) { SC_THREAD( dispatch ); sensitive << in_0 << in_1; } }; #endif /* CROSS_H */