data/full_repos/permissive/170402453/Segment7.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-WIDTH: data/full_repos/permissive/170402453/Segment7.v:38: Operator ASSIGNW expects 4 bits on the Assign RHS, but Assign RHS\'s VARREF \'DIG_\' generates 8 bits.\n                                                                  : ... In instance Segment7\n  assign DIG = DIG_;\n             ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/170402453/Segment7.v:51: Bit extraction of array[3:0] requires 2 bit index, not 4 bits.\n                                                                  : ... In instance Segment7\n  SEGMENT_ <= getBCDFromASCII( DATA[DigitState] ); \n                                   ^\n%Warning-WIDTH: data/full_repos/permissive/170402453/Segment7.v:53: Operator ASSIGNDLY expects 8 bits on the Assign RHS, but Assign RHS\'s FUNCREF \'getSELDigit\' generates 4 bits.\n                                                                  : ... In instance Segment7\n  DIG_ <= getSELDigit(DigitState); \n       ^~\n%Error: Exiting due to 3 warning(s)\n'
function [7:0] getBCDFromASCII;
		input [7:0] DataSelect;
		begin



			case(DataSelect)
				"!": getBCDFromASCII = ~8'b10000110;
				"\"":getBCDFromASCII = ~8'b00100010;
				"'": getBCDFromASCII = ~8'b00100000;
				"-": getBCDFromASCII = ~8'b01000000;
				".": getBCDFromASCII = ~8'b10000000;
				
				

				"0": getBCDFromASCII = ~8'b00111111;
				"1": getBCDFromASCII = ~8'b00110000;
				"2": getBCDFromASCII = ~8'b01011011;
				"3": getBCDFromASCII = ~8'b01001111;
				"4": getBCDFromASCII = ~8'b01100110;
				"5": getBCDFromASCII = ~8'b01101101;
				"6": getBCDFromASCII = ~8'b01111101;
				"7": getBCDFromASCII = ~8'b00000111;
				"8": getBCDFromASCII = ~8'b01111111;
				"9": getBCDFromASCII = ~8'b01100111;
				

				"=": getBCDFromASCII = ~8'b01001000;
				
				"A": getBCDFromASCII = ~8'b01110111;
				"B": getBCDFromASCII = ~8'b01111100;
				"C": getBCDFromASCII = ~8'b00111001;
				"D": getBCDFromASCII = ~8'b01011110;
				"E": getBCDFromASCII = ~8'b01111001;
				"F": getBCDFromASCII = ~8'b01110001;
				"G": getBCDFromASCII = ~8'b00111101;
				"H": getBCDFromASCII = ~8'b00110100;
				"I": getBCDFromASCII = ~8'b00110000;
				"J": getBCDFromASCII = ~8'b00001110;
				"K": getBCDFromASCII = ~8'b00110110;
				"L": getBCDFromASCII = ~8'b00111000;
				"M": getBCDFromASCII = ~8'b00110111;
				"N": getBCDFromASCII = ~8'b01010100;
				"O": getBCDFromASCII = ~8'b01011100;
				"P": getBCDFromASCII = ~8'b01111011;
				"Q": getBCDFromASCII = ~8'b10111111;
				"R": getBCDFromASCII = ~8'b00110001;
				"S": getBCDFromASCII = ~8'b00101101;
				"T": getBCDFromASCII = ~8'b01111000;
				"U": getBCDFromASCII = ~8'b00011100;
				"V": getBCDFromASCII = ~8'b00101010;
				"W": getBCDFromASCII = ~8'b00111110;
				"X": getBCDFromASCII = ~8'b00110110;
				"Y": getBCDFromASCII = ~8'b01101110;
				"Z": getBCDFromASCII = ~8'b00011011;
				

				"_": getBCDFromASCII = ~8'b00001000;
				

				"a": getBCDFromASCII = ~8'b01110111;
				"b": getBCDFromASCII = ~8'b01111100;
				"c": getBCDFromASCII = ~8'b00111001;
				"d": getBCDFromASCII = ~8'b01011110;
				"e": getBCDFromASCII = ~8'b01111001;
				"f": getBCDFromASCII = ~8'b01110001;
				"g": getBCDFromASCII = ~8'b00111101;
				"h": getBCDFromASCII = ~8'b00110100;
				"i": getBCDFromASCII = ~8'b00110000;
				"j": getBCDFromASCII = ~8'b00001110;
				"k": getBCDFromASCII = ~8'b00110110;
				"l": getBCDFromASCII = ~8'b00111000;
				"m": getBCDFromASCII = ~8'b00110111;
				"n": getBCDFromASCII = ~8'b01010100;
				"o": getBCDFromASCII = ~8'b01011100;
				"p": getBCDFromASCII = ~8'b01111011;
				"q": getBCDFromASCII = ~8'b10111111;
				"r": getBCDFromASCII = ~8'b00110001;
				"s": getBCDFromASCII = ~8'b00101101;
				"t": getBCDFromASCII = ~8'b01111000;
				"u": getBCDFromASCII = ~8'b00011100;
				"v": getBCDFromASCII = ~8'b00101010;
				"w": getBCDFromASCII = ~8'b00111110;
				"x": getBCDFromASCII = ~8'b00110110;
				"y": getBCDFromASCII = ~8'b01101110;
				"z": getBCDFromASCII = ~8'b00011011;
				
				
				
				default: getBCDFromASCII = 8'b11111111;
			endcase
			
		end
	 endfunction
