[vhdl-200x] Predefined array types


Subject: [vhdl-200x] Predefined array types
From: Robert Ingham (robert.ingham@candc.co.uk)
Date: Thu Mar 06 2003 - 08:23:26 PST


I would like to see the following additional predefined array types:

    type boolean_vector is array (natural range <>) of boolean;
    type integer_vector is array (natural range <>) of integer;
    type real_vector is array (natural range <>) of real;

I have found these useful in developing verification models, and the
'boolean_vector' type useful in developing parameterized modules where the
number of I/O sub-modules is passed in as a generic. I note that the
'boolean' type is now well supported for synthesis. It may be that

    type time_vector is array (natural range <>) of time;

is also of some merit.

--
  Robert Ingham
  Principal Engineer
  Communication & Control Electronics Limited

Email: robert.ingham@candc.co.uk WWW: http://www.candc.co.uk --



This archive was generated by hypermail 2b28 : Thu Mar 06 2003 - 08:32:13 PST