data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v
1: b"%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v:154: Cannot find file containing module: 'data_sync_block'\n   data_sync_block #(\n   ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl,data/full_repos/permissive/498471995/data_sync_block\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl,data/full_repos/permissive/498471995/data_sync_block.v\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl,data/full_repos/permissive/498471995/data_sync_block.sv\n             data_sync_block\n             data_sync_block.v\n             data_sync_block.sv\n             obj_dir/data_sync_block\n             obj_dir/data_sync_block.v\n             obj_dir/data_sync_block.sv\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v:163: Cannot find file containing module: 'data_sync_block'\n   data_sync_block #(\n   ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v:178: Cannot find file containing module: 'rx_queue'\n   rx_queue #(\n   ^~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v:212: Cannot find file containing module: 'nf_axis_converter'\n   nf_axis_converter\n   ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v:254: Cannot find file containing module: 'nf_axis_converter'\n    nf_axis_converter #(\n    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/nf_10ge_attachment_v1_0_0/hdl/nf_10g_attachment.v:287: Cannot find file containing module: 'tx_queue'\n    tx_queue #(\n    ^~~~~~~~\n%Error: Exiting due to 6 error(s)\n"
module nf_10g_attachment #(

    parameter C_M_AXIS_DATA_WIDTH       = 256,
    parameter C_S_AXIS_DATA_WIDTH       = 256,
    parameter C_M_AXIS_TUSER_WIDTH      = 128,
    parameter C_S_AXIS_TUSER_WIDTH      = 128,    
    parameter C_DEFAULT_VALUE_ENABLE    = 1,
    parameter C_DEFAULT_SRC_PORT        = 0,
    parameter C_DEFAULT_DST_PORT        = 0        
) (

  input                                 clk156, 
  input                                 areset_clk156, 
  

  input [63:0]        			        m_axis_mac_tdata,
  input [7:0]    			            m_axis_mac_tkeep,
  input	                                m_axis_mac_tvalid, 
  input		                            m_axis_mac_tuser,
  input                                 m_axis_mac_tlast,
  


  output [63:0]       			        s_axis_mac_tdata,
  output [7:0]   			            s_axis_mac_tkeep,
  output                                s_axis_mac_tvalid,
  output                                s_axis_mac_tuser,
  output                                s_axis_mac_tlast,	
  input                                 s_axis_mac_tready,
   
   

  input [7:0]                           interface_number,
  

  input                                 axis_aclk,
  input                                 axis_aresetn,
     

  input [C_S_AXIS_DATA_WIDTH-1:0]       s_axis_pipe_tdata, 
  input [(C_S_AXIS_DATA_WIDTH/8)-1:0]   s_axis_pipe_tkeep, 
  input                                 s_axis_pipe_tlast, 
  input [C_S_AXIS_TUSER_WIDTH-1:0]      s_axis_pipe_tuser, 
  input                                 s_axis_pipe_tvalid,
  output                                s_axis_pipe_tready,
   

  output [C_M_AXIS_DATA_WIDTH-1:0]      m_axis_pipe_tdata, 
  output [(C_M_AXIS_DATA_WIDTH/8)-1:0]  m_axis_pipe_tkeep, 
  output                                m_axis_pipe_tlast, 
  output [C_M_AXIS_TUSER_WIDTH-1:0]     m_axis_pipe_tuser, 
  output                                m_axis_pipe_tvalid,
  input                                 m_axis_pipe_tready
  
   
 );





 localparam C_M_AXIS_DATA_WIDTH_INTERNAL    = 64;
 localparam C_S_AXIS_DATA_WIDTH_INTERNAL    = 64;    
 
 localparam NUM_RW_REGS                     = 1;
 localparam NUM_RO_REGS                     = 17;
 


 localparam C_S_AXI_DATA_WIDTH              = 32;          
 localparam C_S_AXI_ADDR_WIDTH              = 32;          
 localparam C_USE_WSTRB                     = 0;
 





(* mark_debug = "true" *) wire [C_M_AXIS_DATA_WIDTH_INTERNAL-1:0]        m_axis_fifo_tdata;
(* mark_debug = "true" *) wire [(C_M_AXIS_DATA_WIDTH_INTERNAL/8)-1:0]    m_axis_fifo_tkeep;
(* mark_debug = "true" *) wire                                           m_axis_fifo_tvalid;
(* mark_debug = "true" *) wire                                           m_axis_fifo_tready;
(* mark_debug = "true" *) wire                                           m_axis_fifo_tlast;  
  

