data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v
 line:61: before: "for"
1: b'%Warning-MULTITOP: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:48: Multiple top level modules\n                                                                                              : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                              : ... Top module \'multiCS4_fullbasecell\'\nmodule multiCS4_fullbasecell(factor1, factor2, product);\n       ^~~~~~~~~~~~~~~~~~~~~\n                                                                                              : ... Top module \'multiCS4_v1\'\nmodule multiCS4_v1(factor1, factor2, product);\n       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:71: Cannot find file containing module: \'HA\'\n HA level0_0(pproduct[0][1], pproduct[1][0], product[1], carrySave[0][0]);\n ^~\n        ... Looked in:\n             data/full_repos/permissive/215901856/Source,data/full_repos/permissive/215901856/HA\n             data/full_repos/permissive/215901856/Source,data/full_repos/permissive/215901856/HA.v\n             data/full_repos/permissive/215901856/Source,data/full_repos/permissive/215901856/HA.sv\n             HA\n             HA.v\n             HA.sv\n             obj_dir/HA\n             obj_dir/HA.v\n             obj_dir/HA.sv\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:72: Cannot find file containing module: \'HA\'\n HA level0_1(pproduct[0][2], pproduct[1][1], merging_vec[0][0], carrySave[0][1]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:73: Cannot find file containing module: \'HA\'\n HA level0_2(pproduct[0][3], pproduct[1][2], merging_vec[0][1], carrySave[0][2]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:74: Cannot find file containing module: \'HA\'\n HA level0_3(pproduct[1][3], pproduct[2][2], merging_vec[0][2], carrySave[0][3]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:75: Cannot find file containing module: \'HA\'\n HA level0_4(pproduct[2][3], pproduct[3][2], merging_vec[0][3], carrySave[0][4]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:78: Cannot find file containing module: \'FA\'\n FA level1_0(merging_vec[0][0], pproduct[2][0], carrySave[0][0], product[2], carrySave[1][0]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:79: Cannot find file containing module: \'FA\'\n FA level1_1(merging_vec[0][1], pproduct[2][1], carrySave[0][1], merging_vec[1][0], carrySave[1][1]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:80: Cannot find file containing module: \'FA\'\n FA level1_2(merging_vec[0][2], pproduct[3][1], carrySave[0][2], merging_vec[1][1], carrySave[1][2]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:81: Cannot find file containing module: \'HA\'\n HA level1_3(merging_vec[0][3], carrySave[0][3], merging_vec[1][2], carrySave[1][3]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:82: Cannot find file containing module: \'HA\'\n HA level1_4(pproduct[3][3], carrySave[0][4], merging_vec[1][3], carrySave[1][4]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:85: Cannot find file containing module: \'FA\'\n FA level2_0(merging_vec[1][0], pproduct[3][0], carrySave[1][0], product[3], carrySave[2][0]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:86: Cannot find file containing module: \'FA\'\n FA level2_1(merging_vec[1][1], carrySave[2][0], carrySave[1][1], product[4], carrySave[2][1]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:87: Cannot find file containing module: \'FA\'\n FA level2_2(merging_vec[1][2], carrySave[2][1], carrySave[1][2], product[5], carrySave[2][2]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:88: Cannot find file containing module: \'FA\'\n FA level2_3(merging_vec[1][3], carrySave[2][2], carrySave[1][3], product[6], carrySave[2][3]);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:89: Cannot find file containing module: \'HA\'\n HA level2_4(carrySave[1][4], carrySave[2][3], product[7], dummy);\n ^~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:15: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc00(factor1[0], factor2[0], 1\'b0, 1\'b0, sum_vec[0][0], carry_vec[0][0]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:16: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc01(factor1[1], factor2[0], 1\'b0, carry_vec[0][0], sum_vec[0][1], carry_vec[0][1]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:17: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc02(factor1[2], factor2[0], 1\'b0, carry_vec[0][1], sum_vec[0][2], carry_vec[0][2]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:18: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc03(factor1[3], factor2[0], 1\'b0, carry_vec[0][2], sum_vec[0][3], carry_vec[0][3]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:20: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc10(factor1[0], factor2[1], sum_vec[0][1], 1\'b0, sum_vec[1][0], carry_vec[1][0]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:21: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc11(factor1[1], factor2[1], sum_vec[0][2], carry_vec[1][0], sum_vec[1][1], carry_vec[1][1]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:22: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc12(factor1[2], factor2[1], sum_vec[0][3], carry_vec[1][1], sum_vec[1][2], carry_vec[1][2]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:23: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc13(factor1[3], factor2[1], carry_vec[0][3], carry_vec[1][2], sum_vec[1][3], carry_vec[1][3]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:25: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc20(factor1[0], factor2[2], sum_vec[1][1], 1\'b0, sum_vec[2][0], carry_vec[2][0]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:26: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc21(factor1[1], factor2[2], sum_vec[1][2], carry_vec[2][0], sum_vec[2][1], carry_vec[2][1]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:27: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc22(factor1[2], factor2[2], sum_vec[1][3], carry_vec[2][1], sum_vec[2][2], carry_vec[2][2]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:28: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc23(factor1[3], factor2[2], carry_vec[1][3], carry_vec[2][2], sum_vec[2][3], carry_vec[2][3]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:30: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc30(factor1[0], factor2[3], sum_vec[2][1], 1\'b0, sum_vec[3][0], carry_vec[3][0]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:31: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc31(factor1[1], factor2[3], sum_vec[2][2], carry_vec[3][0], sum_vec[3][1], carry_vec[3][1]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:32: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc32(factor1[2], factor2[3], sum_vec[2][3], carry_vec[3][1], sum_vec[3][2], carry_vec[3][2]);\n  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/215901856/Source/carry_save_multiplier_4bit.v:33: Cannot find file containing module: \'basecell_fa\'\n  basecell_fa bc33(factor1[3], factor2[3], carry_vec[2][3], carry_vec[3][2], sum_vec[3][3], carry_vec[3][3]);\n  ^~~~~~~~~~~\n%Error: Exiting due to 31 error(s), 1 warning(s)\n'
module multiCS4_v1(factor1, factor2, product);
  input [3:0] factor1, factor2;
  output [7:0] product;

  wire [3:0] pproduct[3:0];
  wire [4:0] carrySave[2:0];
  wire [3:0] merging_vec[1:0];
  wire [1:0] carryProp;
  wire dummy;

  genvar i, j;


  for(i = 0; i < 4; i = i + 1)
    for(j = 0; j < 4; j = j + 1)
      begin
        assign  pproduct[i][j] = factor1[i] & factor2[j];
      end


	assign product[0] = pproduct[0][0];


	HA level0_0(pproduct[0][1], pproduct[1][0], product[1], carrySave[0][0]);
	HA level0_1(pproduct[0][2], pproduct[1][1], merging_vec[0][0], carrySave[0][1]);
	HA level0_2(pproduct[0][3], pproduct[1][2], merging_vec[0][1], carrySave[0][2]);
	HA level0_3(pproduct[1][3], pproduct[2][2], merging_vec[0][2], carrySave[0][3]);
	HA level0_4(pproduct[2][3], pproduct[3][2], merging_vec[0][3], carrySave[0][4]);


	FA level1_0(merging_vec[0][0], pproduct[2][0], carrySave[0][0], product[2], carrySave[1][0]);
	FA level1_1(merging_vec[0][1], pproduct[2][1], carrySave[0][1], merging_vec[1][0], carrySave[1][1]);
	FA level1_2(merging_vec[0][2], pproduct[3][1], carrySave[0][2], merging_vec[1][1], carrySave[1][2]);
	HA level1_3(merging_vec[0][3], carrySave[0][3], merging_vec[1][2], carrySave[1][3]);
	HA level1_4(pproduct[3][3], carrySave[0][4], merging_vec[1][3], carrySave[1][4]);


	FA level2_0(merging_vec[1][0], pproduct[3][0], carrySave[1][0], product[3], carrySave[2][0]);
	FA level2_1(merging_vec[1][1], carrySave[2][0], carrySave[1][1], product[4], carrySave[2][1]);
	FA level2_2(merging_vec[1][2], carrySave[2][1], carrySave[1][2], product[5], carrySave[2][2]);
	FA level2_3(merging_vec[1][3], carrySave[2][2], carrySave[1][3], product[6], carrySave[2][3]);
	HA level2_4(carrySave[1][4], carrySave[2][3], product[7], dummy);