function [7:0] getBCDFromASCII;

		input [7:0] DataSelect;
		begin



			case(DataSelect)
				"!": getBCDFromASCII = ~8'b10000110;
				"\"":getBCDFromASCII = ~8'b00100010;
				"'": getBCDFromASCII = ~8'b00100000;
				"-": getBCDFromASCII = ~8'b01000000;
				".": getBCDFromASCII = ~8'b10000000;
				
				

				"0": getBCDFromASCII = ~8'b00111111;
				"1": getBCDFromASCII = ~8'b00110000;
				"2": getBCDFromASCII = ~8'b01011011;
				"3": getBCDFromASCII = ~8'b01001111;
				"4": getBCDFromASCII = ~8'b01100110;
				"5": getBCDFromASCII = ~8'b01101101;
				"6": getBCDFromASCII = ~8'b01111101;
				"7": getBCDFromASCII = ~8'b00000111;
				"8": getBCDFromASCII = ~8'b01111111;
				"9": getBCDFromASCII = ~8'b01100111;
				

				"=": getBCDFromASCII = ~8'b01001000;
				
				"A": getBCDFromASCII = ~8'b01110111;
				"B": getBCDFromASCII = ~8'b01111100;
				"C": getBCDFromASCII = ~8'b00111001;
				"D": getBCDFromASCII = ~8'b01011110;
				"E": getBCDFromASCII = ~8'b01111001;
				"F": getBCDFromASCII = ~8'b01110001;
				"G": getBCDFromASCII = ~8'b00111101;
				"H": getBCDFromASCII = ~8'b00110100;
				"I": getBCDFromASCII = ~8'b00110000;
				"J": getBCDFromASCII = ~8'b00001110;
				"K": getBCDFromASCII = ~8'b00110110;
				"L": getBCDFromASCII = ~8'b00111000;
				"M": getBCDFromASCII = ~8'b00110111;
				"N": getBCDFromASCII = ~8'b01010100;
				"O": getBCDFromASCII = ~8'b01011100;
				"P": getBCDFromASCII = ~8'b01111011;
				"Q": getBCDFromASCII = ~8'b10111111;
				"R": getBCDFromASCII = ~8'b00110001;
				"S": getBCDFromASCII = ~8'b00101101;
				"T": getBCDFromASCII = ~8'b01111000;
				"U": getBCDFromASCII = ~8'b00011100;
				"V": getBCDFromASCII = ~8'b00101010;
				"W": getBCDFromASCII = ~8'b00111110;
				"X": getBCDFromASCII = ~8'b00110110;
				"Y": getBCDFromASCII = ~8'b01101110;
				"Z": getBCDFromASCII = ~8'b00011011;
				

				"_": getBCDFromASCII = ~8'b00001000;
				

				"a": getBCDFromASCII = ~8'b01110111;
				"b": getBCDFromASCII = ~8'b01111100;
				"c": getBCDFromASCII = ~8'b00111001;
				"d": getBCDFromASCII = ~8'b01011110;
				"e": getBCDFromASCII = ~8'b01111001;
				"f": getBCDFromASCII = ~8'b01110001;
				"g": getBCDFromASCII = ~8'b00111101;
				"h": getBCDFromASCII = ~8'b00110100;
				"i": getBCDFromASCII = ~8'b00110000;
				"j": getBCDFromASCII = ~8'b00001110;
				"k": getBCDFromASCII = ~8'b00110110;
				"l": getBCDFromASCII = ~8'b00111000;
				"m": getBCDFromASCII = ~8'b00110111;
				"n": getBCDFromASCII = ~8'b01010100;
				"o": getBCDFromASCII = ~8'b01011100;
				"p": getBCDFromASCII = ~8'b01111011;
				"q": getBCDFromASCII = ~8'b10111111;
				"r": getBCDFromASCII = ~8'b00110001;
				"s": getBCDFromASCII = ~8'b00101101;
				"t": getBCDFromASCII = ~8'b01111000;
				"u": getBCDFromASCII = ~8'b00011100;
				"v": getBCDFromASCII = ~8'b00101010;
				"w": getBCDFromASCII = ~8'b00111110;
				"x": getBCDFromASCII = ~8'b00110110;
				"y": getBCDFromASCII = ~8'b01101110;
				"z": getBCDFromASCII = ~8'b00011011;
				
				
				
				default: getBCDFromASCII = 8'b11111111;
			endcase
			
		end
	 endfunction