data/full_repos/permissive/208113388/afu/afp/mcp3_decoder5x032.v
1: b"%Error: data/full_repos/permissive/208113388/afu/afp/mcp3_decoder5x032.v:32: Cannot find file containing module: 'mcp3_decoder3x008'\n  mcp3_decoder3x008  bottom_level_decoder\n  ^~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/208113388/afu/afp,data/full_repos/permissive/208113388/mcp3_decoder3x008\n             data/full_repos/permissive/208113388/afu/afp,data/full_repos/permissive/208113388/mcp3_decoder3x008.v\n             data/full_repos/permissive/208113388/afu/afp,data/full_repos/permissive/208113388/mcp3_decoder3x008.sv\n             mcp3_decoder3x008\n             mcp3_decoder3x008.v\n             mcp3_decoder3x008.sv\n             obj_dir/mcp3_decoder3x008\n             obj_dir/mcp3_decoder3x008.v\n             obj_dir/mcp3_decoder3x008.sv\n%Error: Exiting due to 1 error(s)\n"
module mcp3_decoder5x032 (

    input        [4:0] din 
  , output reg   [31:0] dout

  );
                                                                                                                  
  wire         [7:0] bottom_decoded;

  mcp3_decoder3x008  bottom_level_decoder
    (
      .din        ( din[2:0] ),
      .dout       ( bottom_decoded[7:0] )
    );

  always @*
    case ( din[4:3] )
      2'b11 :  dout[31:0] =  {        bottom_decoded[7:0], 24'b0 };
      2'b10 :  dout[31:0] =  {  8'b0, bottom_decoded[7:0], 16'b0 };
      2'b01 :  dout[31:0] =  { 16'b0, bottom_decoded[7:0],  8'b0 };
      2'b00 :  dout[31:0] =  { 24'b0, bottom_decoded[7:0] };
    endcase

endmodule
module mcp3_decoder5x032 (

    input        [4:0] din 
  , output reg   [31:0] dout

  );

                                                                                                                  
  wire         [7:0] bottom_decoded;

  mcp3_decoder3x008  bottom_level_decoder
    (
      .din        ( din[2:0] ),
      .dout       ( bottom_decoded[7:0] )
    );

  always @*
    case ( din[4:3] )
      2'b11 :  dout[31:0] =  {        bottom_decoded[7:0], 24'b0 };
      2'b10 :  dout[31:0] =  {  8'b0, bottom_decoded[7:0], 16'b0 };
      2'b01 :  dout[31:0] =  { 16'b0, bottom_decoded[7:0],  8'b0 };
      2'b00 :  dout[31:0] =  { 24'b0, bottom_decoded[7:0] };
    endcase

endmodule