data/full_repos/permissive/521337848/Hardware/GRAPHICS/GraphicsBuffering.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/521337848/Hardware/GRAPHICS/GraphicsBuffering.v:196: Multiple top level modules\n                                                                                                 : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                                 : ... Top module \'textBuffer\'\nmodule textBuffer(\n       ^~~~~~~~~~\n                                                                                                 : ... Top module \'clearer\'\nmodule clearer(\n       ^~~~~~~\n                                                                                                 : ... Top module \'bufferTextMem\'\nmodule bufferTextMem(\n       ^~~~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module bufferTextMem(
	input clk,
	input[11:0] addr,

	input w,
	input[11:0] waddr,
	input[7:0] save,
	
	output reg[7:0] out
);

reg[7:0] memory[4095:0];

always@(posedge clk)begin
	if(w) memory[waddr] <= save;
	
	out <= memory[addr];
end
	

endmodule
module bufferTextMem(
	input clk,
	input[11:0] addr,

	input w,
	input[11:0] waddr,
	input[7:0] save,
	
	output reg[7:0] out
);


reg[7:0] memory[4095:0];

always@(posedge clk)begin
	if(w) memory[waddr] <= save;
	
	out <= memory[addr];
end
	

endmodule