RE: Priority of process control methods

From: Bishnupriya Bhattacharya <bpriya@cadence.com>
Date: Tue Sep 14 2010 - 02:00:23 PDT

John,

Sorry for the delay in getting back.

Your interpretation of independent suspend/resume and sync_reset_on/off flags is correct.

About suspend and disable, the process similarly maintains independent flags. So in the scenario below, after the enable, the process stays in the suspended state.

Thanks,
-Bishnupriya

________________________________
From: john.aynsley@doulos.com [mailto:john.aynsley@doulos.com]
Sent: Friday, September 10, 2010 3:56 PM
To: Bishnupriya Bhattacharya; systemc-p1666-technical@eda.org
Subject: Priority of process control methods

Bishnupriya,

If a suspended process gets a series of sync_reset_on / sync_reset_off calls then it in effect toggles in and out of the sync reset state, even though the effect would not be visible until the process is resumed, right? In effect, a process has independent suspend/resume and sync_reset_on/off flags where the suspend/resume flag takes priority.

What about suspend versus disable? If we have;

p.suspend(); // Process suspended
p.disable(); // Process disabled, takes priority over suspend
p.enable(); // ??

Is the process left in the suspended state or is the suspension lifted when the disable is lifted? In other words, does a process keep independent suspend and disable flags?

Thanks,

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Sep 14 02:00:51 2010

This archive was generated by hypermail 2.1.8 : Tue Sep 14 2010 - 02:00:55 PDT