data/full_repos/permissive/48602886/src/device/mmc/mmc_cmd_control_layer_cmd17.v
1: b'%Warning-WIDTH: data/full_repos/permissive/48602886/src/device/mmc/mmc_cmd_control_layer_cmd17.v:241: Operator ASSIGNDLY expects 10 bits on the Assign RHS, but Assign RHS\'s CONST \'9\'h0\' generates 9 bits.\n                                                                                                    : ... In instance mmc_cmd_control_layer_cmd17\n      b_receive_counter <= 9\'h0;\n                        ^~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/48602886/src/device/mmc/mmc_cmd_control_layer_cmd17.v:246: Operator ASSIGNDLY expects 10 bits on the Assign RHS, but Assign RHS\'s CONST \'9\'h0\' generates 9 bits.\n                                                                                                    : ... In instance mmc_cmd_control_layer_cmd17\n      b_receive_counter <= 9\'h0;\n                        ^~\n%Warning-WIDTH: data/full_repos/permissive/48602886/src/device/mmc/mmc_cmd_control_layer_cmd17.v:286: Operator FUNCREF \'func_cmd_flame\' expects 3 bits on the Function Argument, but Function Argument\'s VARREF \'b_main_count\' generates 10 bits.\n                                                                                                    : ... In instance mmc_cmd_control_layer_cmd17\n assign oMMC_DATA = (b_main_state == PL_MAIN_STT_CMD)? func_cmd_flame(b_main_count, b_main_addr) : 8\'hff;\n                                                       ^~~~~~~~~~~~~~\n%Error: Exiting due to 3 warning(s)\n'
function [7:0] func_cmd_flame;
		input [2:0] func_select;
		input [31:0] func_addr;
		begin
			case(func_select)
				3'h0 : func_cmd_flame = 8'h51;
				3'h1 : func_cmd_flame = func_addr[31:24];
				3'h2 : func_cmd_flame = func_addr[23:16];
				3'h3 : func_cmd_flame = func_addr[15:8];
				3'h4 : func_cmd_flame = func_addr[7:0];
				3'h5 : func_cmd_flame = 8'h01;
				default : func_cmd_flame = 8'h00;
			endcase
		end
	endfunction
function [7:0] func_cmd_flame;

		input [2:0] func_select;
		input [31:0] func_addr;
		begin
			case(func_select)
				3'h0 : func_cmd_flame = 8'h51;
				3'h1 : func_cmd_flame = func_addr[31:24];
				3'h2 : func_cmd_flame = func_addr[23:16];
				3'h3 : func_cmd_flame = func_addr[15:8];
				3'h4 : func_cmd_flame = func_addr[7:0];
				3'h5 : func_cmd_flame = 8'h01;
				default : func_cmd_flame = 8'h00;
			endcase
		end
	endfunction