RE: [vhdl-200x-ft] Generic packages and Generic Subprograms

From: Peter Ashenden <peter@ashenden.com.au>
Date: Fri Dec 24 2004 - 03:21:46 PST

Tristan,

But under the proposed extensions to generics, entities will be able to have
formal types (and thus have a generic type-parameterized interface), and
packages will be able to have constant parameters.

Cheers,

PA

--
Dr. Peter J. Ashenden                        peter@ashenden.com.au
Ashenden Designs Pty. Ltd.                   www.ashenden.com.au
PO Box 640                                   Ph:  +61 8 8339 7532
Stirling, SA 5152                            Fax: +61 8 8339 2616
Australia                                    Mobile: +61 414 70 9106
> -----Original Message-----
> From: owner-vhdl-200x-ft@eda.org 
> [mailto:owner-vhdl-200x-ft@eda.org] On Behalf Of tgingold@free.fr
> Sent: Friday, 24 December 2004 20:17
> To: Karl Eisenhofer
> Cc: Jim Lewis; vhdl-200x-ft@eda.org
> Subject: Re: [vhdl-200x-ft] Generic packages and Generic Subprograms
> 
> 
> Quoting Karl Eisenhofer <karl@terasystems.com>:
> 
> > To be more consistent with the entity generic declarations, 
> it seems 
> > that the generic declaration should not appear before the 
> subprogram 
> > declaration.  However, the generic names need to be 
> introduced prior 
> > to the parameter list.  Therefore, I suggest putting the subprogram 
> > generic declarations just after the function name, but just 
> before the 
> > parameter list as so:
> I don't agree with your first point: a generic subprogram or 
> package is not like entity generics. A generic 
> subprogram/package is a generic functionnality. An entity 
> generic is in fact a constant parameter.
> 
> Tristan.
> 
> 
Received on Fri Dec 24 03:21:48 2004

This archive was generated by hypermail 2.1.8 : Fri Dec 24 2004 - 03:21:49 PST