data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_error.sv
1: b"%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_error.sv:11: Cannot find file containing module: 'fp_add_sub'\n  fp_add_sub sub1(\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_error.sv:23: Cannot find file containing module: 'fp_add_sub'\n  fp_add_sub sub3(\n  ^~~~~~~~~~\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_error.sv:33: Cannot find file containing module: 'fp_multiplier'\n  fp_multiplier mult1(\n  ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/calculate_error.sv:41: Cannot find file containing module: 'fp_multiplier'\n  fp_multiplier mult2(\n  ^~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module calculate_error(
  input				iCLK,
  input	[31:0]	iTEACH,
  input	[31:0]	iOUTPUT,
  
  output	[31:0]	oERROR
);


  logic	[31:0]	temp1;
  fp_add_sub sub1(
    .add_sub(1'b0),
    .clock(iCLK),
    .dataa(iTEACH),
    .datab(iOUTPUT),
    .result(temp1)
  );
  

  logic	[31:0]	fp_1;
  assign fp_1	= 32'h3f800000;
  logic	[31:0]	temp2;
  fp_add_sub sub3(
    .add_sub(1'b0),
    .clock(iCLK),
    .dataa(fp_1),
    .datab(iOUTPUT),
    .result(temp2)
  );
  

  logic	[31:0]	sigm_dash;
  fp_multiplier mult1(
    .clock(iCLK),
    .dataa(iOUTPUT),
    .datab(temp2),
    .result(sigm_dash)
  );


  fp_multiplier mult2(
    .clock(iCLK),
    .dataa(sigm_dash),
    .datab(temp1),
    .result(oERROR)
  );

endmodule
module calculate_error(
  input				iCLK,
  input	[31:0]	iTEACH,
  input	[31:0]	iOUTPUT,
  
  output	[31:0]	oERROR
);



  logic	[31:0]	temp1;
  fp_add_sub sub1(
    .add_sub(1'b0),
    .clock(iCLK),
    .dataa(iTEACH),
    .datab(iOUTPUT),
    .result(temp1)
  );
  

  logic	[31:0]	fp_1;
  assign fp_1	= 32'h3f800000;
  logic	[31:0]	temp2;
  fp_add_sub sub3(
    .add_sub(1'b0),
    .clock(iCLK),
    .dataa(fp_1),
    .datab(iOUTPUT),
    .result(temp2)
  );
  

  logic	[31:0]	sigm_dash;
  fp_multiplier mult1(
    .clock(iCLK),
    .dataa(iOUTPUT),
    .datab(temp2),
    .result(sigm_dash)
  );


  fp_multiplier mult2(
    .clock(iCLK),
    .dataa(sigm_dash),
    .datab(temp1),
    .result(oERROR)
  );

endmodule