data/full_repos/permissive/428158935/sources_1/new/DecoderModule.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/428158935/sources_1/new/DecoderModule.v:23: Multiple top level modules\n                                                                                        : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                        : ... Top module \'Decoder_3To8\'\nmodule Decoder_3To8(\n       ^~~~~~~~~~~~\n                                                                                        : ... Top module \'Decoder_2To4\'\nmodule Decoder_2To4(\n       ^~~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module Decoder_3To8(
    input [2:0] a,
    output [7:0] y
    );
wire [2:0] Na;

not (Na[0],a[0]);
not (Na[1],a[1]);
not (Na[2],a[2]);

and (y[0],Na[2],Na[1],Na[0]);
and (y[1],Na[2],Na[1],a[0]);
and (y[2],Na[2],a[1],Na[0]);
and (y[3],Na[2],a[1],a[0]);
and (y[4],a[2],Na[1],Na[0]);
and (y[5],a[2],Na[1],a[0]);
and (y[6],a[2],a[1],Na[0]);
and (y[7],a[2],a[1],a[0]);
endmodule
module Decoder_3To8(
    input [2:0] a,
    output [7:0] y
    );

wire [2:0] Na;

not (Na[0],a[0]);
not (Na[1],a[1]);
not (Na[2],a[2]);

and (y[0],Na[2],Na[1],Na[0]);
and (y[1],Na[2],Na[1],a[0]);
and (y[2],Na[2],a[1],Na[0]);
and (y[3],Na[2],a[1],a[0]);
and (y[4],a[2],Na[1],Na[0]);
and (y[5],a[2],Na[1],a[0]);
and (y[6],a[2],a[1],Na[0]);
and (y[7],a[2],a[1],a[0]);
endmodule