#include "systemc.h" #include "first_counter.cpp" int sc_main (int argc, char* argv[]) { sc_signal clock; sc_signal reset; sc_signal enable; sc_signal > counter_out; int i = 0; // Connect the DUT first_counter counter("COUNTER"); // Here ports are connected by name counter.enable(enable); counter.reset(reset); counter.clock(clock); counter.counter_out(counter_out); // Rest of the body return 0;// Terminate simulation }