data/full_repos/permissive/113780415/src/ACounter.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/113780415/src/ACounter.v:17: Too many digits for 7 bit number: 7'b10011111\n       HEXright = 7'b10011111;\n                  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:61: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:66: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:67: Too many digits for 7 bit number: 7'b10011111\n       HEXright = 7'b10011111;\n                  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:71: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:76: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:81: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:86: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:91: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:96: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: data/full_repos/permissive/113780415/src/ACounter.v:106: Too many digits for 7 bit number: 7'b10011111\n       HEXleft = 7'b10011111;\n                 ^~~~~~~~~~~\n%Error: Exiting due to 11 error(s)\n"
module SevenSegment(HEXleft, HEXright, num);


	output reg [6:0] HEXleft, HEXright;
	input [4:0] num;
 
	always @(num)
		case (num)

    	5'b00000: begin
    	HEXleft = 7'b0000001;
    	HEXright = 7'b0000001;
      	end

      	5'b00001: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b10011111;
      	end

      	5'b00010: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0010010;
      	end

      	5'b00011: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0000110;
      	end

      	5'b0100: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b1001101;
      	end

      	5'b00101: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0100100;
      	end

      	5'b00110: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0100000;
      	end

      	5'b00111: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0001111;
      	end

      	5'b01000: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0000000;
      	end

      	5'b01001: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0001100;
      	end

      	5'b01010: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0000001;
      	end

      	5'b01011: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b10011111;
      	end

      	5'b01100: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0010010;
      	end

      	5'b01101: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0000110;
      	end

      	5'b01110: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b1001101;
      	end

      	5'b01111: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0100100;
      	end

      	5'b10000: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0100000;
      	end

      	5'b10001: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0001111;
      	end

      	5'b10010: begin
      	HEXleft = 7'b0000000;
      	HEXright = 7'b0000000;
      	end

      	5'b10011: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0001100;
      	end

      	5'b10100: begin
      	HEXleft = 7'b0010010;
      	HEXright = 7'b0000001;
      	end


		default: begin
		HEXleft = 7'b0000000;
		HEXright = 7'b0000000;
		end
	endcase
endmodule
module SevenSegment(HEXleft, HEXright, num);



	output reg [6:0] HEXleft, HEXright;
	input [4:0] num;
 
	always @(num)
		case (num)

    	5'b00000: begin
    	HEXleft = 7'b0000001;
    	HEXright = 7'b0000001;
      	end

      	5'b00001: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b10011111;
      	end

      	5'b00010: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0010010;
      	end

      	5'b00011: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0000110;
      	end

      	5'b0100: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b1001101;
      	end

      	5'b00101: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0100100;
      	end

      	5'b00110: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0100000;
      	end

      	5'b00111: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0001111;
      	end

      	5'b01000: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0000000;
      	end

      	5'b01001: begin
      	HEXleft = 7'b0000001;
      	HEXright = 7'b0001100;
      	end

      	5'b01010: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0000001;
      	end

      	5'b01011: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b10011111;
      	end

      	5'b01100: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0010010;
      	end

      	5'b01101: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0000110;
      	end

      	5'b01110: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b1001101;
      	end

      	5'b01111: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0100100;
      	end

      	5'b10000: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0100000;
      	end

      	5'b10001: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0001111;
      	end

      	5'b10010: begin
      	HEXleft = 7'b0000000;
      	HEXright = 7'b0000000;
      	end

      	5'b10011: begin
      	HEXleft = 7'b10011111;
      	HEXright = 7'b0001100;
      	end

      	5'b10100: begin
      	HEXleft = 7'b0010010;
      	HEXright = 7'b0000001;
      	end


		default: begin
		HEXleft = 7'b0000000;
		HEXright = 7'b0000000;
		end
	endcase
endmodule