John,
Yes reset() throws an sc_kill_exception.
It is a good idea to distinguish reset from kill by using the exception. I suggest a member method in the sc_kill_exception class - "bool reset()" - or perhaps have sc_reet_exception that derives from sc_kill_exception?
WDYT?
Thanks,
-Bishnupriya
________________________________
From: john.aynsley@doulos.com [mailto:john.aynsley@doulos.com]
Sent: Wednesday, July 21, 2010 9:13 PM
To: Bishnupriya Bhattacharya; systemc-p1666-technical@eda.org
Subject: reset method
Bishnupriya, All,
Does the reset method throw an sc_kill_exception, or another named exception that can be caught and handled by the user, or an anonymous exception that is implementation-specific and not intended to be caught and handled?
Given that sc_kill_exception can be caught, it would seem consistent if something similar applied for an immediate reset.
John A
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Jul 21 12:49:40 2010
This archive was generated by hypermail 2.1.8 : Wed Jul 21 2010 - 12:49:41 PDT