data/full_repos/permissive/210844779/lab4/4.3.2/main_mem.v
1: b"%Error: data/full_repos/permissive/210844779/lab4/4.3.2/main_mem.v:16: Cannot find file containing module: 'decoder'\n  decoder u0(.sel(add),.en(we_re),.op(temp));\n  ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/210844779/lab4/4.3.2,data/full_repos/permissive/210844779/decoder\n             data/full_repos/permissive/210844779/lab4/4.3.2,data/full_repos/permissive/210844779/decoder.v\n             data/full_repos/permissive/210844779/lab4/4.3.2,data/full_repos/permissive/210844779/decoder.sv\n             decoder\n             decoder.v\n             decoder.sv\n             obj_dir/decoder\n             obj_dir/decoder.v\n             obj_dir/decoder.sv\n%Error: data/full_repos/permissive/210844779/lab4/4.3.2/main_mem.v:17: Cannot find file containing module: 'mem'\n  mem u1(.d(d),.clk(clk),.en(temp),.q(tempm));\n  ^~~\n%Error: data/full_repos/permissive/210844779/lab4/4.3.2/main_mem.v:18: Cannot find file containing module: 'mux'\n  mux u2(.ip(tempm),.sel(add),.op(tempout));\n  ^~~\n%Error: data/full_repos/permissive/210844779/lab4/4.3.2/main_mem.v:19: Cannot find file containing module: 'pipo'\n  pipo u3(.d(tempout),.clk(clk),.en(1'b1),.q(q));\n  ^~~~\n%Error: Exiting due to 4 error(s)\n"
module main_mem(d,clk,we_re,add,q);
  parameter m=4;
  input [2**m-1:0]d;
  input [m-1:0]add;
  input clk,we_re;
  output [2**m-1:0]q;
  
  wire [2**m-1:0]temp,tempout;
  wire [2**m*2**m-1:0]tempm;
  
  

  

  
  decoder u0(.sel(add),.en(we_re),.op(temp));
  mem u1(.d(d),.clk(clk),.en(temp),.q(tempm));
  mux u2(.ip(tempm),.sel(add),.op(tempout));
  pipo u3(.d(tempout),.clk(clk),.en(1'b1),.q(q));
  
endmodule
module main_mem(d,clk,we_re,add,q);

  parameter m=4;
  input [2**m-1:0]d;
  input [m-1:0]add;
  input clk,we_re;
  output [2**m-1:0]q;
  
  wire [2**m-1:0]temp,tempout;
  wire [2**m*2**m-1:0]tempm;
  
  

  

  
  decoder u0(.sel(add),.en(we_re),.op(temp));
  mem u1(.d(d),.clk(clk),.en(temp),.q(tempm));
  mux u2(.ip(tempm),.sel(add),.op(tempout));
  pipo u3(.d(tempout),.clk(clk),.en(1'b1),.q(q));
  
endmodule