Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - exception from systemc sensitivity list Message Thread: Previous | Next
  • To: systemc-forum@xxxxxxxxxxxxxxxxx
  • From: Sundeep Singh <singh.sundeep@xxxxxxxxx>
  • Date: Wed, 29 Jun 2011 17:50:18 -0700
  • Cc: community_forum@xxxxxxxxxxxxxxxxx, help_forum@xxxxxxxxxxxxxxxxx
Send Email to systemc-forum@lists.systemc.org:
Send new message
Reply to this message
Hi,

I am getting a construction time error because I have made a module's method sensitive to an event from other module. Why is this incorrect?
E.g.

SC_MODULE(A)
{
   public:
   ....
   sc_event a_event;
   ....
};

SC_MODULE(B)
{
   public:
   void method_b();
   SC_METHOD(method_b);
   sensitive << A_ptr->a_event;  ///I get an exception here
   ...
};

I just don't understand why is the above incorrect. Any help is appreciated!

Thanks,
Sundeep.



By Date: Previous | Next Current Thread By Thread: Previous | Next