Per, Per Bojsen wrote: >>If those utility functions are used with any noncontext function, a >>system error shall result." > > > This introduces the term `noncontext function'. It is not clear if > this refers to those imported functions/tasks that are not specified > as context *or* if it also includes all functions that are not > imported. To me the text is quite ambiguous. At the very least it > requires clarification from the SV committee. > > Actually this is not the first time this term is introduced. Of the 10 references to "non-context" that I counted in the LRM, there is only one reference to "non-context functions", namely the one in Jason's quoted paragraph. I think this was an unintentional omission of "tasks or" different from the other 9 places. Furthermore, in section 26.4.3, 3rd paragraph: "For the sake of simulation performance, an imported task or function call shall not block SystemVerilog compiler optimizations. An imported task or function not specified as context shall not access any data objects from SystemVerilog other than its actual arguments. Only the actual arguments can be affected (read or written) by its call. Therefore, a call of a non-context task or function is not a barrier for optimizations. A context imported task or function, however, can access (read or write) any SystemVerilog data objects by calling PLI/VPI, or by calling an export task or function. Therefore, a call to a context task or function is a barrier for SystemVerilog compiler optimizations." I think it is fairly clear from this paragraph what is meant by a "non-context task or function". Given that the 'context' keyword can only be applied to imported tasks or functions, I think it can be reasonably concluded that the term "non-context" specifically means an imported task or function without the keyword. -- johnS This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission /\ is strictly prohibited. If you are /\ | \ not the intended recipient please | \ / | contact the sender and delete / \ \ all copies. /\_/ K2 \_ \_ ______________________________/\/ \ \ John Stickley \ \ \ Mgr., Acceleration Methodologies \ \________________ Mentor Graphics - MED \_ 17 E. Cedar Place \ john_stickley@mentor.com Ramsey, NJ 07446 \ Phone: (201) 818-2585 ________________________________________________________________Received on Thu Mar 30 21:59:33 2006
This archive was generated by hypermail 2.1.8 : Thu Mar 30 2006 - 21:59:36 PST