RE: Errors from process control methods

From: Bishnupriya Bhattacharya <bpriya@cadence.com>
Date: Thu Dec 02 2010 - 00:43:38 PST

John,

Good catch. I would prefer a warning over error, but can also live with an error.

Thanks,
-Bishnupriya

________________________________
From: john.aynsley@doulos.com [mailto:john.aynsley@doulos.com]
Sent: Thursday, December 02, 2010 2:03 AM
To: Bishnupriya Bhattacharya; systemc-p1666-technical@eda.org
Subject: Errors from process control methods

Bishnupriya, All,

I have just noticed an inconsistency. When discussing sc_pause, we recently decided "it shall be an error" to call kill, reset, or throw_it while simulation is paused. But a while back, after some discussion, we decided that calling such methods from the wrong context, such as during elaboration, would not be an error but would have no effect other than optionally generating a warning.

So my question is, should the same apply when paused, i.e just an optional warning?

Thanks

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Dec 2 00:44:37 2010

This archive was generated by hypermail 2.1.8 : Thu Dec 02 2010 - 00:44:46 PST