data/full_repos/permissive/502544928/ra_memory_router_system.v
1: b"%Error: data/full_repos/permissive/502544928/ra_memory_router_system.v:119: Cannot find file containing module: 'ra_mem_system_wrapper'\nra_mem_system_wrapper #(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/ra_mem_system_wrapper\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/ra_mem_system_wrapper.v\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/ra_mem_system_wrapper.sv\n             ra_mem_system_wrapper\n             ra_mem_system_wrapper.v\n             ra_mem_system_wrapper.sv\n             obj_dir/ra_mem_system_wrapper\n             obj_dir/ra_mem_system_wrapper.v\n             obj_dir/ra_mem_system_wrapper.sv\n%Error: data/full_repos/permissive/502544928/ra_memory_router_system.v:139: Cannot find file containing module: 'router_wrapper'\nrouter_wrapper #(RT_ALG, RT_WIDTH, FLOW_BITS, FLIT_WIDTH, IN_PORTS, \n^~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(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