(* mark_debug = "true" *) wire [C_S_AXIS_DATA_WIDTH_INTERNAL-1:0]        s_axis_fifo_tdata;
(* mark_debug = "true" *) wire [(C_S_AXIS_DATA_WIDTH_INTERNAL/8)-1:0]    s_axis_fifo_tkeep;
(* mark_debug = "true" *) wire [C_S_AXIS_TUSER_WIDTH-1:0]                s_axis_fifo_tuser;
(* mark_debug = "true" *) wire                                           s_axis_fifo_tvalid;
(* mark_debug = "true" *) wire                                           s_axis_fifo_tready;
(* mark_debug = "true" *) wire                                           s_axis_fifo_tlast;   
  




 

  wire                                          tx_dequeued_pkt;
  wire                                          tx_pkts_enqueued_signal;
  wire [15:0]                                   tx_bytes_enqueued;
  wire                                          be;
   








   wire                                            areset_rx_fifo_extended;
   wire                                            areset_tx_fifo_extended; 	


   data_sync_block #(
     .C_NUM_SYNC_REGS                     (6)
   ) rx_fifo_rst (
     .clk                                 (axis_aclk),
     .data_in                             (~axis_aresetn),
     .data_out                            (areset_rx_fifo_extended)
   );
   

   data_sync_block #(
     .C_NUM_SYNC_REGS                     (6)
   ) tx_fifo_rst (
     .clk                                 (axis_aclk),
     .data_in                             (~axis_aresetn),
     .data_out                            (areset_tx_fifo_extended)
   );     

 






   rx_queue #(
     .AXI_DATA_WIDTH                      (C_M_AXIS_DATA_WIDTH_INTERNAL)
    ) rx_fifo_intf (

    .clk156                               (clk156),
    .areset_clk156                        (areset_clk156),
       
    .i_tdata                              (m_axis_mac_tdata),
    .i_tkeep                              (m_axis_mac_tkeep),
    .i_tuser                              (m_axis_mac_tuser),
    .i_tvalid                             (m_axis_mac_tvalid),
    .i_tlast                              (m_axis_mac_tlast),
       

    .clk                                  (axis_aclk),
    .reset                                (areset_rx_fifo_extended), 
            
    .o_tdata                              (m_axis_fifo_tdata),
    .o_tkeep                              (m_axis_fifo_tkeep),
    .o_tvalid                             (m_axis_fifo_tvalid),
    .o_tlast                              (m_axis_fifo_tlast),
    .o_tready                             (m_axis_fifo_tready),
    

    .fifo_wr_en                           (fifo_wr_en),
    .rx_pkt_drop                          (rx_pkt_drop),
    .rx_bad_frame                         (rx_bad_frame), 
    .rx_good_frame                        (rx_good_frame)  
   ); 
   




   nf_axis_converter
   #(
    .C_M_AXIS_DATA_WIDTH                  (C_M_AXIS_DATA_WIDTH),
    .C_S_AXIS_DATA_WIDTH                  (C_M_AXIS_DATA_WIDTH_INTERNAL),  
    .C_M_AXIS_TUSER_WIDTH                 (C_M_AXIS_TUSER_WIDTH),
    .C_S_AXIS_TUSER_WIDTH                 (C_S_AXIS_TUSER_WIDTH), 
            
    .C_DEFAULT_VALUE_ENABLE               (C_DEFAULT_VALUE_ENABLE),
    .C_DEFAULT_SRC_PORT                   (C_DEFAULT_SRC_PORT),
    .C_DEFAULT_DST_PORT                   (C_DEFAULT_DST_PORT)  
   ) converter_rx (     
    .axi_aclk                             (axis_aclk),
    .axi_resetn                           (~areset_rx_fifo_extended),
              
    .interface_number                     (interface_number),
      

    .s_axis_tdata                         (m_axis_fifo_tdata),
    .s_axis_tkeep                         (m_axis_fifo_tkeep),
    .s_axis_tvalid                        (m_axis_fifo_tvalid),
    .s_axis_tready                        (m_axis_fifo_tready), 
    .s_axis_tlast                         (m_axis_fifo_tlast),
    .s_axis_tuser                         (128'h0),            
      

    .m_axis_tdata                         (m_axis_pipe_tdata),
    .m_axis_tkeep                         (m_axis_pipe_tkeep),
    .m_axis_tvalid                        (m_axis_pipe_tvalid),
    .m_axis_tready                        (m_axis_pipe_tready), 
    .m_axis_tlast                         (m_axis_pipe_tlast),
    .m_axis_tuser                         (m_axis_pipe_tuser)
   );




    





    nf_axis_converter #(
     .C_M_AXIS_DATA_WIDTH                (C_S_AXIS_DATA_WIDTH_INTERNAL),
     .C_S_AXIS_DATA_WIDTH                (C_S_AXIS_DATA_WIDTH),
     .C_DEFAULT_VALUE_ENABLE             (1'b0) 
    ) converter_tx (    
     .axi_aclk                           (axis_aclk),
     .axi_resetn                         (~areset_tx_fifo_extended),
                
     .interface_number                   (interface_number),
            

     .s_axis_tdata                       (s_axis_pipe_tdata),
     .s_axis_tkeep                       (s_axis_pipe_tkeep),
     .s_axis_tvalid                      (s_axis_pipe_tvalid),
     .s_axis_tready                      (s_axis_pipe_tready),
     .s_axis_tlast                       (s_axis_pipe_tlast),
     .s_axis_tuser                       (s_axis_pipe_tuser),
            

     .m_axis_tdata                       (s_axis_fifo_tdata),
     .m_axis_tkeep                       (s_axis_fifo_tkeep),
     .m_axis_tvalid                      (s_axis_fifo_tvalid),
     .m_axis_tready                      (s_axis_fifo_tready),
     .m_axis_tlast                       (s_axis_fifo_tlast),
     .m_axis_tuser                       (s_axis_fifo_tuser)        
    );
        






    tx_queue #(
     .AXI_DATA_WIDTH                     (C_S_AXIS_DATA_WIDTH_INTERNAL), 
     .C_S_AXIS_TUSER_WIDTH               (C_S_AXIS_TUSER_WIDTH)
    ) tx_fifo_intf (    

     .clk                                (axis_aclk),
     .reset                              (areset_tx_fifo_extended),
          
     .i_tuser                            (s_axis_fifo_tuser),
     .i_tdata                            (s_axis_fifo_tdata),
     .i_tkeep                            (s_axis_fifo_tkeep),
     .i_tvalid                           (s_axis_fifo_tvalid),
     .i_tlast                            (s_axis_fifo_tlast),
     .i_tready                           (s_axis_fifo_tready),
      

     .clk156                             (clk156),
    .areset_clk156                        (areset_clk156),
     
     .o_tdata                            (s_axis_mac_tdata),
     .o_tkeep                            (s_axis_mac_tkeep),
     .o_tvalid                           (s_axis_mac_tvalid),
     .o_tlast                            (s_axis_mac_tlast),
     .o_tuser                            (s_axis_mac_tuser),
     .o_tready                           (s_axis_mac_tready),
        

     .tx_dequeued_pkt                    (tx_dequeued_pkt),
     .be                                 (be),  
     .tx_pkts_enqueued_signal            (tx_pkts_enqueued_signal),
     .tx_bytes_enqueued                  (tx_bytes_enqueued)      
     );
  




         
  



 




