Jump to content

PARVINDER PAL SINGH

Members
  • Content Count

    1
  • Joined

  • Last visited

About PARVINDER PAL SINGH

  • Rank
    Member
  • Birthday 05/17/1989

Profile Information

  • Gender
    Male
  • Location
    New Delhi

Contact Methods

  • Yahoo
    palparvinder@yahoo.com
  1. Hello VanTeo, Asuming your modue A have sc_in<bbol> port you can do something like : SC_MODULE(A) { sc_in<bool> inPort; ..... void before_end_of_elaboration() { sc_interface* i_f = clock.get_interface(); sc_clock* clk = dynamic_cast<sc_clock*>(i_f); sc_time t = clk->period(); // Call method of clock object to which port is bound ... } ... };
×
×
  • Create New...