F
fl
Guest
Hi,
After a few progress on VHDL type conversion, I have new difficulties on
the element access of an unsigned array. Please see the below example.
How can I get the element of rs_SUM_RESULT ?
I find this is wrong:
bit0 <= rs_SUM_RESULT(1);
Thanks for the kind replies.
..................
signal rs_SUM_RESULT : signed(4 downto 0) := (others => '0');
signal ru_SUM_RESULT : unsigned(4 downto 0) := (others => '0');
signal bit0 : bit;
After a few progress on VHDL type conversion, I have new difficulties on
the element access of an unsigned array. Please see the below example.
How can I get the element of rs_SUM_RESULT ?
I find this is wrong:
bit0 <= rs_SUM_RESULT(1);
Thanks for the kind replies.
..................
signal rs_SUM_RESULT : signed(4 downto 0) := (others => '0');
signal ru_SUM_RESULT : unsigned(4 downto 0) := (others => '0');
signal bit0 : bit;