data/full_repos/permissive/51494710/Hardware/Perceptron_xor/mid_layer.sv
1: b"%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/mid_layer.sv:17: Cannot find file containing module: 'fp_multiplier'\n  fp_multiplier mult0(\n  ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/51494710/Hardware/Perceptron_xor,data/full_repos/permissive/51494710/fp_multiplier\n             data/full_repos/permissive/51494710/Hardware/Perceptron_xor,data/full_repos/permissive/51494710/fp_multiplier.v\n             data/full_repos/permissive/51494710/Hardware/Perceptron_xor,data/full_repos/permissive/51494710/fp_multiplier.sv\n             fp_multiplier\n             fp_multiplier.v\n             fp_multiplier.sv\n             obj_dir/fp_multiplier\n             obj_dir/fp_multiplier.v\n             obj_dir/fp_multiplier.sv\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/mid_layer.sv:24: Cannot find file containing module: 'fp_multiplier'\n  fp_multiplier mult1(\n  ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/mid_layer.sv:31: Cannot find file containing module: 'fp_multiplier'\n  fp_multiplier mult2(\n  ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/mid_layer.sv:38: Cannot find file containing module: 'fp_multiplier'\n  fp_multiplier mult12(\n  ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/51494710/Hardware/Perceptron_xor/mid_layer.sv:46: Cannot find file containing module: 'calculate_mid'\n  calculate_mid inst1(\n  ^~~~~~~~~~~~~\n%Error: Exiting due to 5 error(s)\n"
module mid_layer(
  input				iCLK,
  input	[31:0]	iX0,
  input	[31:0]	iX1,
  input	[31:0]	iX2,
  input	[31:0]	iX12,
  input	[31:0]	iWEIGHT_V0,
  input	[31:0]	iWEIGHT_V1,
  input	[31:0]	iWEIGHT_V2,
  input	[31:0]	iWEIGHT_V12,
  
  output	[31:0]	oSUM
);


  logic	[31:0]	mid_s0;
  fp_multiplier mult0(
    .clock(iCLK),
    .dataa(iX0),
    .datab(iWEIGHT_V0),
    .result(mid_s0)
  );
  logic	[31:0]	mid_s1;
  fp_multiplier mult1(
    .clock(iCLK),
    .dataa(iX1),
    .datab(iWEIGHT_V1),
    .result(mid_s1)
  );
  logic	[31:0]	mid_s2;
  fp_multiplier mult2(
    .clock(iCLK),
    .dataa(iX2),
    .datab(iWEIGHT_V2),
    .result(mid_s2)
  );
  logic	[31:0]	mid_s12;
  fp_multiplier mult12(
    .clock(iCLK),
    .dataa(iX12),
    .datab(iWEIGHT_V12),
    .result(mid_s12)
  );


  calculate_mid inst1(
    .iCLK(iCLK),
    .iSUM0(mid_s0),
    .iSUM1(mid_s1),
    .iSUM2(mid_s2),
    .iSUM12(mid_s12),
  
    .oSUM(oSUM)
  ); 


endmodule
module mid_layer(
  input				iCLK,
  input	[31:0]	iX0,
  input	[31:0]	iX1,
  input	[31:0]	iX2,
  input	[31:0]	iX12,
  input	[31:0]	iWEIGHT_V0,
  input	[31:0]	iWEIGHT_V1,
  input	[31:0]	iWEIGHT_V2,
  input	[31:0]	iWEIGHT_V12,
  
  output	[31:0]	oSUM
);



  logic	[31:0]	mid_s0;
  fp_multiplier mult0(
    .clock(iCLK),
    .dataa(iX0),
    .datab(iWEIGHT_V0),
    .result(mid_s0)
  );
  logic	[31:0]	mid_s1;
  fp_multiplier mult1(
    .clock(iCLK),
    .dataa(iX1),
    .datab(iWEIGHT_V1),
    .result(mid_s1)
  );
  logic	[31:0]	mid_s2;
  fp_multiplier mult2(
    .clock(iCLK),
    .dataa(iX2),
    .datab(iWEIGHT_V2),
    .result(mid_s2)
  );
  logic	[31:0]	mid_s12;
  fp_multiplier mult12(
    .clock(iCLK),
    .dataa(iX12),
    .datab(iWEIGHT_V12),
    .result(mid_s12)
  );


  calculate_mid inst1(
    .iCLK(iCLK),
    .iSUM0(mid_s0),
    .iSUM1(mid_s1),
    .iSUM2(mid_s2),
    .iSUM12(mid_s12),
  
    .oSUM(oSUM)
  ); 


endmodule