data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_mid.sv
1: b"%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_mid.sv:13: Cannot find file containing module: 'fp_add_sub'\n  fp_add_sub inst1(\n  ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/51494710/Hardware/Perceptron_xor,data/full_repos/permissive/51494710/fp_add_sub\n             data/full_repos/permissive/51494710/Hardware/Perceptron_xor,data/full_repos/permissive/51494710/fp_add_sub.v\n             data/full_repos/permissive/51494710/Hardware/Perceptron_xor,data/full_repos/permissive/51494710/fp_add_sub.sv\n             fp_add_sub\n             fp_add_sub.v\n             fp_add_sub.sv\n             obj_dir/fp_add_sub\n             obj_dir/fp_add_sub.v\n             obj_dir/fp_add_sub.sv\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_mid.sv:21: Cannot find file containing module: 'fp_add_sub'\n  fp_add_sub inst2(\n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_mid.sv:29: Cannot find file containing module: 'fp_add_sub'\n  fp_add_sub inst3(\n  ^~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module calculate_mid(
  input				iCLK,
  input	[31:0]	iSUM0,
  input	[31:0]	iSUM1,
  input	[31:0]	iSUM2,
  input	[31:0]	iSUM12,
  
  output	[31:0]	oSUM
);

 
  logic	[31:0]	temp1;
  fp_add_sub inst1(
    .add_sub(1'b1),
    .clock(iCLK),
    .dataa(iSUM0),
    .datab(iSUM1),
    .result(temp1)
  );
  logic	[31:0]	temp2;
  fp_add_sub inst2(
    .add_sub(1'b1),
    .clock(iCLK),
    .dataa(iSUM2),
    .datab(iSUM12),
    .result(temp2)
  );
  
  fp_add_sub inst3(
    .add_sub(1'b1),
    .clock(iCLK),
    .dataa(temp1),
    .datab(temp2),
    .result(oSUM)
  );

endmodule
module calculate_mid(
  input				iCLK,
  input	[31:0]	iSUM0,
  input	[31:0]	iSUM1,
  input	[31:0]	iSUM2,
  input	[31:0]	iSUM12,
  
  output	[31:0]	oSUM
);


 
  logic	[31:0]	temp1;
  fp_add_sub inst1(
    .add_sub(1'b1),
    .clock(iCLK),
    .dataa(iSUM0),
    .datab(iSUM1),
    .result(temp1)
  );
  logic	[31:0]	temp2;
  fp_add_sub inst2(
    .add_sub(1'b1),
    .clock(iCLK),
    .dataa(iSUM2),
    .datab(iSUM12),
    .result(temp2)
  );
  
  fp_add_sub inst3(
    .add_sub(1'b1),
    .clock(iCLK),
    .dataa(temp1),
    .datab(temp2),
    .result(oSUM)
  );

endmodule