endmodule
module multiCS4_v1(factor1, factor2, product);

  input [3:0] factor1, factor2;
  output [7:0] product;

  wire [3:0] pproduct[3:0];
  wire [4:0] carrySave[2:0];
  wire [3:0] merging_vec[1:0];
  wire [1:0] carryProp;
  wire dummy;

  genvar i, j;


  for(i = 0; i < 4; i = i + 1)
    for(j = 0; j < 4; j = j + 1)
      begin
        assign  pproduct[i][j] = factor1[i] & factor2[j];
      end


	assign product[0] = pproduct[0][0];


	HA level0_0(pproduct[0][1], pproduct[1][0], product[1], carrySave[0][0]);
	HA level0_1(pproduct[0][2], pproduct[1][1], merging_vec[0][0], carrySave[0][1]);
	HA level0_2(pproduct[0][3], pproduct[1][2], merging_vec[0][1], carrySave[0][2]);
	HA level0_3(pproduct[1][3], pproduct[2][2], merging_vec[0][2], carrySave[0][3]);
	HA level0_4(pproduct[2][3], pproduct[3][2], merging_vec[0][3], carrySave[0][4]);


	FA level1_0(merging_vec[0][0], pproduct[2][0], carrySave[0][0], product[2], carrySave[1][0]);
	FA level1_1(merging_vec[0][1], pproduct[2][1], carrySave[0][1], merging_vec[1][0], carrySave[1][1]);
	FA level1_2(merging_vec[0][2], pproduct[3][1], carrySave[0][2], merging_vec[1][1], carrySave[1][2]);
	HA level1_3(merging_vec[0][3], carrySave[0][3], merging_vec[1][2], carrySave[1][3]);
	HA level1_4(pproduct[3][3], carrySave[0][4], merging_vec[1][3], carrySave[1][4]);


	FA level2_0(merging_vec[1][0], pproduct[3][0], carrySave[1][0], product[3], carrySave[2][0]);
	FA level2_1(merging_vec[1][1], carrySave[2][0], carrySave[1][1], product[4], carrySave[2][1]);
	FA level2_2(merging_vec[1][2], carrySave[2][1], carrySave[1][2], product[5], carrySave[2][2]);
	FA level2_3(merging_vec[1][3], carrySave[2][2], carrySave[1][3], product[6], carrySave[2][3]);
	HA level2_4(carrySave[1][4], carrySave[2][3], product[7], dummy);

endmodule