data/full_repos/permissive/179227721/mid/ssgfont.v
1: b'%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:9: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                    : ... In instance ssgfont\n          4\'h0: ssg <= 8\'b11111100 | dot;\n                                   ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:10: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h1: ssg <= 8\'b01100000 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:11: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h2: ssg <= 8\'b11011010 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:12: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h3: ssg <= 8\'b11110010 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:13: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h4: ssg <= 8\'b01100110 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:14: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h5: ssg <= 8\'b10110110 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:15: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h6: ssg <= 8\'b00111110 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:16: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h7: ssg <= 8\'b11100000 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:17: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h8: ssg <= 8\'b11111110 | dot;\n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/179227721/mid/ssgfont.v:18: Operator OR expects 8 bits on the RHS, but RHS\'s VARREF \'dot\' generates 1 bits.\n                                                                     : ... In instance ssgfont\n          4\'h9: ssg <= 8\'b11100110 | dot;\n                                   ^\n%Error: Exiting due to 10 warning(s)\n'
module ssgfont (
   input [3:0]      num,
   input            dot,
   output reg [7:0] ssg);

   always @(*)
     begin
        case(num)
          4'h0: ssg <= 8'b11111100 | dot;
          4'h1: ssg <= 8'b01100000 | dot;
          4'h2: ssg <= 8'b11011010 | dot;
          4'h3: ssg <= 8'b11110010 | dot;
          4'h4: ssg <= 8'b01100110 | dot;
          4'h5: ssg <= 8'b10110110 | dot;
          4'h6: ssg <= 8'b00111110 | dot;
          4'h7: ssg <= 8'b11100000 | dot;
          4'h8: ssg <= 8'b11111110 | dot;
          4'h9: ssg <= 8'b11100110 | dot;
        endcase
     end
endmodule
module ssgfont (
   input [3:0]      num,
   input            dot,
   output reg [7:0] ssg);


   always @(*)
     begin
        case(num)
          4'h0: ssg <= 8'b11111100 | dot;
          4'h1: ssg <= 8'b01100000 | dot;
          4'h2: ssg <= 8'b11011010 | dot;
          4'h3: ssg <= 8'b11110010 | dot;
          4'h4: ssg <= 8'b01100110 | dot;
          4'h5: ssg <= 8'b10110110 | dot;
          4'h6: ssg <= 8'b00111110 | dot;
          4'h7: ssg <= 8'b11100000 | dot;
          4'h8: ssg <= 8'b11111110 | dot;
          4'h9: ssg <= 8'b11100110 | dot;
        endcase
     end
endmodule