Subject: Re: too many functions?
From: David Bishop (david.bishop@kodak.com)
Date: Thu Dec 12 2002 - 13:32:27 PST
Rob Anderson wrote:
>
> John Wrote:
>
> > >If there is a logic-state meaning, 1164 should
> > > add the function; if there is a computational
> > > meaning, numeric-std.
>
> Then David B. wrote:
>
> >
> > Agreed. Unfortunately this got overlooked when 1164 was originally
> > published.
> >
> > The new "match" functions in 1076.3 (numeric_std) would only
> > be for the "signed" and "unsigned" types.
>
> This question is not answered:
>
> "match" does not have a computational meaning, so why
> are we adding it to numeric_std?
"match" for the "signed" and "unsigned" types have to be in the
numeric_std package because that is where the "signed" and
"unsigned" types are defined. You can't put there anywhere
else unless you create yet another package.
For completeness, if you can match a "std_logic_vector" should
you not be able to match an "unsigned"?
Yes, you will have to do a "to_x01" on it before you can actually
perform any numeric fuctions on it.
-- David W. Bishop dbishop@vhdl.org
This archive was generated by hypermail 2b28 : Thu Dec 12 2002 - 13:35:09 PST