endmodule
module nf_10g_attachment #(

    parameter C_M_AXIS_DATA_WIDTH       = 256,
    parameter C_S_AXIS_DATA_WIDTH       = 256,
    parameter C_M_AXIS_TUSER_WIDTH      = 128,
    parameter C_S_AXIS_TUSER_WIDTH      = 128,    
    parameter C_DEFAULT_VALUE_ENABLE    = 1,
    parameter C_DEFAULT_SRC_PORT        = 0,
    parameter C_DEFAULT_DST_PORT        = 0        
) (

  input                                 clk156, 
  input                                 areset_clk156, 
  

  input [63:0]        			        m_axis_mac_tdata,
  input [7:0]    			            m_axis_mac_tkeep,
  input	                                m_axis_mac_tvalid, 
  input		                            m_axis_mac_tuser,
  input                                 m_axis_mac_tlast,
  


  output [63:0]       			        s_axis_mac_tdata,
  output [7:0]   			            s_axis_mac_tkeep,
  output                                s_axis_mac_tvalid,
  output                                s_axis_mac_tuser,
  output                                s_axis_mac_tlast,	
  input                                 s_axis_mac_tready,
   
   

  input [7:0]                           interface_number,
  

  input                                 axis_aclk,
  input                                 axis_aresetn,
     

  input [C_S_AXIS_DATA_WIDTH-1:0]       s_axis_pipe_tdata, 
  input [(C_S_AXIS_DATA_WIDTH/8)-1:0]   s_axis_pipe_tkeep, 
  input                                 s_axis_pipe_tlast, 
  input [C_S_AXIS_TUSER_WIDTH-1:0]      s_axis_pipe_tuser, 
  input                                 s_axis_pipe_tvalid,
  output                                s_axis_pipe_tready,
   

  output [C_M_AXIS_DATA_WIDTH-1:0]      m_axis_pipe_tdata, 
  output [(C_M_AXIS_DATA_WIDTH/8)-1:0]  m_axis_pipe_tkeep, 
  output                                m_axis_pipe_tlast, 
  output [C_M_AXIS_TUSER_WIDTH-1:0]     m_axis_pipe_tuser, 
  output                                m_axis_pipe_tvalid,
  input                                 m_axis_pipe_tready
  
   
 );






 localparam C_M_AXIS_DATA_WIDTH_INTERNAL    = 64;
 localparam C_S_AXIS_DATA_WIDTH_INTERNAL    = 64;    
 
 localparam NUM_RW_REGS                     = 1;
 localparam NUM_RO_REGS                     = 17;
 


 localparam C_S_AXI_DATA_WIDTH              = 32;          
 localparam C_S_AXI_ADDR_WIDTH              = 32;          
 localparam C_USE_WSTRB                     = 0;
 





