data/full_repos/permissive/502544928/7_stage_MIPS_core.v
1: b'%Warning-WIDTH: data/full_repos/permissive/502544928/7_stage_MIPS_core.v:192: Operator ASSIGNW expects 32 bits on the Assign RHS, but Assign RHS\'s REPLICATE generates 34 bits.\n                                                                            : ... In instance MIPS_core\nassign IC_out_addr =  {pad, inst_core, INS_out_addr[REAL_ADDR_BITS-1:0],2\'b00}; \n                   ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/502544928/7_stage_MIPS_core.v:193: Operator ASSIGNW expects 32 bits on the Assign RHS, but Assign RHS\'s REPLICATE generates 34 bits.\n                                                                            : ... In instance MIPS_core\nassign DC_out_addr =  {pad, DAT_out_addr[ADDRESS_BITS-1:0], 2\'b00}; \n                   ^\n%Error: data/full_repos/permissive/502544928/7_stage_MIPS_core.v:197: Cannot find file containing module: \'memory_router_system\'\nmemory_router_system #(CORE, ID_BITS, REAL_ADDR_BITS, DATA_WIDTH, INDEX_BITS, \n^~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/memory_router_system\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/memory_router_system.v\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/memory_router_system.sv\n             memory_router_system\n             memory_router_system.v\n             memory_router_system.sv\n             obj_dir/memory_router_system\n             obj_dir/memory_router_system.v\n             obj_dir/memory_router_system.sv\n%Error: data/full_repos/permissive/502544928/7_stage_MIPS_core.v:243: Cannot find file containing module: \'ALU\'\nALU #(32) alu_unit(\n^~~\n%Error: data/full_repos/permissive/502544928/7_stage_MIPS_core.v:251: Cannot find file containing module: \'inst_decoder\'\ninst_decoder decoder (\n^~~~~~~~~~~~\n%Error: Exiting due to 3 error(s), 2 warning(s)\n'
function integer log2;
	input integer num;
	integer i, result;
	begin
		for (i = 0; 2 ** i < num; i = i + 1)
			result = i + 1;
		log2 = result;
	end
endfunction
function integer log2;

	input integer num;
	integer i, result;
	begin
		for (i = 0; 2 ** i < num; i = i + 1)
			result = i + 1;
		log2 = result;
	end
endfunction