Jump to content

Sensitivity inside the constructor


samyakjaroli

Recommended Posts

I am curious to know,

what would happen if we do not specify the sensitivity of a void function inside the constructor.

sc_module(my_module){

//port definition

void do_void() {

// function definition

}

sc_ctor(my_module){

// some initialization

sc_method(do_void)

// nothing mentioned in sensitivity

}

};

Link to post
Share on other sites
  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...