data/full_repos/permissive/107757225/ECE385-HelperTools/PNG To Hex/On-Chip Memory/ram.sv
1: b'%Error: Cannot find file containing module: To\n        ... Looked in:\n             data/full_repos/permissive/107757225/ECE385-HelperTools/PNG/To\n             data/full_repos/permissive/107757225/ECE385-HelperTools/PNG/To.v\n             data/full_repos/permissive/107757225/ECE385-HelperTools/PNG/To.sv\n             To\n             To.v\n             To.sv\n             obj_dir/To\n             obj_dir/To.v\n             obj_dir/To.sv\n%Error: Cannot find file containing module: Hex/On-Chip\n%Error: Cannot find file containing module: Memory,data/full_repos/permissive/107757225\n%Error: Cannot find file containing module: data/full_repos/permissive/107757225/ECE385-HelperTools/PNG\n%Error: Cannot find file containing module: Memory/ram.sv\n%Error: Exiting due to 5 error(s)\n'
module  frameRAM
(
		input [4:0] data_In,
		input [18:0] write_address, read_address,
		input we, Clk,

		output logic [4:0] data_Out
);


logic [2:0] mem [0:399];

initial
begin

	
end


always_ff @ (posedge Clk) begin
	if (we)
		mem[write_address] <= data_In;
	data_Out<= mem[read_address];
end

endmodule
module  frameRAM
(
		input [4:0] data_In,
		input [18:0] write_address, read_address,
		input we, Clk,

		output logic [4:0] data_Out
);



logic [2:0] mem [0:399];

initial
begin

	
end


always_ff @ (posedge Clk) begin
	if (we)
		mem[write_address] <= data_In;
	data_Out<= mem[read_address];
end

endmodule