data/full_repos/permissive/170402453/Segment7HEX.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-WIDTH: data/full_repos/permissive/170402453/Segment7HEX.v:38: Operator ASSIGNW expects 4 bits on the Assign RHS, but Assign RHS\'s VARREF \'DIG_\' generates 8 bits.\n                                                                     : ... In instance Segment7HEX\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/Segment7HEX.v:53: Bit extraction of array[3:0] requires 2 bit index, not 4 bits.\n                                                                     : ... In instance Segment7HEX\n  SEGMENT_ <= getBCDFromHEX( DATA[DigitState] ); \n                                 ^\n%Warning-WIDTH: data/full_repos/permissive/170402453/Segment7HEX.v:55: Operator ASSIGNDLY expects 8 bits on the Assign RHS, but Assign RHS\'s FUNCREF \'getSELDigit\' generates 4 bits.\n                                                                     : ... In instance Segment7HEX\n  DIG_ <= getSELDigit(DigitState); \n       ^~\n%Error: Exiting due to 3 warning(s)\n'
function [7:0] getBCDFromHEX;
		input [3:0] DataSelect;
		begin
			case(DataSelect)
				0: getBCDFromHEX = ~8'b00111111;
				1: getBCDFromHEX = ~8'b00110000;
				2: getBCDFromHEX = ~8'b01011011;
				3: getBCDFromHEX = ~8'b01001111;
				4: getBCDFromHEX = ~8'b01100110;
				5: getBCDFromHEX = ~8'b01101101;
				6: getBCDFromHEX = ~8'b01111101;
				7: getBCDFromHEX = ~8'b00000111;
				8: getBCDFromHEX = ~8'b01111111;
				9: getBCDFromHEX = ~8'b01100111;
				
				10: getBCDFromHEX = ~8'b01110111;
				11: getBCDFromHEX = ~8'b01111100;
				12: getBCDFromHEX = ~8'b00111001;
				13: getBCDFromHEX = ~8'b01011110;
				14: getBCDFromHEX = ~8'b01111001;
				15: getBCDFromHEX = ~8'b01110001;
				
				default: getBCDFromHEX = 8'b11111111;
			endcase
			
		end
	 endfunction
function [7:0] getBCDFromHEX;

		input [3:0] DataSelect;
		begin
			case(DataSelect)
				0: getBCDFromHEX = ~8'b00111111;
				1: getBCDFromHEX = ~8'b00110000;
				2: getBCDFromHEX = ~8'b01011011;
				3: getBCDFromHEX = ~8'b01001111;
				4: getBCDFromHEX = ~8'b01100110;
				5: getBCDFromHEX = ~8'b01101101;
				6: getBCDFromHEX = ~8'b01111101;
				7: getBCDFromHEX = ~8'b00000111;
				8: getBCDFromHEX = ~8'b01111111;
				9: getBCDFromHEX = ~8'b01100111;
				
				10: getBCDFromHEX = ~8'b01110111;
				11: getBCDFromHEX = ~8'b01111100;
				12: getBCDFromHEX = ~8'b00111001;
				13: getBCDFromHEX = ~8'b01011110;
				14: getBCDFromHEX = ~8'b01111001;
				15: getBCDFromHEX = ~8'b01110001;
				
				default: getBCDFromHEX = 8'b11111111;
			endcase
			
		end
	 endfunction