Professional Documents
Culture Documents
Question 1 (3 Points) : STUDENT NAME: ID: ..ORDER
Question 1 (3 Points) : STUDENT NAME: ID: ..ORDER
Question 1 (3 Points) : STUDENT NAME: ID: ..ORDER
1. Question 1 (3 points)
a. Compare the Pros and Cons between Structural Model and Behavior Model when
using Verilog HDL to the design a circuit (2 points)
b. What differences between blocking assignment and non-blocking assignment? (1
points)
2. Question 2 (3 points)
Using Verilog HDL structural model to design the ModuleA with following functions:
C2 C1 C0 Operation
0 0 1 {Out, Cout} = In1 + In2
1 0 0 Out = |In1|
1 0 1 {Out, Cout} = In1 - In2
1 1 0 Out = Min (In1, In2)
1 1 1 Out = Max (In1, In2)
1
3. Question 3 (4 points)
Using Verilog HDL behavioral model to design the ModuleB with following functions: