i have a 32bit signale called multi_out. and a mux that inputs 32bit as
well.
the thing is, that the multi_out is connected between my multiplier
output ans mux input.
the mux and evrything else in the system works on 32 bit.
here is the last part of the code:
1 | signal add_sub_out : std_logic_vector (31 downto 0);
|
2 | signal multi_out : std_logic_vector (63 downto 0);
|
3 | begin
|
4 | alu_add_sub : adder_subtractor port map (leftin,rightin,opcode(0),negative,add_sub_out);
|
5 | alu_multi : Multiplier_VHDL port map (leftin,rightin,multi_out);
|
6 | mux : alu_mux port map (add_sub_out,multi_out (31 downto 0),opcode(1),res);
|
7 | end struc;
|
in the one to last line i tried to connect the multi_out signal to the
first 32 bists of the multiplier output. (my profesor said its cool to
do that for our project) but it dosent work.