[comp.lsi.cad] VHDL question : Need Help

sllu@jenny.isi.edu (Shih-Lien Lu) (09/27/90)

Does VHDL allow recursive type definition? Thanks in advance.

Shih-Lien Lu
sllu@mosis.edu

aap@praxis.co.uk (Andy Pryor) (10/02/90)

sllu@jenny.isi.edu (Shih-Lien Lu) writes:

>Does VHDL allow recursive type definition? Thanks in advance.

>Shih-Lien Lu
>sllu@mosis.edu

Yes, provided the recursion is protected by an access type.

Section 3.3.1 (Incomplete type declarations) of the IEEE standard contains an
example of a recursive type used to construct a double-linked list.

Andy Pryor
Praxis Electronic Design Ltd, The New Church, Henry St, Bath, BA1 1JR, UK
Phone: +44 225 444700  Email: aap@praxis.co.uk

-- 
Andy Pryor
Praxis Electronic Design Ltd, The New Church, Henry St, Bath, BA1 1JR, UK
Phone: +44 225 444700  Email: aap@praxis.co.uk