data/full_repos/permissive/502544928/main_memory.v
1: b"%Error: data/full_repos/permissive/502544928/main_memory.v:88: Cannot find file containing module: 'BRAM'\nBRAM #(DATA_WIDTH, REAL_ADDR_BITS) RAM_Block(\n^~~~\n        ... Looked in:\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/BRAM\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/BRAM.v\n             data/full_repos/permissive/502544928,data/full_repos/permissive/502544928/BRAM.sv\n             BRAM\n             BRAM.v\n             BRAM.sv\n             obj_dir/BRAM\n             obj_dir/BRAM.v\n             obj_dir/BRAM.sv\n%Error: Exiting due to 1 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