data/full_repos/permissive/432650104/src/hmac_module_wrapper.v
1: b"%Error: data/full_repos/permissive/432650104/src/hmac_module_wrapper.v:65: Cannot find file containing module: 'axis_512x512b_fifo'\n  axis_512x512b_fifo zm_fifo_in (\n  ^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/432650104/src,data/full_repos/permissive/432650104/axis_512x512b_fifo\n             data/full_repos/permissive/432650104/src,data/full_repos/permissive/432650104/axis_512x512b_fifo.v\n             data/full_repos/permissive/432650104/src,data/full_repos/permissive/432650104/axis_512x512b_fifo.sv\n             axis_512x512b_fifo\n             axis_512x512b_fifo.v\n             axis_512x512b_fifo.sv\n             obj_dir/axis_512x512b_fifo\n             obj_dir/axis_512x512b_fifo.v\n             obj_dir/axis_512x512b_fifo.sv\n%Error: data/full_repos/permissive/432650104/src/hmac_module_wrapper.v:83: Cannot find file containing module: 'hmac_module'\nhmac_module hmac_module (\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/432650104/src/hmac_module_wrapper.v:115: Cannot find file containing module: 'axis_512x512b_fifo'\naxis_512x512b_fifo zm_fifo_out (\n^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/432650104/src/hmac_module_wrapper.v:132: Cannot find file containing module: 'axis_32x8b_fifo'\n  axis_32x8b_fifo zm_fifo_status (\n  ^~~~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module hmac_module_wrapper (
			   input wire 	       clk,
			   input wire 	       reset,
			   input wire [3:0]    zmw_module_id,
			   input wire [2:0]    zmw_module_in_id,
			   input wire 	       zmw_module_in_valid,
			   output wire 	       zmw_in_ready,
			   input wire [511:0]  zmw_in_data,
			   input wire 	       zmw_in_last,
			   input wire 	       zmw_in_user,
			   input wire 	       zmw_in_test_mode,
			   input wire 	       zmw_in_force_modulebypass,
			   input wire 	       zmw_in_force_corebypass,
			   output wire [9:0]   zmw_fifo_in_data_count,
			   output wire 	       zmw_out_valid,
			   input wire [2:0]    zmw_module_out_id,
			   input wire 	       zmw_module_out_ready,
			   output wire [511:0] zmw_out_data,
			   output wire 	       zmw_out_last,
			   output wire 	       zmw_out_user,
			   output wire 	       zmw_out_status_valid,
			   input wire 	       zmw_out_status_ready,
			   output wire [7:0]   zmw_out_status_data,
			   output wire 	       zmw_update_hmac_count,
			   output wire 	       zmw_hmac_match,
			   input wire [2:0]    zmw_hmac_test_mode,
			   input wire [4:0]    zmw_in_watermark,
			   output wire 	       zmw_in_watermark_met,
			   output wire [15:0]  zmw_progress,
			   output wire [31:0]  zmw_out_stats
			  );

  wire 					       zm_in_valid;
  wire 					       zm_in_ready;
  wire [511:0] 				       zm_in_data;
  wire 					       zm_in_last;
  wire 					       zm_in_user;
  wire 					       zm_out_valid;
  wire 					       zm_out_ready;
  wire [511:0]				       zm_out_data;
  wire [63:0] 				       zm_out_keep;
  wire 					       zm_out_last;
  wire 					       zm_out_user;
  wire 					       zm_status_valid;
  wire 					       zm_status_ready;
  wire [7:0] 				       zm_status_data;
  wire [9:0] 				       zm_fifo_out_data_count;
  wire [3:0] 				       unconnected4;
  wire  				       zm_module_in_valid;
  wire  				       zm_module_out_ready;
  wire  				       zm_module_out_status_ready;


  assign zm_module_in_valid = (zmw_module_in_id == zmw_module_id[2:0]) && zmw_module_in_valid ? 1'b1 : 1'b0;
  assign zm_module_out_ready = (zmw_module_out_id == zmw_module_id[2:0]) && zmw_module_out_ready ? 1'b1 : 1'b0;
  assign zm_module_out_status_ready = (zmw_module_out_id == zmw_module_id[2:0]) && zmw_out_status_ready ? 1'b1 : 1'b0;



  axis_512x512b_fifo zm_fifo_in (
    .s_aclk(clk),
    .s_aresetn(~reset),
    .s_axis_tvalid(zm_module_in_valid),
    .s_axis_tready(zmw_in_ready),
    .s_axis_tdata(zmw_in_data),
    .s_axis_tlast(zmw_in_last),
    .s_axis_tuser(zmw_in_user),
    .m_axis_tvalid(zm_in_valid),
    .m_axis_tready(zm_in_ready),
    .m_axis_tdata(zm_in_data),
    .m_axis_tlast(zm_in_last),
    .m_axis_tuser(zm_in_user),
    .axis_data_count(zmw_fifo_in_data_count)
  );

  

