data/full_repos/permissive/210844779/lab4/4.2.2/seq.v
1: b"%Error: data/full_repos/permissive/210844779/lab4/4.2.2/seq.v:14: Cannot find file containing module: 'dff'\n  dff ui(ip,clk,rst,set,temp[i]);\n  ^~~\n        ... Looked in:\n             data/full_repos/permissive/210844779/lab4/4.2.2,data/full_repos/permissive/210844779/dff\n             data/full_repos/permissive/210844779/lab4/4.2.2,data/full_repos/permissive/210844779/dff.v\n             data/full_repos/permissive/210844779/lab4/4.2.2,data/full_repos/permissive/210844779/dff.sv\n             dff\n             dff.v\n             dff.sv\n             obj_dir/dff\n             obj_dir/dff.v\n             obj_dir/dff.sv\n%Error: data/full_repos/permissive/210844779/lab4/4.2.2/seq.v:16: Cannot find file containing module: 'dff'\n     dff ui(temp[i+1],clk,rst,set,temp[i]); \n     ^~~\n%Error: data/full_repos/permissive/210844779/lab4/4.2.2/seq.v:29: Cannot find file containing module: 'dff'\n dff ui(and_ip,clk,rst,set,op);\n ^~~\n%Error: Exiting due to 3 error(s)\n"
module mela_over(ip,clk,rst,set,op);
  parameter m=7;
  parameter [m-1:0]seq=7'b1100101;

  input ip,clk,rst,set;
  output op;
  wire [m-2:0]temp;
  wire[m-1:0] cot;
  wire and_ip;
 genvar i;
  generate for(i=m-2;i>=0;i=i-1)
    begin:loop1
      if (i==m-2) 
		dff ui(ip,clk,rst,set,temp[i]);
     else if (i<m-2||i>=0)
     dff ui(temp[i+1],clk,rst,set,temp[i]); 

   end
 endgenerate
 
 generate for(i=m-1;i>=0;i=i-1)
 begin :loop2
 if(i<m-1||i==0)
 assign cot[i]=seq[i]?temp[i]:(~temp[i]);
 else
 assign cot[i]=seq[i]?ip:(~ip);
 end
 endgenerate
 dff ui(and_ip,clk,rst,set,op);

 assign and_ip=& cot;

	endmodule
module mela_over(ip,clk,rst,set,op);

  parameter m=7;
  parameter [m-1:0]seq=7'b1100101;

  input ip,clk,rst,set;
  output op;
  wire [m-2:0]temp;
  wire[m-1:0] cot;
  wire and_ip;
 genvar i;
  generate for(i=m-2;i>=0;i=i-1)
    begin:loop1
      if (i==m-2) 
		dff ui(ip,clk,rst,set,temp[i]);
     else if (i<m-2||i>=0)
     dff ui(temp[i+1],clk,rst,set,temp[i]); 

   end
 endgenerate
 
 generate for(i=m-1;i>=0;i=i-1)
 begin :loop2
 if(i<m-1||i==0)
 assign cot[i]=seq[i]?temp[i]:(~temp[i]);
 else
 assign cot[i]=seq[i]?ip:(~ip);
 end
 endgenerate
 dff ui(and_ip,clk,rst,set,op);

 assign and_ip=& cot;

	endmodule