N
N.
Guest
Hello,
I'm trying to port a very old design that had formerly used the deprecated STD_LOGIC_ARITH library with the new NUMERIC_STD library.
The old design has a substantial amount of unsigned additions of the following format :
c_slv <= a_slv + b_slv;
or
c_slv <= a_slv + 10;
I realize I should probably go through all of the code and recast it all to "unsigned" to make it play nice with numeric_std, but was curious if it was still acceptable in industry to use STD_LOGIC_UNSIGNED library with NUMERIC_STD. As far as I can tell, it doesn't look like the overloaded functions will conflict at all.
PS: VHDL-2008 doesn't play nice with my current tools (ISE), so using NUMERIC_STD_UNSIGNED is out.
Thanks.
I'm trying to port a very old design that had formerly used the deprecated STD_LOGIC_ARITH library with the new NUMERIC_STD library.
The old design has a substantial amount of unsigned additions of the following format :
c_slv <= a_slv + b_slv;
or
c_slv <= a_slv + 10;
I realize I should probably go through all of the code and recast it all to "unsigned" to make it play nice with numeric_std, but was curious if it was still acceptable in industry to use STD_LOGIC_UNSIGNED library with NUMERIC_STD. As far as I can tell, it doesn't look like the overloaded functions will conflict at all.
PS: VHDL-2008 doesn't play nice with my current tools (ISE), so using NUMERIC_STD_UNSIGNED is out.
Thanks.