hmac_module hmac_module (
  .zm_clk(clk),
  .zm_reset(reset),
  .zm_in_valid(zm_in_valid),
  .zm_in_ready(zm_in_ready),
  .zm_in_data(zm_in_data),
  .zm_in_last(zm_in_last),
  .zm_in_user(zm_in_user),
  .zm_in_test_mode(zmw_in_test_mode),
  .zm_in_force_modulebypass(zmw_in_force_modulebypass),
  .zm_in_force_corebypass(zmw_in_force_corebypass),
  .fifo_in_data_count(zmw_fifo_in_data_count),
  .fifo_out_data_count(zm_fifo_out_data_count),
  .zm_out_valid(zm_out_valid),
  .zm_out_ready(zm_out_ready),
  .zm_out_data(zm_out_data),
  .zm_out_keep(zm_out_keep),
  .zm_out_last(zm_out_last),
  .zm_out_user(zm_out_user),
  .zm_out_status_valid(zm_status_valid),
  .zm_out_status_ready(zm_status_ready),
  .zm_out_status_data(zm_status_data),
  .zm_update_hmac_count(zmw_update_hmac_count),
  .zm_hmac_match(zmw_hmac_match),
  .zm_in_hmac_test_mode(zmw_hmac_test_mode),
  .zm_in_watermark(zmw_in_watermark),
  .zm_in_watermark_met(zmw_in_watermark_met),
  .zm_progress(zmw_progress),
  .zm_out_stats(zmw_out_stats)
  );


axis_512x512b_fifo zm_fifo_out (
    .s_aclk(clk),
    .s_aresetn(~reset),
    .s_axis_tvalid(zm_out_valid),
    .s_axis_tready(zm_out_ready),
    .s_axis_tdata(zm_out_data),
    .s_axis_tlast(zm_out_last),
    .s_axis_tuser(zm_out_user),
    .m_axis_tvalid(zmw_out_valid),
    .m_axis_tready(zm_module_out_ready),
    .m_axis_tdata(zmw_out_data),
    .m_axis_tlast(zmw_out_last),
    .m_axis_tuser(zmw_out_user),
    .axis_data_count(zm_fifo_out_data_count)
  );


  axis_32x8b_fifo zm_fifo_status (
    .s_aclk(clk),
    .s_aresetn(~reset),
    .s_axis_tvalid(zm_status_valid),
    .s_axis_tready(zm_status_ready),
    .s_axis_tdata(zm_status_data),
    .m_axis_tvalid(zmw_out_status_valid),
    .m_axis_tready(zm_module_out_status_ready),
    .m_axis_tdata(zmw_out_status_data)
    );

