Professional Documents
Culture Documents
QUIZ-A
a) Write a Verilog code with test bench for the following design:
Page 1 of 3
Pharos University in Alexandria Course Name: Computer Architecture
Faculty of Engineering Course Code : EC313
Computer Dept. Lecturer: Dr. Hossam Eldin
Fifth Year Students TA: Eng. Allaa Hussien
Fall 2022- 2023
zzzzzzzzz010000
10101011001101110101011011011111
0010010xxxx
&4'b0101= 0
1'bz <= 10 = x
~4'b10xz= 01xx
1'b1 || 1'b0 = 1
Page 2 of 3
Pharos University in Alexandria Course Name: Computer Architecture
Faculty of Engineering Course Code : EC313
Computer Dept. Lecturer: Dr. Hossam Eldin
Fifth Year Students TA: Eng. Allaa Hussien
Fall 2022- 2023
Page 3 of 3