#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 position counter(clock,reset,enable,counter_out); // Rest of the body of the testbench return 0;// Terminate simulation }