data/full_repos/permissive/153023217/mfp_ahb_sevensegtimer.v
1: b"%Error: data/full_repos/permissive/153023217/mfp_ahb_sevensegtimer.v:35: Cannot find file containing module: 'mfp_ahb_sevensegdec'\n  mfp_ahb_sevensegdec sevensegdec(.data(numout), .seg(DISPOUT));\n  ^~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/153023217,data/full_repos/permissive/153023217/mfp_ahb_sevensegdec\n             data/full_repos/permissive/153023217,data/full_repos/permissive/153023217/mfp_ahb_sevensegdec.v\n             data/full_repos/permissive/153023217,data/full_repos/permissive/153023217/mfp_ahb_sevensegdec.sv\n             mfp_ahb_sevensegdec\n             mfp_ahb_sevensegdec.v\n             mfp_ahb_sevensegdec.sv\n             obj_dir/mfp_ahb_sevensegdec\n             obj_dir/mfp_ahb_sevensegdec.v\n             obj_dir/mfp_ahb_sevensegdec.sv\n%Error: Exiting due to 1 error(s)\n"
module mux8 #(parameter WIDTH = 8)
             (input  [WIDTH-1:0]     d0, d1, d2, d3, d4, d5, d6, d7,
              input  [2:0]           s, 
              output reg [WIDTH-1:0] y);

  always @(*)
    case (s)
      3'b000:    y = d0;
      3'b001:    y = d1;
      3'b010:    y = d2;
      3'b011:    y = d3;
      3'b100:    y = d4;
      3'b101:    y = d5;
      3'b110:    y = d6;
      3'b111:    y = d7;
      default:   y = d0;
    endcase

endmodule
module mux8 #(parameter WIDTH = 8)
             (input  [WIDTH-1:0]     d0, d1, d2, d3, d4, d5, d6, d7,
              input  [2:0]           s, 
              output reg [WIDTH-1:0] y);


  always @(*)
    case (s)
      3'b000:    y = d0;
      3'b001:    y = d1;
      3'b010:    y = d2;
      3'b011:    y = d3;
      3'b100:    y = d4;
      3'b101:    y = d5;
      3'b110:    y = d6;
      3'b111:    y = d7;
      default:   y = d0;
    endcase

endmodule