I am making a 2 to 4 decoder in verilog. Here\'s the code for the main decoder (filename: 2to4EncoderDecoder.v):
module a24(i,d); // 3 to 8 decoder