Professional Documents
Culture Documents
Module Alu
Module Alu
21
Amit Verma
21MVD0142(slot-2)
TASK-2
Designing of a 16-bit ALU in structural modelling using Verilog HDL, which performs the
following functions as shown in table.
VERILOG CODE:
Output Waveform:
1. Performs addition of two number in 16-bit when f = 000, a = 16'h24; b = 16'h10.
2. Performs A+1 of two number in 16-bit when f = 001, a = 16'h9; b = 16'h1.