Re: [sv-bc] Erratta or simple proposal for task, function, property, sequencearguments.


Subject: Re: [sv-bc] Erratta or simple proposal for task, function, property, sequencearguments.
From: Paul Graham (pgraham@cadence.com)
Date: Thu Sep 18 2003 - 09:13:39 PDT


> I propose that the committee overlooked adding this shorthand ability for
> the task, function, property and sequence argument lists. The IEEE committee

I'm not sure it's such a good idea for subprogram calls. The shorthand was
originally intended for a module instantiation with many ports, where it
would be tedious to list out all the ports with names matching wires in the
instantiating module. The shorthand is effective at reducing the substantial
textual redundancy in a netlist.

But a subprogram call typically has little textual redundancy. Suppose you
have a function 'compute' with formal arguments x, y, and z. How often will
it be called with actual arguments also named x, y, and z? (Likely answer:
no more than once.) In this case, the shorthand applies only to the special
case, not to the general case.

Paul



This archive was generated by hypermail 2b28 : Thu Sep 18 2003 - 09:14:58 PDT