Subject: Re: Process control requirements - clarification
From: Kevin Cameron x3251 (Kevin.Cameron@nsc.com)
Date: Mon Jul 22 2002 - 12:36:38 PDT
Dynamic processes in SystemVerilog (Sec 9.6) are currently not
controllable once created. Fixing this requires adding a
globally visible identity for each process as it is created,
and adding functions to control processes. Process control
functions required are:
Stop/Suspend:
The process stops processing immediately and goes to
sleep - all events are ignored.
Continue/Restart:
Awaken a sleeping process (ignored if process is not
sleeping) - if it was waiting for an event, it will
continue to wait.
Kill/Destroy:
The process is stopped permanently and all associated
dynamic data is freed, called tasks are disabled. This
is the same as if the process exited but the return
status will indicate the process was killed.
Existance:
Check status of process - what state is it in (sleeping,
waiting or active) or what was it's exit status.
A proposal was posted a while ago -
http://www.eda.org/vlog-pp/hm/0409.html
- so far the only suggestion was making the process id a seperate
type (probably defined in a system header with the $kill return
codes).
Kev.
This archive was generated by hypermail 2b28 : Mon Jul 22 2002 - 12:38:39 PDT