data/full_repos/permissive/203526788/GoBoard/SPI_master/Display.v
1: b'%Error: data/full_repos/permissive/203526788/GoBoard/SPI_master/Display.v:59: `ifdef not terminated at EOF\n%Error: Exiting due to 1 error(s)\n'
module DisplayNumber (
	input CLK,
	output [6:0] SEGMENT1,
	output [6:0] SEGMENT2,
	input [7:0] NUMBER
);

reg [3:0] left;

always @(posedge CLK)
begin
	left = (NUMBER / 10) % 10;

	if (left == 3'b0)
	begin
		left = 4'd10;
	end
end

SevenSegment s1 ( CLK, SEGMENT1, left);
SevenSegment s2 ( CLK, SEGMENT2, NUMBER % 10);

endmodule
module DisplayNumber (
	input CLK,
	output [6:0] SEGMENT1,
	output [6:0] SEGMENT2,
	input [7:0] NUMBER
);


reg [3:0] left;

always @(posedge CLK)
begin
	left = (NUMBER / 10) % 10;

	if (left == 3'b0)
	begin
		left = 4'd10;
	end
end

SevenSegment s1 ( CLK, SEGMENT1, left);
SevenSegment s2 ( CLK, SEGMENT2, NUMBER % 10);

endmodule