data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v
1: b'%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:59: Cannot find include file: sss_output_queues_cpu_regs_defines.v\n`include "sss_output_queues_cpu_regs_defines.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl,data/full_repos/permissive/498471995/sss_output_queues_cpu_regs_defines.v\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl,data/full_repos/permissive/498471995/sss_output_queues_cpu_regs_defines.v.v\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl,data/full_repos/permissive/498471995/sss_output_queues_cpu_regs_defines.v.sv\n             sss_output_queues_cpu_regs_defines.v\n             sss_output_queues_cpu_regs_defines.v.v\n             sss_output_queues_cpu_regs_defines.v.sv\n             obj_dir/sss_output_queues_cpu_regs_defines.v\n             obj_dir/sss_output_queues_cpu_regs_defines.v.v\n             obj_dir/sss_output_queues_cpu_regs_defines.v.sv\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:263: Define or directive not defined: \'`REG_ID_BITS\'\n   reg      [`REG_ID_BITS]    id_reg;\n             ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:263: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   reg      [`REG_ID_BITS]    id_reg;\n                         ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:264: Define or directive not defined: \'`REG_VERSION_BITS\'\n   reg      [`REG_VERSION_BITS]    version_reg;\n             ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:264: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   reg      [`REG_VERSION_BITS]    version_reg;\n                              ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:265: Define or directive not defined: \'`REG_RESET_BITS\'\n   wire     [`REG_RESET_BITS]    reset_reg;\n             ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:265: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   wire     [`REG_RESET_BITS]    reset_reg;\n                            ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:266: Define or directive not defined: \'`REG_FLIP_BITS\'\n   reg      [`REG_FLIP_BITS]    ip2cpu_flip_reg;\n             ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:266: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   reg      [`REG_FLIP_BITS]    ip2cpu_flip_reg;\n                           ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:267: Define or directive not defined: \'`REG_FLIP_BITS\'\n   wire     [`REG_FLIP_BITS]    cpu2ip_flip_reg;\n             ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:267: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   wire     [`REG_FLIP_BITS]    cpu2ip_flip_reg;\n                           ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:268: Define or directive not defined: \'`REG_PKTIN_BITS\'\n   reg      [`REG_PKTIN_BITS]    pktin_reg;\n             ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:268: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   reg      [`REG_PKTIN_BITS]    pktin_reg;\n                            ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:270: Define or directive not defined: \'`REG_PKTOUT_BITS\'\n   reg      [`REG_PKTOUT_BITS]    pktout_reg;\n             ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:270: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   reg      [`REG_PKTOUT_BITS]    pktout_reg;\n                             ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:272: Define or directive not defined: \'`REG_DEBUG_BITS\'\n   reg      [`REG_DEBUG_BITS]    ip2cpu_debug_reg;\n             ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:272: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   reg      [`REG_DEBUG_BITS]    ip2cpu_debug_reg;\n                            ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:273: Define or directive not defined: \'`REG_DEBUG_BITS\'\n   wire     [`REG_DEBUG_BITS]    cpu2ip_debug_reg;\n             ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:273: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n   wire     [`REG_DEBUG_BITS]    cpu2ip_debug_reg;\n                            ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:275: Define or directive not defined: \'`REG_PKTSTOREDPORT0_BITS\'\n    reg      [`REG_PKTSTOREDPORT0_BITS]    pktstoredport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:275: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTSTOREDPORT0_BITS]    pktstoredport0_reg;\n                                      ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:277: Define or directive not defined: \'`REG_BYTESSTOREDPORT0_BITS\'\n    reg      [`REG_BYTESSTOREDPORT0_BITS]    bytesstoredport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:277: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_BYTESSTOREDPORT0_BITS]    bytesstoredport0_reg;\n                                        ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:279: Define or directive not defined: \'`REG_PKTREMOVEDPORT0_BITS\'\n    reg      [`REG_PKTREMOVEDPORT0_BITS]    pktremovedport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:279: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTREMOVEDPORT0_BITS]    pktremovedport0_reg;\n                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:281: Define or directive not defined: \'`REG_BYTESREMOVEDPORT0_BITS\'\n    reg      [`REG_BYTESREMOVEDPORT0_BITS]    bytesremovedport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:281: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_BYTESREMOVEDPORT0_BITS]    bytesremovedport0_reg;\n                                         ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:283: Define or directive not defined: \'`REG_PKTDROPPEDPORT0_BITS\'\n    reg      [`REG_PKTDROPPEDPORT0_BITS]    pktdroppedport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:283: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTDROPPEDPORT0_BITS]    pktdroppedport0_reg;\n                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:285: Define or directive not defined: \'`REG_BYTESDROPPEDPORT0_BITS\'\n    reg      [`REG_BYTESDROPPEDPORT0_BITS]    bytesdroppedport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:285: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_BYTESDROPPEDPORT0_BITS]    bytesdroppedport0_reg;\n                                         ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:287: Define or directive not defined: \'`REG_PKTINQUEUEPORT0_BITS\'\n    reg      [`REG_PKTINQUEUEPORT0_BITS]    pktinqueueport0_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:287: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTINQUEUEPORT0_BITS]    pktinqueueport0_reg;\n                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:289: Define or directive not defined: \'`REG_PKTSTOREDPORT1_BITS\'\n    reg      [`REG_PKTSTOREDPORT1_BITS]    pktstoredport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:289: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTSTOREDPORT1_BITS]    pktstoredport1_reg;\n                                      ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:291: Define or directive not defined: \'`REG_BYTESSTOREDPORT1_BITS\'\n    reg      [`REG_BYTESSTOREDPORT1_BITS]    bytesstoredport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:291: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_BYTESSTOREDPORT1_BITS]    bytesstoredport1_reg;\n                                        ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:293: Define or directive not defined: \'`REG_PKTREMOVEDPORT1_BITS\'\n    reg      [`REG_PKTREMOVEDPORT1_BITS]    pktremovedport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:293: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTREMOVEDPORT1_BITS]    pktremovedport1_reg;\n                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:295: Define or directive not defined: \'`REG_BYTESREMOVEDPORT1_BITS\'\n    reg      [`REG_BYTESREMOVEDPORT1_BITS]    bytesremovedport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:295: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_BYTESREMOVEDPORT1_BITS]    bytesremovedport1_reg;\n                                         ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:297: Define or directive not defined: \'`REG_PKTDROPPEDPORT1_BITS\'\n    reg      [`REG_PKTDROPPEDPORT1_BITS]    pktdroppedport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:297: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTDROPPEDPORT1_BITS]    pktdroppedport1_reg;\n                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:299: Define or directive not defined: \'`REG_BYTESDROPPEDPORT1_BITS\'\n    reg      [`REG_BYTESDROPPEDPORT1_BITS]    bytesdroppedport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:299: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_BYTESDROPPEDPORT1_BITS]    bytesdroppedport1_reg;\n                                         ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:301: Define or directive not defined: \'`REG_PKTINQUEUEPORT1_BITS\'\n    reg      [`REG_PKTINQUEUEPORT1_BITS]    pktinqueueport1_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:301: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTINQUEUEPORT1_BITS]    pktinqueueport1_reg;\n                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:303: Define or directive not defined: \'`REG_PKTSTOREDPORT2_BITS\'\n    reg      [`REG_PKTSTOREDPORT2_BITS]    pktstoredport2_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:303: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKTSTOREDPORT2_BITS]    pktstoredport2_reg;\n                                      ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/contrib/cores/sss_output_queues_v2_0_0/hdl/sss_output_queues.v:305: Define or directive not defined: \'`REG_BYTESSTOREDPORT2_BITS\'\n    reg      [`REG_BYTESSTOREDPORT2_BITS]    bytesstoredport2_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function integer log2;
      input integer number;
      begin
         log2=0;
         while(2**log2<number) begin
            log2=log2+1;
         end
      end
   endfunction
function integer log2;

      input integer number;
      begin
         log2=0;
         while(2**log2<number) begin
            log2=log2+1;
         end
      end
   endfunction