Altera_Forum
Honored Contributor
10 years agoVHDL Compilation problem : Quartus 11 : Error (12061):
Hi friends,
I am new to VHDL , FPGA and Qaurtus. I am getting having a hard time in compiling a VHDL model in Qaurtus ll web edition. The code is below. I compiled it from Modelsim , there it worked well. But, when I tried compiling it from Qaurtus , its is showing some errors that I cannot figure out.library IEEE;use IEEE.STD_LOGIC_1164.ALL;
ENTITY Decoder4bit is
port(
d_in : in std_logic_vector(3 to 0);
d_out: out std_logic_vector(3 to 0)
);
END Decoder4bit;
ARCHITECTURE Behaviour of Decoder4bit is BEGIN
U1: PROCESS (d_in) BEGIN
if( d_in = "0000") then d_out <= "1111";
end if;
if( d_in = "0001") then d_out <= "1110";
end if;
if( d_in = "0010") then d_out <= "1101";
end if;
if( d_in = "0011") then d_out <= "1100";
end if;
if( d_in = "0100") then d_out <= "1011";
end if;
if( d_in = "0101") then d_out <= "1010";
end if;
if( d_in = "0110") then d_out <= "1001";
end if;
if( d_in = "0111") then d_out <= "1000";
end if;
if( d_in = "1000") then d_out <= "0111";
end if;
if( d_in = "1001") then d_out <= "0110";
end if;
if( d_in = "1010") then d_out <= "0101";
end if;
if( d_in = "1011") then d_out <= "0100";
end if;
if( d_in = "1100") then d_out <= "0011";
end if;
if( d_in = "1101") then d_out <= "0010";
end if;
if( d_in = "1110") then d_out <= "0001";
end if;
if( d_in = "1111") then d_out <= "0000";
end if;
END PROCESS;
END Behaviour; This is a simple decoder and it doesnot complie. The Quartus ll synthesizer gives erros as below. Error (12061): Can't synthesize current design -- Top partition does not contain any logic Error: Quartus II 64-Bit Analysis & Synthesis was unsuccessful. 1 error, 20 warnings Error: Peak virtual memory: 1146 megabytes Error: Processing ended: Fri Aug 7 16:47:04 2015 Error: Elapsed time: 00:00:08 Error: Total CPU time (on all processors): 00:00:20 Error (293001): Quartus II Full Compilation was unsuccessful. 3 errors, 20 warnings any help will be greatly appreciated. I will have to use the Cyclone V FPGA later for implementing some complex designs. This is just a start. Also, I have 2 more questions. 1.What is the differance between Qaurtus ll and Model SIM ? 2.Can't run test-bences in Quartus II ? Thanks, Kannoth