comp.lang.ada
 help / color / mirror / Atom feed
From: stephen@srbailey.com (Stephen A. Bailey)
Subject: Re: ADA - VHDL
Date: 1996/07/16
Date: 1996-07-16T00:00:00+00:00	[thread overview]
Message-ID: <31eb0eb4.5236159@owl.pageplus.com> (raw)
In-Reply-To: 31ead866.2979882@news.smart.net


>>There are things which
>>I can not do in VHDL which I can in ADA and for which I see no reason.
>> some examples:
>>        type new Integer;
>>        generics;
>Unless there is a nomenclature problem, VHDL has these.  I use them
>often.

True.  You don't need to say "new"; simply:

    type New_int is range <integer range>;

Also, generics are limited to entities and blocks.  (Something Ada
does not have.)  The original statement probably referred to their
omission from packages in VHDL.

>>        variant records"
>
>As for the other two.  VHDL is, in the end, a way to describe
>*hardware*.  There are some extremely useful software construct which
>simply do not translate well to hardware.  (recursive structures is one
>of these)

The main issue with variant records is how they translate into
events/transactions for signals declared to be of a variant record
type (or a type containing such a subelement).  VHDL semantics break
composite signals down to the scalar level.

VHDL does allow recursive structures via generates and component
instantiations.


===========================================================
Stephen A. Bailey             pager: 408.271.7048
                              voice: 408.271.7048
850 Saratoga Ave, Apt E-106
San Jose, CA 95129
email: stephen@srbailey.com   http:  www.srbailey.com
===========================================================




  reply	other threads:[~1996-07-16  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-09  0:00 ADA - VHDL P. Cnudde VH14 (8218)
1996-07-09  0:00 ` Jacques Rouillard
1996-07-10  0:00 ` Paul B. Graham
1996-07-10  0:00   ` Robert Dewar
1996-07-11  0:00     ` Michael Feldman
1996-07-10  0:00   ` Laurent Gasser
1996-07-11  0:00     ` P. Cnudde VH14 (8218)
1996-07-12  0:00       ` Paul B. Graham
1996-07-11  0:00 ` Jens Hansson
1996-07-11  0:00 ` Jean-Marc Bourguet
1996-07-11  0:00 ` Robert Dewar
1996-07-15  0:00   ` Brian "Cheebie" Merchant
1996-07-16  0:00     ` Stephen A. Bailey [this message]
1996-07-16  0:00     ` P. Cnudde VH14 (8218)
1996-07-16  0:00     ` jos de laender vh14 7461
1996-07-22  0:00     ` Nick Weavers
1996-07-12  0:00 ` Jean-Marc Bourguet
1996-07-13  0:00   ` Michael Feldman
1996-07-17  0:00 ` Chris Papademetrious
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox