data/full_repos/permissive/515133384/Verilog Code for Design part.v
1: b'%Error: Cannot find file containing module: data/full_repos/permissive/515133384/Verilog\n        ... Looked in:\n             data/full_repos/permissive/515133384,data/full_repos/permissive/515133384/data/full_repos/permissive/515133384/Verilog\n             data/full_repos/permissive/515133384,data/full_repos/permissive/515133384/data/full_repos/permissive/515133384/Verilog.v\n             data/full_repos/permissive/515133384,data/full_repos/permissive/515133384/data/full_repos/permissive/515133384/Verilog.sv\n             data/full_repos/permissive/515133384/Verilog\n             data/full_repos/permissive/515133384/Verilog.v\n             data/full_repos/permissive/515133384/Verilog.sv\n             obj_dir/data/full_repos/permissive/515133384/Verilog\n             obj_dir/data/full_repos/permissive/515133384/Verilog.v\n             obj_dir/data/full_repos/permissive/515133384/Verilog.sv\n%Error: Cannot find file containing module: Code\n%Error: Cannot find file containing module: for\n%Error: Cannot find file containing module: Design\n%Error: Cannot find file containing module: part.v\n%Error: Exiting due to 5 error(s)\n'
module CLA #(parameter N=2) (Ax,Bx,Cin,S,Cx,Cxx);

  input [N-1:0]Ax,Bx;
  input Cin;
  output reg[N:0]Cxx;
  output reg[N-1:0]S;
  reg [N-1:0]Px;
  reg [N-1:0]G;
  output reg Cx;
  integer i;
  always@(*)
    begin
      

      for(i=0;i<(N+1);i=i+1)
        begin 
          Cxx[0]=Cin;
          Px[i]=Ax[i]^Bx[i];
          G[i]=Ax[i]&Bx[i];
          Cxx[i+1]=G[i]+(Px[i]&Cxx[i]);
          S[i]=Px[i]^Cxx[i];
        end
       Cx=Cxx[N]; 
        end

      endmodule
module CLA #(parameter N=2) (Ax,Bx,Cin,S,Cx,Cxx);


  input [N-1:0]Ax,Bx;
  input Cin;
  output reg[N:0]Cxx;
  output reg[N-1:0]S;
  reg [N-1:0]Px;
  reg [N-1:0]G;
  output reg Cx;
  integer i;
  always@(*)
    begin
      

      for(i=0;i<(N+1);i=i+1)
        begin 
          Cxx[0]=Cin;
          Px[i]=Ax[i]^Bx[i];
          G[i]=Ax[i]&Bx[i];
          Cxx[i+1]=G[i]+(Px[i]&Cxx[i]);
          S[i]=Px[i]^Cxx[i];
        end
       Cx=Cxx[N]; 
        end

      endmodule