endmodule
module hmac_module_wrapper (
			   input wire 	       clk,
			   input wire 	       reset,
			   input wire [3:0]    zmw_module_id,
			   input wire [2:0]    zmw_module_in_id,
			   input wire 	       zmw_module_in_valid,
			   output wire 	       zmw_in_ready,
			   input wire [511:0]  zmw_in_data,
			   input wire 	       zmw_in_last,
			   input wire 	       zmw_in_user,
			   input wire 	       zmw_in_test_mode,
			   input wire 	       zmw_in_force_modulebypass,
			   input wire 	       zmw_in_force_corebypass,
			   output wire [9:0]   zmw_fifo_in_data_count,
			   output wire 	       zmw_out_valid,
			   input wire [2:0]    zmw_module_out_id,
			   input wire 	       zmw_module_out_ready,
			   output wire [511:0] zmw_out_data,
			   output wire 	       zmw_out_last,
			   output wire 	       zmw_out_user,
			   output wire 	       zmw_out_status_valid,
			   input wire 	       zmw_out_status_ready,
			   output wire [7:0]   zmw_out_status_data,
			   output wire 	       zmw_update_hmac_count,
			   output wire 	       zmw_hmac_match,
			   input wire [2:0]    zmw_hmac_test_mode,
			   input wire [4:0]    zmw_in_watermark,
			   output wire 	       zmw_in_watermark_met,
			   output wire [15:0]  zmw_progress,
			   output wire [31:0]  zmw_out_stats
			  );


  wire 					       zm_in_valid;
  wire 					       zm_in_ready;
  wire [511:0] 				       zm_in_data;
  wire 					       zm_in_last;
  wire 					       zm_in_user;
  wire 					       zm_out_valid;
  wire 					       zm_out_ready;
  wire [511:0]				       zm_out_data;
  wire [63:0] 				       zm_out_keep;
  wire 					       zm_out_last;
  wire 					       zm_out_user;
  wire 					       zm_status_valid;
  wire 					       zm_status_ready;
  wire [7:0] 				       zm_status_data;
  wire [9:0] 				       zm_fifo_out_data_count;
  wire [3:0] 				       unconnected4;
  wire  				       zm_module_in_valid;
  wire  				       zm_module_out_ready;
  wire  				       zm_module_out_status_ready;


  assign zm_module_in_valid = (zmw_module_in_id == zmw_module_id[2:0]) && zmw_module_in_valid ? 1'b1 : 1'b0;
  assign zm_module_out_ready = (zmw_module_out_id == zmw_module_id[2:0]) && zmw_module_out_ready ? 1'b1 : 1'b0;
  assign zm_module_out_status_ready = (zmw_module_out_id == zmw_module_id[2:0]) && zmw_out_status_ready ? 1'b1 : 1'b0;



  axis_512x512b_fifo zm_fifo_in (
    .s_aclk(clk),
    .s_aresetn(~reset),
    .s_axis_tvalid(zm_module_in_valid),
    .s_axis_tready(zmw_in_ready),
    .s_axis_tdata(zmw_in_data),
    .s_axis_tlast(zmw_in_last),
    .s_axis_tuser(zmw_in_user),
    .m_axis_tvalid(zm_in_valid),
    .m_axis_tready(zm_in_ready),
    .m_axis_tdata(zm_in_data),
    .m_axis_tlast(zm_in_last),
    .m_axis_tuser(zm_in_user),
    .axis_data_count(zmw_fifo_in_data_count)
  );

  

hmac_module hmac_module (
  .zm_clk(clk),
  .zm_reset(reset),
  .zm_in_valid(zm_in_valid),
  .zm_in_ready(zm_in_ready),
  .zm_in_data(zm_in_data),
  .zm_in_last(zm_in_last),
  .zm_in_user(zm_in_user),
  .zm_in_test_mode(zmw_in_test_mode),
  .zm_in_force_modulebypass(zmw_in_force_modulebypass),
  .zm_in_force_corebypass(zmw_in_force_corebypass),
  .fifo_in_data_count(zmw_fifo_in_data_count),
  .fifo_out_data_count(zm_fifo_out_data_count),
  .zm_out_valid(zm_out_valid),
  .zm_out_ready(zm_out_ready),
  .zm_out_data(zm_out_data),
  .zm_out_keep(zm_out_keep),
  .zm_out_last(zm_out_last),
  .zm_out_user(zm_out_user),
  .zm_out_status_valid(zm_status_valid),
  .zm_out_status_ready(zm_status_ready),
  .zm_out_status_data(zm_status_data),
  .zm_update_hmac_count(zmw_update_hmac_count),
  .zm_hmac_match(zmw_hmac_match),
  .zm_in_hmac_test_mode(zmw_hmac_test_mode),
  .zm_in_watermark(zmw_in_watermark),
  .zm_in_watermark_met(zmw_in_watermark_met),
  .zm_progress(zmw_progress),
  .zm_out_stats(zmw_out_stats)
  );


axis_512x512b_fifo zm_fifo_out (
    .s_aclk(clk),
    .s_aresetn(~reset),
    .s_axis_tvalid(zm_out_valid),
    .s_axis_tready(zm_out_ready),
    .s_axis_tdata(zm_out_data),
    .s_axis_tlast(zm_out_last),
    .s_axis_tuser(zm_out_user),
    .m_axis_tvalid(zmw_out_valid),
    .m_axis_tready(zm_module_out_ready),
    .m_axis_tdata(zmw_out_data),
    .m_axis_tlast(zmw_out_last),
    .m_axis_tuser(zmw_out_user),
    .axis_data_count(zm_fifo_out_data_count)
  );


  axis_32x8b_fifo zm_fifo_status (
    .s_aclk(clk),
    .s_aresetn(~reset),
    .s_axis_tvalid(zm_status_valid),
    .s_axis_tready(zm_status_ready),
    .s_axis_tdata(zm_status_data),
    .m_axis_tvalid(zmw_out_status_valid),
    .m_axis_tready(zm_module_out_status_ready),
    .m_axis_tdata(zmw_out_status_data)
    );

endmodule