data/full_repos/permissive/210844779/lab4/4.4/bi_mem.v
1: b"%Error: data/full_repos/permissive/210844779/lab4/4.4/bi_mem.v:9: Cannot find file containing module: 'main_mem'\n  main_mem u0(.d(d),.clk(clk),.we_re(we_re),.add(add),.q(temp));\n  ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/210844779/lab4/4.4,data/full_repos/permissive/210844779/main_mem\n             data/full_repos/permissive/210844779/lab4/4.4,data/full_repos/permissive/210844779/main_mem.v\n             data/full_repos/permissive/210844779/lab4/4.4,data/full_repos/permissive/210844779/main_mem.sv\n             main_mem\n             main_mem.v\n             main_mem.sv\n             obj_dir/main_mem\n             obj_dir/main_mem.v\n             obj_dir/main_mem.sv\n%Error: Exiting due to 1 error(s)\n"
module bi_dir(d,clk,we_re,add);
  parameter m=4;
  
  inout [2**m-1:0]d;
  input [m-1:0]add;
  input clk,we_re;
  
  wire [2**m-1:0]temp;
  main_mem u0(.d(d),.clk(clk),.we_re(we_re),.add(add),.q(temp));
  
  bufif0 u1[2**m-1:0] (d,temp,we_re);
  
endmodule
module bi_dir(d,clk,we_re,add);

  parameter m=4;
  
  inout [2**m-1:0]d;
  input [m-1:0]add;
  input clk,we_re;
  
  wire [2**m-1:0]temp;
  main_mem u0(.d(d),.clk(clk),.we_re(we_re),.add(add),.q(temp));
  
  bufif0 u1[2**m-1:0] (d,temp,we_re);
  
endmodule