You are on page 1of 26

Task-3

Mohammed Mohsin Jawed


21BCT0226
Implementation of combinational circuits using Multiplexer, Decoder/
Demultiplexer

1. Using your register number formulate expressions in SOP and POS for F and
F'. Implement F and F’ using MUX.
2. Using your register number formulate expressions in SOP and POS for F and F’.
Implement F and F’ using DEMUX.
3. Write Verilog code & Test Bench in Gate/Data flow/Behavioral model for (a)
32X1 MUX (b) Full Subtractor using 4X1 MUX.
(a) 32X1 MUX
Data flow:

Output:
Behavioural:

Output:
Testbench:
Output:

(b) Full Subtractor using 4X1 MUX.

Gate level:
Output:

Data Flow

Output:
Behavioural:

Output:
Testbench:

Output:
4. using your register number formulate expressions in SOP for F and F’.
Implement F and F’ using Decoder. Write Verilog code and test bench.
Output:
Output:
Testbench:

Output:
5. Design Decimal to binary convertor using Encoder. Write Verilog code and test
bench.
Output:

You might also like