data/full_repos/permissive/489306513/logiana.v
1: b'%Warning-WIDTH: data/full_repos/permissive/489306513/logiana.v:56: Operator VAR \'PROBE_SPEED_1_KHZ\' expects 16 bits on the Initial value, but Initial value\'s SUB generates 32 or 17 bits.\n                                                                 : ... In instance logiana\nlocalparam [15:0] PROBE_SPEED_1_KHZ =    (100000 / 2) - 1;\n                  ^~~~~~~~~~~~~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
function [7:0] get_host_read_data;
	input [1:0] index;
	input [31:0] ram_data;
	begin
		case (index)
			2: get_host_read_data = ram_data[7:0];
			3: get_host_read_data = ram_data[15:8];
			0: get_host_read_data = ram_data[23:16];
			1: get_host_read_data = ram_data[31:24];
		endcase		
	end
endfunction
function [7:0] get_host_read_data;

	input [1:0] index;
	input [31:0] ram_data;
	begin
		case (index)
			2: get_host_read_data = ram_data[7:0];
			3: get_host_read_data = ram_data[15:8];
			0: get_host_read_data = ram_data[23:16];
			1: get_host_read_data = ram_data[31:24];
		endcase		
	end
endfunction