Instructors:
Course Name: FPGA Lab
Palestine Technical University-Kadoorie Dr.Ing Shatha AbuShanab
Student Name:
Course Number: 12120522
Exam's Time: 50 minutes Student Number:
Page’s Number: 2
Question’s Number: 2 Midterm 1st Semester 2020-2021 Exam Date: 02.11.2020
Question 1: (23) Points
“You should take a screenshot for your code and result that shows
every step during working with Quartus and ModelSim programs”
1. Design a VHDL model to implement the digital circuit shown in Fig.1. (6) Points
Figure 2
Figure 1
2. Using Altera’s Quartus II to perform the synthesis (logic and physical) (6) Points
3. Using Altera’s ModelSim to performed the simulation activity of the input signals
(B1,B0,A1,and A0) and complete the output signals(F0,F1,F2) (6) Points
(3) Points
B1 B0 A1 A0 F0 F1 F2
0 0 0 0
1 0 1 1
1 1 1 0
0 1 1 0
1
4. The digital logic circuit is a ……………………. (2) Points
Question 2: (7) Points
Drew black-box diagram that is described by the following VHDL entity declaration?
entity CCT is port (
a_data : in std_logic_vector(0 to 7);
b_data : in std_logic_vector(0 to 7);
c_data : in std_logic_vector(0 to 7);
d_data : in std_logic_vector(0 to 7);
sel1,sel0 : in std_logic;
data_out : out std_logic_vector(7 downto 0));
end CCT;
Good Luck