Hi.
The line below is causing me problems.
The line below is causing me problems.
Code:
DOUT <= DIN0 + DIN1;[\code]
DIN0 and DIN1 are inputs to the entity of type std_logic_vector(7 downto 0), and DOUT is an output of the entity of the type std_logic_vector(8 downto 0).
The problem is that the buses are of different width, and this causes an error. If both DIN0 and DIN1 are equal to "11111111", I want DOUT to equal "111111110". Is there any way I can do this without causing the error?
Thanks