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 [3:0] getSELDigit;
		input [3:0] digit;
		begin

			case(digit)
				0: getSELDigit = ~4'b0001;
				1: getSELDigit = ~4'b0010;
				2: getSELDigit = ~4'b0100;
				3: getSELDigit = ~4'b1000;
				
				default: getSELDigit = ~4'b0000;
			endcase
		end
	 endfunction
function [3:0] getSELDigit;

		input [3:0] digit;
		begin

			case(digit)
				0: getSELDigit = ~4'b0001;
				1: getSELDigit = ~4'b0010;
				2: getSELDigit = ~4'b0100;
				3: getSELDigit = ~4'b1000;
				
				default: getSELDigit = ~4'b0000;
			endcase
		end
	 endfunction