[sv-bc] package contents

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sat May 31 2008 - 23:51:31 PDT
Hi,

25.2 contains three different lists of what packages may contain. None
of the three are complete. Each is different from the others. Three
different lists within the same subclause seems redundant and confusing.
I would think that one would be enough, with a few additional words to
indicate that the list is not complete.

These are the three lists:

"SystemVerilog packages provide an additional mechanism for sharing
parameters, data, type, task, function, sequence, and property
declarations among multiple SystemVerilog modules, interfaces, and
programs."

"Types, nets, variables, tasks, functions, sequences, and properties may
be declared within a package."

"Items within packages are generally type definitions, tasks, and
functions...It is also possible to populate packages with parameters,
variables, and nets."

and this is the BNF, which formally defines the complete list:

package_item ::=
	package_or_generate_item_declaration
	| anonymous_program
	| package_export_declaration
	| timeunits_declaration

package_or_generate_item_declaration ::=
	net_declaration
	| data_declaration
	| task_declaration
	| function_declaration
	| dpi_import_export
	| extern_constraint_declaration
	| class_declaration
	| class_constructor_declaration
	| local_parameter_declaration ;
	| parameter_declaration ;
	| covergroup_declaration
	| overload_declaration
	| concurrent_assertion_item_declaration
	| ;

Shalom

Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6582
+972 54 721-1033

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sat May 31 23:53:59 2008

This archive was generated by hypermail 2.1.8 : Sat May 31 2008 - 23:54:46 PDT