Re: std_logic_1164: CP-010 and numeric_std:Rob_P1


Subject: Re: std_logic_1164: CP-010 and numeric_std:Rob_P1
From: Rob Anderson (rob@reawebtech.com)
Date: Tue Dec 10 2002 - 12:21:56 PST


To summarize,

The current thinking is that we should have "match" in
1164, and 1) an alias for "std_match" in 1076.3 (legacy)
and 2) DAVE_P2: new "match" functions in 1076.3 to
inherit the one in 1164:

1) In numeric_std, replace the std_match function with:

alias std_match is ieee.std_logic_1164.match
                     [ieee.std_logic_1164.std_logic_vector,
                       ieee.std_logic_1164.std_logic_vector
                       return ieee.std_logic_1164.std_logic_vector];
(is this correct?)

2) Dave_p2: add new functions in numeric_std, E.G.:

function MATCH (L, R: UNSIGNED) return BOOLEAN;
   return match(std_logic_vector(L),std_logic_vector(R));
   ...

Perhaps
Paul could write up proposal 1 as paul_p1? You could use me as
a second. (I think the second should appear in the proposal too,
the proposals should not be there without seconds).

Proposal 2 is Dave_p2, (Note: David could you please fix the link it
points to Dave_p1).

--Rob

Paul J. Menchini wrote:

> Peter,
>
>
>>Hence my proposal to call the functions in std_logic_1164 match
>>instead of std_match. You could add match as an alias for std_match
>>in numeric_std if you want consistency of naming across the packages
>>for new models.
>>
>
> Alternatively, make the move, then add aliases in the packages where it
> used to be to support those legacy models.
>
> Paul
>
>



This archive was generated by hypermail 2b28 : Tue Dec 10 2002 - 12:24:37 PST