Akande
Newbie level 1
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity multiplier is port( clk : in std_logic; a : in std_logic_vector(31 downto 0); b : in std_logic_vector(31 downto 0); r : inout std_logic_vector(31 downto 0); s : inout std_logic_vector(31 downto 0) ); end multiplier; architecture IMP of multiplier is begin process (clk) begin if (clk'event and clk = '1') then (r & s) <= (unsigned(a)* unsigned(b)); end if; end process; end IMP;
i want to design a 32 bit multiplier and create multiplier ip. maximum bus size is 32 bit so can not use 64bit array for output: how to concatenate two 32 bit output arrays?
when i simulate above code error "Illegal target for assignment" is shown. pleas help me with this
Last edited by a moderator: