data/full_repos/permissive/159001439/src/udp_tx_lite.v
1: b'%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:72: Operator ADD expects 16 bits on the RHS, but RHS\'s SEL generates 1 bits.\n                                                                         : ... In instance udp_tx_lite\n  csum_add = temp[15:0]+temp[16];\n                       ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:126: Operator ASSIGNDLY expects 32 bits on the Assign RHS, but Assign RHS\'s REPLICATE generates 40 bits.\n                                                                          : ... In instance udp_tx_lite\n   eth_fcs_crc <= {eth_fcs_crc, 8\'hFF};\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:275: Operator ASSIGNDLY expects 11 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  write_offset <= \'bx;\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:277: Operator ASSIGNDLY expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  write_data <= \'bx;\n             ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:279: Unsized constant being X/Z extended to 192 bits: ?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n                                                                          : ... In instance udp_tx_lite\n  config_vector <= \'bx;\n                   ^~~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:280: Operator ASSIGNDLY expects 11 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  total_length <= \'bx;\n               ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:500: Operator ASSIGNDLY expects 11 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  read_length <= \'bx;\n              ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:501: Operator ASSIGNDLY expects 4 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  s2_timer <= \'bx;\n           ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:502: Operator ASSIGNDLY expects 11 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  read_offset <= \'bx;\n              ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:505: Operator ASSIGNDLY expects 1 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  eth_fcs_clr <= \'bx;\n              ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:506: Operator ASSIGNDLY expects 1 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n  eth_fcs_en <= \'bx;\n             ^~\n%Warning-WIDTH: data/full_repos/permissive/159001439/src/udp_tx_lite.v:582: Operator ASSIGN expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'?32?bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\' generates 32 bits.\n                                                                          : ... In instance udp_tx_lite\n   axis_m_tdata = \'bx;\n                ^\n%Error: Exiting due to 12 warning(s)\n'
function [15:0] csum_add;
	input [15:0] sum;
	input [15:0] data;
	reg [16:0] temp;
	begin
		temp = sum+data;
		csum_add = temp[15:0]+temp[16];
	end
endfunction
function [15:0] csum_add;

	input [15:0] sum;
	input [15:0] data;
	reg [16:0] temp;
	begin
		temp = sum+data;
		csum_add = temp[15:0]+temp[16];
	end
endfunction