[sv-ec] constraint_mode is a task?

From: Michael Burns <michael.burns_at_.....>
Date: Tue Aug 22 2006 - 14:31:33 PDT
Hi folks,

Section 13.8 defines constraint_mode on a constraint like this:

The syntax for the constraint_mode() method is as follows:
   task object[.constraint_identifier]::constraint_mode( bit on_off );
or
   function int object.constraint_identifier::constraint_mode();

Is this intended to be a declaration of the built-in constraint_mode 
method or the calling of it? It looks like it's trying to be both. The 
declaration would look like this:

   task constraint_mode( bit on_off );
or
   function int constraint_mode();

and the calling like this:

   object[.constraint_identifier].constraint_mode( bit on_off );
or
   int foo = object.constraint_identifier.constraint_mode();

Am I making sense?

Also, the task version would be much better defined as a void function 
so it could be called from within other tasks.

Thanks,
Mike Burns
Freescale
Received on Tue Aug 22 14:31:33 2006

This archive was generated by hypermail 2.1.8 : Tue Aug 22 2006 - 14:31:51 PDT