View email archives for the history of this mailing list.
systemc-forum - SystemC sc_simcontext destroy.
- To: "systemc-forum@xxxxxxxxxxxxxxxxx" <systemc-forum@xxxxxxxxxxxxxxxxx>
- From: "A, Nizamudheen" <niz@xxxxxx>
- Date: Fri, 29 Oct 2010 11:59:02 +0530
- Send Email to firstname.lastname@example.org:
- Send new message
- Reply to this message
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
I think, there should be some means to destroy the kernel as well. Can someone
throw some light on this?