data/full_repos/permissive/413230008/Combinational-Circuit Building Blocks/Code/Sources/decoder_generic.v
1: b'%Error: Cannot find file containing module: Building\n        ... Looked in:\n             data/full_repos/permissive/413230008/Combinational-Circuit/Building\n             data/full_repos/permissive/413230008/Combinational-Circuit/Building.v\n             data/full_repos/permissive/413230008/Combinational-Circuit/Building.sv\n             Building\n             Building.v\n             Building.sv\n             obj_dir/Building\n             obj_dir/Building.v\n             obj_dir/Building.sv\n%Error: Cannot find file containing module: Blocks/Code/Sources,data/full_repos/permissive/413230008\n%Error: Cannot find file containing module: data/full_repos/permissive/413230008/Combinational-Circuit\n%Error: Cannot find file containing module: Blocks/Code/Sources/decoder_generic.v\n%Error: Exiting due to 4 error(s)\n'
module decoder_generic
    #(parameter N = 3)(
    input [N - 1:0] w,
    input en,
    output reg [0:2 ** N - 1] y
    );
    
    always @(w, en)
    begin
        y = 'b0;
        if (en)
            y[w] = 1'b1; 
        else
            y = 'b0;
    end
endmodule
module decoder_generic
    #(parameter N = 3)(
    input [N - 1:0] w,
    input en,
    output reg [0:2 ** N - 1] y
    );

    
    always @(w, en)
    begin
        y = 'b0;
        if (en)
            y[w] = 1'b1; 
        else
            y = 'b0;
    end
endmodule