data/full_repos/permissive/146246005/RAM and ROM/RAM.v
1: b'%Error: Cannot find file containing module: and\n        ... Looked in:\n             data/full_repos/permissive/146246005/RAM/and\n             data/full_repos/permissive/146246005/RAM/and.v\n             data/full_repos/permissive/146246005/RAM/and.sv\n             and\n             and.v\n             and.sv\n             obj_dir/and\n             obj_dir/and.v\n             obj_dir/and.sv\n%Error: Cannot find file containing module: ROM,data/full_repos/permissive/146246005\n%Error: Cannot find file containing module: data/full_repos/permissive/146246005/RAM\n%Error: Cannot find file containing module: ROM/RAM.v\n%Error: Exiting due to 4 error(s)\n'
module RAM(DATA, ADDR, OE, CS, WS);
  inout [7:0] DATA;
  input [4:0] ADDR; 
  input OE, CS, WS;
  reg [7:0] memory [0:31];
  


  assign DATA = (OE && !CS) ? memory[ADDR] : 8'bz;

  always@(posedge WS) begin
    if (!OE && !CS)
      memory[ADDR] <= DATA;
	else
	  memory[ADDR] <= memory[ADDR];
  end

endmodule
module RAM(DATA, ADDR, OE, CS, WS);

  inout [7:0] DATA;
  input [4:0] ADDR; 
  input OE, CS, WS;
  reg [7:0] memory [0:31];
  


  assign DATA = (OE && !CS) ? memory[ADDR] : 8'bz;

  always@(posedge WS) begin
    if (!OE && !CS)
      memory[ADDR] <= DATA;
	else
	  memory[ADDR] <= memory[ADDR];
  end

endmodule