data/full_repos/permissive/150012894/memory_maneger.v
1: b"%Error: data/full_repos/permissive/150012894/memory_maneger.v:24: Cannot find file containing module: 'ram'\nram r(\n^~~\n        ... Looked in:\n             data/full_repos/permissive/150012894,data/full_repos/permissive/150012894/ram\n             data/full_repos/permissive/150012894,data/full_repos/permissive/150012894/ram.v\n             data/full_repos/permissive/150012894,data/full_repos/permissive/150012894/ram.sv\n             ram\n             ram.v\n             ram.sv\n             obj_dir/ram\n             obj_dir/ram.v\n             obj_dir/ram.sv\n%Error: Exiting due to 1 error(s)\n"
module memory_maneger(
	input [31:0] addr,
	input [7:0] data,
	input write,
	input clk,
	output reg [7:0] q
);

reg wren;
wire [7:0] ram_q;

always @(*)
if(addr > 'h10000) begin
	wren = 1'b0;
	q = 0;
end else begin
	wren = write;
	q = ram_q;
end

ram r(
	addr[15:0],
	clk,
	data,
	wren,
	ram_q);

endmodule
module memory_maneger(
	input [31:0] addr,
	input [7:0] data,
	input write,
	input clk,
	output reg [7:0] q
);


reg wren;
wire [7:0] ram_q;

always @(*)
if(addr > 'h10000) begin
	wren = 1'b0;
	q = 0;
end else begin
	wren = write;
	q = ram_q;
end

ram r(
	addr[15:0],
	clk,
	data,
	wren,
	ram_q);

endmodule