i have to do an alu control unit ina small Mips processor , when writing it\s code ,appears this error :
<<line 42. parse error, unexpected LE>>
please help me to find a solution for this error
thanks in advanse
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity Alu_Control is
Port ( AluOp : in STD_LOGIC_VECTOR (1 downto 0);
Funct : in STD_LOGIC_VECTOR (5 downto 0);
Control_Lines : in STD_LOGIC_VECTOR (3 downto 0));
end Alu_Control;
architecture Behavioral of Alu_Control is
begin
Control_Lines <="0000" when (AluOp="10" and Funct="100100") else
<="0001" when (AluOp="10" and Funct="100101") else ---- this is the line that cause an error
<="0110" when (AluOp="01" or (AluOp="10" and Funct="100010")) else
<="0010" when (AluOp="00" or (AluOp="10" and Funct="100000")) else
<="0111" when (AluOp="10" and Funct="101010") else
"ZZZZ";
end Behavioral;
<<line 42. parse error, unexpected LE>>
please help me to find a solution for this error
thanks in advanse
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity Alu_Control is
Port ( AluOp : in STD_LOGIC_VECTOR (1 downto 0);
Funct : in STD_LOGIC_VECTOR (5 downto 0);
Control_Lines : in STD_LOGIC_VECTOR (3 downto 0));
end Alu_Control;
architecture Behavioral of Alu_Control is
begin
Control_Lines <="0000" when (AluOp="10" and Funct="100100") else
<="0001" when (AluOp="10" and Funct="100101") else ---- this is the line that cause an error
<="0110" when (AluOp="01" or (AluOp="10" and Funct="100010")) else
<="0010" when (AluOp="00" or (AluOp="10" and Funct="100000")) else
<="0111" when (AluOp="10" and Funct="101010") else
"ZZZZ";
end Behavioral;