Subject: Re: [sv-bc] Erratta or simple proposal for task, function, property,sequencearguments.
From: Adam Krolnik (krolnik@lsil.com)
Date: Thu Sep 18 2003 - 10:43:00 PDT
Hi Paul;
>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:
I have often written a function by taking a set of code and wrapping a function
declaration around it. Then I call the function, placing the different variables
as the arguments as necessary. Not all arguments are different with each call,
some are common and thus use the same name.
As a shorthand, its very simple to implement and provides for consistency among
the use of named calling or instantiation.
Adam Krolnik
Verification Mgr.
LSI Logic Corp.
Plano TX. 75074
Co-author "Assertion Based Design"
This archive was generated by hypermail 2b28 : Thu Sep 18 2003 - 10:46:48 PDT