Re: [sv-bc] New Mantis item 321 (easy one)

From: Brad Pierce <Brad.Pierce@synopsys.com>
Date: Wed Nov 24 2004 - 10:33:51 PST

That text would make more sense to the user if the comment in
the example were extended to say something like "unless explicitly
declared static".

-- Brad

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org]On Behalf Of
Warmke, Doug
Sent: Wednesday, November 24, 2004 9:40 AM
To: sv-bc@eda.org
Subject: [sv-bc] New Mantis item 321 (easy one)

Hello SV-BC,

I've added new Mantis item 321

http://www.eda.org/svdb/bug_view_page.php?bug_id=0000321

In Section 5.5, the following appears:

program automatic test ;
int i; // not within a procedural block - static
task foo( int a ); // arguments and variables in foo are automatic
...
endtask
endmodule

The "endmodule" should be "endprogram".

In addition, it should be explicitly spelled out
that it is permissible to make hierarchical references
to any static object, even those residing inside
automatic tasks and functions.

A proposal has been uploaded.

Regards,
Doug
Received on Wed Nov 24 10:32:43 2004

This archive was generated by hypermail 2.1.8 : Wed Nov 24 2004 - 10:32:49 PST