I'm doing testing now on the new "std_logic_1164", "numeric_std",
"numeric_bit", and "numeric_unsigned". We should be releasing
these packages to the web page for people to beat on shortly.
Note that as of last night, "std_logic_textio" is an empty package
with all of its contents moved into "std_logic_1164".
In browsing through some code, I have noticed a procedure called
"to_slv" cropping up all over the place. This appears to really
be calling "to_stdlogicvector", but people don't want to spell it
out.
<proposal>
Add an alias to "std_logic_1164" and "numeric_std" called "to_slv"
which calls "to_stdLogicVector".
</proposal>
Any thoughts? to_stdulogicvector? to_bitvector?
Another one is that in the numeric_std package, often you need
to do operations on both signed and unsigned numbers. The way
we handle this now with casting is clumsy.
<proposal>
Add the following functions to numeric_std and numeric_bit:
function "+"(L : UNSIGNED; R: SIGNED) return SIGNED;
function "+"(L : SIGNED; R: UNSIGNED) return SIGNED;
function "-"(L : UNSIGNED; R: SIGNED) return SIGNED;
function "-"(L : SIGNED; R: UNSIGNED) return SIGNED;
function "*"(L : UNSIGNED; R: SIGNED) return SIGNED;
function "*"(L : SIGNED; R: UNSIGNED) return SIGNED;
function "/"(L : UNSIGNED; R: SIGNED) return SIGNED;
function "/"(L : SIGNED; R: UNSIGNED) return SIGNED;
function "rem"(L : UNSIGNED; R: SIGNED) return SIGNED;
function "rem"(L : SIGNED; R: UNSIGNED) return SIGNED;
function "mod"(L : UNSIGNED; R: SIGNED) return SIGNED;
function "mod"(L : SIGNED; R: UNSIGNED) return SIGNED;
function "="(L : UNSIGNED; R: SIGNED) return boolean;
function "="(L : SIGNED; R: UNSIGNED) return boolean;
function "/="(L : UNSIGNED; R: SIGNED) return boolean;
function "/="(L : SIGNED; R: UNSIGNED) return boolean;
function "<"(L : UNSIGNED; R: SIGNED) return boolean;
function "<"(L : SIGNED; R: UNSIGNED) return boolean;
function ">"(L : UNSIGNED; R: SIGNED) return boolean;
function ">"(L : SIGNED; R: UNSIGNED) return boolean;
function ">="(L : UNSIGNED; R: SIGNED) return boolean;
function ">="(L : SIGNED; R: UNSIGNED) return boolean;
function "<="(L : UNSIGNED; R: SIGNED) return boolean;
function "<="(L : SIGNED; R: UNSIGNED) return boolean;
</proposal>
-- David W. Bishop dbishop@vhdl.org All standard disclaimers apply.Received on Tue Jun 22 13:27:06 2004
This archive was generated by hypermail 2.1.8 : Tue Jun 22 2004 - 13:27:26 PDT