Re: make "errors" be "warnings" in process control spec

From: <john.aynsley@doulos.com>
Date: Fri Sep 10 2010 - 06:28:44 PDT

Bishnupriya,

I have already caught the first 5 points.

Regarding the 6th point, does this only apply to throw_it? Are there
similar constraints on calling other process control methods from phase
callbacks or from the update phase?

John A

From:
Bishnupriya Bhattacharya <bpriya@cadence.com>
To:
"john.aynsley@doulos.com" <john.aynsley@doulos.com>, SystemC P1666
Technical <systemc-p1666-technical@eda.org>
Date:
08/09/2010 12:36
Subject:
make "errors" be "warnings" in process control spec

John,
 
I reviewed all the places in the current spec where it says something
"shall be an error". For all of these, I feet it will be fine (and
probably better) to say "shall generate a warning". Some of these have
already been discussed in the reflector and it has been concluded that
these should be made warnings instead of errors.
 
I include the full list below.
 
Thanks,
-Bishnupriya
 
 
- "sync_reset_on() shall only be applicable to thread processes, it shall
be an error to invoke sync_reset_on() on a method process"
- "It shall be an error to specify reset_signal_is() for a method process"
- "throwing an exception in a terminated process shall be an error if the
include_descendants flag is not set"
- "Throwing an exception in a process that has not started execution yet
shall have no effect for the same reasons as above, and shall be an error"
- "Throwing an exception when simulation is not running (before simulation
start or after simulation end) shall have no effect and shall be an error"
- "The thrower shall always be a process. It shall be an error to throw an
exception from any other context, for example from a phase callback or
from the update() routine of a user defined channel"
 
-------------------------------------------------------------------------------------------------------------------------------------

     Bishnupriya Bhattacharya | R&D - SystemC Simulation, Debug &
Analysis | Cadence
     P: +91.80.4184.1197 www.cadence.com
-------------------------------------------------------------------------------------------------------------------------------------

 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Sep 10 06:29:13 2010

This archive was generated by hypermail 2.1.8 : Fri Sep 10 2010 - 06:29:17 PDT