Starting from:
$30

$24

Lab 1: Verilog HDL Solution

Objective




Review fundamental logic components.



Introduce Verilog HDL modeling and verification.



Prerequisite




Fundamentals of logic gates and Verilog HDL.



Experiments




Design and implement a full adder. (s+cout=x+y+cin)



1.1 Write the logic equation.

1.2 Draw the related logic diagram.

1.3 Verilog RTL representation with verification.




Design a single digit decimal adder with input A(a3a2a1a0), B(b3b2b1b0), Cin(ci), and output S(s3s2s1s0) and Cout(co).



(Bonus) Design a 3-to-8-line decoder with enable (input in[2:0], enable en and output d[7:0]).
3.1 Logic equation,

3.2 Logic schematic,

3.3 Verilog RTL representation with verification.





















































































TA:













© Ma, Hsi-Pin, Lab for Reliable Computing (LaRC), EE, NTHU. Spring, 2018

More products