Home / Expert Answers / Electrical Engineering / programming-using-quartus-here-is-the-code-i-used-and-compilation-of-errors-pa311

(Solved): PROGRAMMING USING QUARTUS HERE IS THE CODE I USED AND COMPILATION OF ERRORS ...



PROGRAMMING USING QUARTUS

PRIORITY ENCODER
You will use the priority encoder to fully explore the two concurrent statements covered in class, the WHEN

HERE IS THE CODE I USED AND COMPILATION OF ERRORS I AM RECIEVING PLEASE HELP I DONT NOT KNOW WHAT I AM DOING WRONG

Type ID Message 4 18236 Number of processors has not been specified which may cause over loading on shared machines. Set the

1ibrary IEEE;
use IEEE.std_logic_1164.a11;
ENTITY verify IS
PORT(d: IN std_logic_vector (7 DOWNTO 0);
y: OUT std_logic_vector

PRIORITY ENCODER You will use the priority encoder to fully explore the two concurrent statements covered in class, the WHEN ELSE and the WITH/SELECT/WHEN statements. The truth table for a priority encoder is given below. The at the inputs means "don't care". Using a WHEN ELSE statement. Write the code to implement a priority encoder using the WHEN ELSE statement. There are several ways to implement this decoder using the WHEN ELSE statement. You will write several programs using that statement. Program \#1 The WHEN ELSE statement checks the conditions in the order listed. So, if you think about that, the easiest way is to handle the truth table is to: - first check if D7 is a 1 (make that the first condition checked in the statement), then - check if D6 is a 1 (make that the second condition checked in the statement), then - check if D5 is a 1 and so forth, i.e., For instance, the first condition checked would be: "111" when ' else .... Note that this line assumes the input and the output are both of type std_logic_vector. Write the program in Quartus and just do the "Analysis and Synthesis". Get the synthesis result. To view the synthesis result: Tools > Netlist Viewer Viewer Copy and paste your resulting program and the resulting hardware (the synthesis result) onto a Word file. Type ID Message 4 18236 Number of processors has not been specified which may cause over loading on shared machines. Set the global assignment NUM_PARALLEL_PROCESSORS (i) 20030 para7le 1 compilation is enabled and will use 8 of the 8 processors detected - (1) 12021 Found 2 design units, including 1 entities, in source file program_1.vhd ( 10309 vHDL Interface Declaration error in Program_1.vhd(18): interface object " " of mode out cannot be read. change object mode to buffer. ? 10327 vHDL error at Program_1.vhd(18): can't determine definition of operator ""<=" :- found 0 possible definitions ( 10309 vHDL Interface Declaration error in program_1.vhd(17): interface object " " of mode out cannot be read. Change object mode to buffer. \& 10327 VHDL error at Program_1.vhd(17) : can't determine definition of operator ""<=" -- found 0 possible definitions Q 10309 vHDL Interface Declaration error in Program_1.vhd(16): interface object " " of mode out cannot be read. Change object mode to buffer. VHDL error at Program_1.vhd(16): can't determine definition of operator ""<=" -- found 0 possible definitions ( Interface Declaration error in Program_1. vhd(15): interface object "y" of mode out cannot be read. Change object mode to buffer. vHDL error at Program_1.vhd(15) : can't determine definition of operator ""<=" vound 0 possible definitions ? 10309 vHDL Interface Declaration error in Program_1.vhd(14): interface object "y" of mode out cannot be read. Change object mode to buffer. \& 10327 VHDL error at Program_1.vhd(14): can't determine definition of operator ""<=" :- found 0 possible definitions ? 10309 vHDL Interface Declaration error in Program_1.vhd(13): interface object " " of mode out cannot be read. Change object mode to buffer. VHDL error at Program_1.vhd(13): can't determine definition of operator ""<=" found 0 possible definitions ( ) Interface Declaration error in Program_1.vhd(12): interface object " " of mode out cannot be read. Change object mode to buffer. 10327 VHDL error at Program_1.vhd(12): can't determine definition of operator ""<=" -. found 0 possible definitions Quartus Prime Analysis \& Synthesis was unsuccessful. 14 errors, 1 warning 293001 Quartus Prime Fu11 Compilation was unsuccessful. 16 errors, 1 warning 1ibrary IEEE; use IEEE.std_logic_1164.a11; ENTITY verify IS PORT(d: IN std_logic_vector (7 DOWNTO 0); y: OUT std_logic_vector (2 DOWNTO 0) ); end verify; --end verify; ARCHITECTURE encoding of verify IS gbegin "111" WHEN d(7)= '1" ELSE WHEN " 1 " ELSE "101" WHEN d(5)="1" ELSE " WHEN ' 1 " ELSE "011" WHEN d(3)='1" ELSE WHEN ' 1 " ELSE "001" WHEN d( 1 "1 " ELSE "000" WHEN '; end encoding;


We have an Answer from Expert

View Expert Answer

Expert Answer


Here are the errors which i corrected in your code I corrected the syntax errors in the code, like missing apostrophes, missing semicolons, and extra
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe