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 - SystemC sc_simcontext destroy. Message Thread: Previous | Next
  • To: "systemc-forum@xxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxx>
  • From: "A, Nizamudheen" <niz@xxxxxx>
  • Date: Fri, 29 Oct 2010 11:59:02 +0530
Send Email to systemc-forum@lists.systemc.org:
Send new message
Reply to this message
Hi All,


This question is specific to OSCI SystemC Reference-implementation Engine...

The OSCI Reference Implementation uses sc_simcontext (that is deprecated in the 
LRM, I believe). The sc_simcontext is the container for the entire SystemC 
engine data-structures. The SystemC kernel comes alive with the instantiation 
of this class. However, the LRM does not define a means by which the kernel can 
be deleted. For instance, (in the SystemC reference implementation) 
sc_default_global_context is a pointer to sc_simcontext and allocated from heap 
at init-time. There is not code in the reference implementation that deletes 
the same.


I think, there should be some means to destroy the kernel as well. Can someone 
throw some light on this?


Regards,
Nizam

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