(* mark_debug = "true" *) wire [C_M_AXIS_DATA_WIDTH_INTERNAL-1:0]        m_axis_fifo_tdata;
(* mark_debug = "true" *) wire [(C_M_AXIS_DATA_WIDTH_INTERNAL/8)-1:0]    m_axis_fifo_tkeep;
(* mark_debug = "true" *) wire                                           m_axis_fifo_tvalid;
(* mark_debug = "true" *) wire                                           m_axis_fifo_tready;
(* mark_debug = "true" *) wire                                           m_axis_fifo_tlast;  
  

(* mark_debug = "true" *) wire [C_S_AXIS_DATA_WIDTH_INTERNAL-1:0]        s_axis_fifo_tdata;
(* mark_debug = "true" *) wire [(C_S_AXIS_DATA_WIDTH_INTERNAL/8)-1:0]    s_axis_fifo_tkeep;
(* mark_debug = "true" *) wire [C_S_AXIS_TUSER_WIDTH-1:0]                s_axis_fifo_tuser;
(* mark_debug = "true" *) wire                                           s_axis_fifo_tvalid;
(* mark_debug = "true" *) wire                                           s_axis_fifo_tready;
(* mark_debug = "true" *) wire                                           s_axis_fifo_tlast;   
  




 

  wire                                          tx_dequeued_pkt;
  wire                                          tx_pkts_enqueued_signal;
  wire [15:0]                                   tx_bytes_enqueued;
  wire                                          be;
   








   wire                                            areset_rx_fifo_extended;
   wire                                            areset_tx_fifo_extended; 	


   data_sync_block #(
     .C_NUM_SYNC_REGS                     (6)
   ) rx_fifo_rst (
     .clk                                 (axis_aclk),
     .data_in                             (~axis_aresetn),
     .data_out                            (areset_rx_fifo_extended)
   );
   

   data_sync_block #(
     .C_NUM_SYNC_REGS                     (6)
   ) tx_fifo_rst (
     .clk                                 (axis_aclk),
     .data_in                             (~axis_aresetn),
     .data_out                            (areset_tx_fifo_extended)
   );     

 






   rx_queue #(
     .AXI_DATA_WIDTH                      (C_M_AXIS_DATA_WIDTH_INTERNAL)
    ) rx_fifo_intf (

    .clk156                               (clk156),
    .areset_clk156                        (areset_clk156),
       
    .i_tdata                              (m_axis_mac_tdata),
    .i_tkeep                              (m_axis_mac_tkeep),
    .i_tuser                              (m_axis_mac_tuser),
    .i_tvalid                             (m_axis_mac_tvalid),
    .i_tlast                              (m_axis_mac_tlast),
       

    .clk                                  (axis_aclk),
    .reset                                (areset_rx_fifo_extended), 
            
    .o_tdata                              (m_axis_fifo_tdata),
    .o_tkeep                              (m_axis_fifo_tkeep),
    .o_tvalid                             (m_axis_fifo_tvalid),
    .o_tlast                              (m_axis_fifo_tlast),
    .o_tready                             (m_axis_fifo_tready),
    

    .fifo_wr_en                           (fifo_wr_en),
    .rx_pkt_drop                          (rx_pkt_drop),
    .rx_bad_frame                         (rx_bad_frame), 
    .rx_good_frame                        (rx_good_frame)  
   ); 
   




   nf_axis_converter
   #(
    .C_M_AXIS_DATA_WIDTH                  (C_M_AXIS_DATA_WIDTH),
    .C_S_AXIS_DATA_WIDTH                  (C_M_AXIS_DATA_WIDTH_INTERNAL),  
    .C_M_AXIS_TUSER_WIDTH                 (C_M_AXIS_TUSER_WIDTH),
    .C_S_AXIS_TUSER_WIDTH                 (C_S_AXIS_TUSER_WIDTH), 
            
    .C_DEFAULT_VALUE_ENABLE               (C_DEFAULT_VALUE_ENABLE),
    .C_DEFAULT_SRC_PORT                   (C_DEFAULT_SRC_PORT),
    .C_DEFAULT_DST_PORT                   (C_DEFAULT_DST_PORT)  
   ) converter_rx (     
    .axi_aclk                             (axis_aclk),
    .axi_resetn                           (~areset_rx_fifo_extended),
              
    .interface_number                     (interface_number),
      

    .s_axis_tdata                         (m_axis_fifo_tdata),
    .s_axis_tkeep                         (m_axis_fifo_tkeep),
    .s_axis_tvalid                        (m_axis_fifo_tvalid),
    .s_axis_tready                        (m_axis_fifo_tready), 
    .s_axis_tlast                         (m_axis_fifo_tlast),
    .s_axis_tuser                         (128'h0),            
      

    .m_axis_tdata                         (m_axis_pipe_tdata),
    .m_axis_tkeep                         (m_axis_pipe_tkeep),
    .m_axis_tvalid                        (m_axis_pipe_tvalid),
    .m_axis_tready                        (m_axis_pipe_tready), 
    .m_axis_tlast                         (m_axis_pipe_tlast),
    .m_axis_tuser                         (m_axis_pipe_tuser)
   );




    





    nf_axis_converter #(
     .C_M_AXIS_DATA_WIDTH                (C_S_AXIS_DATA_WIDTH_INTERNAL),
     .C_S_AXIS_DATA_WIDTH                (C_S_AXIS_DATA_WIDTH),
     .C_DEFAULT_VALUE_ENABLE             (1'b0) 
    ) converter_tx (    
     .axi_aclk                           (axis_aclk),
     .axi_resetn                         (~areset_tx_fifo_extended),
                
     .interface_number                   (interface_number),
            

     .s_axis_tdata                       (s_axis_pipe_tdata),
     .s_axis_tkeep                       (s_axis_pipe_tkeep),
     .s_axis_tvalid                      (s_axis_pipe_tvalid),
     .s_axis_tready                      (s_axis_pipe_tready),
     .s_axis_tlast                       (s_axis_pipe_tlast),
     .s_axis_tuser                       (s_axis_pipe_tuser),
            

     .m_axis_tdata                       (s_axis_fifo_tdata),
     .m_axis_tkeep                       (s_axis_fifo_tkeep),
     .m_axis_tvalid                      (s_axis_fifo_tvalid),
     .m_axis_tready                      (s_axis_fifo_tready),
     .m_axis_tlast                       (s_axis_fifo_tlast),
     .m_axis_tuser                       (s_axis_fifo_tuser)        
    );
        






    tx_queue #(
     .AXI_DATA_WIDTH                     (C_S_AXIS_DATA_WIDTH_INTERNAL), 
     .C_S_AXIS_TUSER_WIDTH               (C_S_AXIS_TUSER_WIDTH)
    ) tx_fifo_intf (    

     .clk                                (axis_aclk),
     .reset                              (areset_tx_fifo_extended),
          
     .i_tuser                            (s_axis_fifo_tuser),
     .i_tdata                            (s_axis_fifo_tdata),
     .i_tkeep                            (s_axis_fifo_tkeep),
     .i_tvalid                           (s_axis_fifo_tvalid),
     .i_tlast                            (s_axis_fifo_tlast),
     .i_tready                           (s_axis_fifo_tready),
      

     .clk156                             (clk156),
    .areset_clk156                        (areset_clk156),
     
     .o_tdata                            (s_axis_mac_tdata),
     .o_tkeep                            (s_axis_mac_tkeep),
     .o_tvalid                           (s_axis_mac_tvalid),
     .o_tlast                            (s_axis_mac_tlast),
     .o_tuser                            (s_axis_mac_tuser),
     .o_tready                           (s_axis_mac_tready),
        

     .tx_dequeued_pkt                    (tx_dequeued_pkt),
     .be                                 (be),  
     .tx_pkts_enqueued_signal            (tx_pkts_enqueued_signal),
     .tx_bytes_enqueued                  (tx_bytes_enqueued)      
     );
  




         
  



 




endmodule