You are on page 1of 8

19ECE282 Digital Electronics and Systems Lab

Lab sheet 6: Decoders & Encoders


Name: Nanditha Menon
Roll No: AM.EN.U4ECE20040
Class: ECE A

Lab Experiments

1. Implement a 2 to 4 decoder using logic gates in Tinkercad. Verify the working. (Paste the circuit diagram,
truth table from your lab notebook and simulation results)

Logic circuit and truth table

Case 1: (En:1, W1:0, W0:0)

. 1 of 3
Case 2: (En:1, W1:0, W0:1)

Case 3: (En:1, W1:1, W0:0)

Case 4: (En:1, W1:1, W0:1)

. 2 of 3
2. Implement a 4 to 2 encoder using logic gates in Tinkercad. Verify the working. (Paste the circuit diagram,
truth table from your lab notebook and simulation results)

Logic circuit and truth table

Case 1:(W3:0, W2:0, W1:0, W0:1)

Case 2:(W3:0, W2:0, W1:1, W0:0)

. 3 of 3
Case 3:(W3:0, W2:1, W1:0, W0:0)

Case 4:(W3:1, W2:0, W1:0, W0:0)

3. Implement the function f =∑m (0, 3) using a 2 to 4 decoder. (Paste the circuit diagram, truth table from your
lab notebook and simulation results)

. 4 of 3
Case 1: (W1:0, W0:0, En:1)

. 5 of 3
Case 2: (W1:0, W0:1, En:1)

Case 3: (W1:1, W0:0, En:1)

Case 4: (W1:1, W0:1, En:1)

4. Implement the function f =∑m (1, 3) using a 2 to 4 decoder. (Paste the circuit diagram, truth table from your
lab notebook and simulation results)

. 6 of 3
Case 1: (W1:0, W0:0, En:1)

Case 2: (W1:0, W0:1, En:1)

. 7 of 3
Case 3: (W1:1, W0:0, En:1)

Case 4: (W1:1, W0:1, En:1)

Reference:
Chapter 6, Fundamentals of Digital Logic with Verilog Design, Stephen Brown and Zvonko Vranesic

. 8 of 3

You might also like