Re: [sv-bc] Proposal to make it easier to use packages with port declarations

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Tue May 09 2006 - 14:44:14 PDT
Stu,

Following up on http://www.eda.org/sv-bc/hm/4402.html , are you still in
favor of the syntax you proposed in Mantis 329?  (Personally, I'm
tending to favor the syntax of Gord in
http://www.eda.org/sv-bc/hm/4408.html .)

If so, the BNF in the proposal would need to be modified to take into
account that currently "package_import_declaration" includes its
terminating semicolon.  The BNF in the proposal would only accept syntax
like

   module #(import shared_decls::*; parameter SIZE = 2048)   

That's OK by me for the reasons in 

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

but your examples indicate that such semicolon syntax wasn't your
intent.

Less importantly, the proposal would need to be updated to reflect the
clause renumberings, a recent fix to the "parameter_port_list" BNF, and
perhaps other things.

Also, there might need to be some restriction on syntax such as

   module #(import shared_decls::*, SIZE = 2048)

perhaps requiring that the parameter keyword can only be omitted at the
start of a parameter port list

   module #(size = 2048, import shared_decls::*)

But I haven't thought about that enough to offer an opinion.

-- Brad
Received on Tue May 9 14:44:24 2006

This archive was generated by hypermail 2.1.8 : Tue May 09 2006 - 14:44:28 PDT