data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v
1: b'%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:35: Cannot find include file: output_port_lookup_cpu_regs_defines.v\n`include "output_port_lookup_cpu_regs_defines.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl,data/full_repos/permissive/498471995/output_port_lookup_cpu_regs_defines.v\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl,data/full_repos/permissive/498471995/output_port_lookup_cpu_regs_defines.v.v\n             data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl,data/full_repos/permissive/498471995/output_port_lookup_cpu_regs_defines.v.sv\n             output_port_lookup_cpu_regs_defines.v\n             output_port_lookup_cpu_regs_defines.v.v\n             output_port_lookup_cpu_regs_defines.v.sv\n             obj_dir/output_port_lookup_cpu_regs_defines.v\n             obj_dir/output_port_lookup_cpu_regs_defines.v.v\n             obj_dir/output_port_lookup_cpu_regs_defines.v.sv\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:117: Define or directive not defined: \'`MEM_IP_LPM_TCAM_DEPTH\'\n  localparam LPM_LUT_ROWS      = `MEM_IP_LPM_TCAM_DEPTH;\n                                 ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:117: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  localparam LPM_LUT_ROWS      = `MEM_IP_LPM_TCAM_DEPTH;\n                                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:119: Define or directive not defined: \'`MEM_IP_ARP_CAM_DEPTH\'\n  localparam ARP_LUT_ROWS      = `MEM_IP_ARP_CAM_DEPTH;\n                                 ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:119: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  localparam ARP_LUT_ROWS      = `MEM_IP_ARP_CAM_DEPTH;\n                                                      ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:121: Define or directive not defined: \'`MEM_DEST_IP_CAM_DEPTH\'\n  localparam FILTER_ROWS       = `MEM_DEST_IP_CAM_DEPTH;\n                                 ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:121: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  localparam FILTER_ROWS       = `MEM_DEST_IP_CAM_DEPTH;\n                                                       ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:179: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:179: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:180: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:180: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:181: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:181: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:182: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:182: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:183: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:183: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:184: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:184: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:185: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:185: 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/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:186: Define or directive not defined: \'`REG_PKT_SENT_FROM_CPU_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_FROM_CPU_CNTR_BITS]     pkt_sent_from_cpu_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:186: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_FROM_CPU_CNTR_BITS]     pkt_sent_from_cpu_cntr_reg;\n                                              ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:188: Define or directive not defined: \'`REG_PKT_SENT_TO_CPU_OPTIONS_VER_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_TO_CPU_OPTIONS_VER_CNTR_BITS]     pkt_sent_to_cpu_options_ver_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:188: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_TO_CPU_OPTIONS_VER_CNTR_BITS]     pkt_sent_to_cpu_options_ver_cntr_reg;\n                                                        ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:190: Define or directive not defined: \'`REG_PKT_SENT_TO_CPU_BAD_TTL_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_TO_CPU_BAD_TTL_CNTR_BITS]     pkt_sent_to_cpu_bad_ttl_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:190: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_TO_CPU_BAD_TTL_CNTR_BITS]     pkt_sent_to_cpu_bad_ttl_cntr_reg;\n                                                    ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:192: Define or directive not defined: \'`REG_PKT_SENT_TO_CPU_DEST_IP_HIT_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_TO_CPU_DEST_IP_HIT_CNTR_BITS]     pkt_sent_to_cpu_dest_ip_hit_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:192: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_TO_CPU_DEST_IP_HIT_CNTR_BITS]     pkt_sent_to_cpu_dest_ip_hit_cntr_reg;\n                                                        ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:194: Define or directive not defined: \'`REG_PKT_FORWARDED_CNTR_BITS\'\n    reg      [`REG_PKT_FORWARDED_CNTR_BITS]       pkt_forwarded_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:194: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_FORWARDED_CNTR_BITS]       pkt_forwarded_cntr_reg;\n                                          ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:196: Define or directive not defined: \'`REG_PKT_DROPPED_CHECKSUM_CNTR_BITS\'\n    reg      [`REG_PKT_DROPPED_CHECKSUM_CNTR_BITS]      pkt_dropped_checksum_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:196: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_DROPPED_CHECKSUM_CNTR_BITS]      pkt_dropped_checksum_cntr_reg;\n                                                 ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:198: Define or directive not defined: \'`REG_PKT_SENT_TO_CPU_NON_IP_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_TO_CPU_NON_IP_CNTR_BITS]     pkt_sent_to_cpu_non_ip_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:198: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_TO_CPU_NON_IP_CNTR_BITS]     pkt_sent_to_cpu_non_ip_cntr_reg;\n                                                   ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:200: Define or directive not defined: \'`REG_PKT_SENT_TO_CPU_ARP_MISS_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_TO_CPU_ARP_MISS_CNTR_BITS]     pkt_sent_to_cpu_arp_miss_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:200: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_TO_CPU_ARP_MISS_CNTR_BITS]     pkt_sent_to_cpu_arp_miss_cntr_reg;\n                                                     ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:202: Define or directive not defined: \'`REG_PKT_SENT_TO_CPU_LPM_MISS_CNTR_BITS\'\n    reg      [`REG_PKT_SENT_TO_CPU_LPM_MISS_CNTR_BITS]     pkt_sent_to_cpu_lpm_miss_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:202: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_SENT_TO_CPU_LPM_MISS_CNTR_BITS]     pkt_sent_to_cpu_lpm_miss_cntr_reg;\n                                                     ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:204: Define or directive not defined: \'`REG_PKT_DROPPED_WRONG_DST_MAC_CNTR_BITS\'\n    reg      [`REG_PKT_DROPPED_WRONG_DST_MAC_CNTR_BITS]     pkt_dropped_wrong_dst_mac_cntr_reg;\n              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:204: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    reg      [`REG_PKT_DROPPED_WRONG_DST_MAC_CNTR_BITS]     pkt_dropped_wrong_dst_mac_cntr_reg;\n                                                      ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:206: Define or directive not defined: \'`REG_MAC_0_HI_BITS\'\n    wire     [`REG_MAC_0_HI_BITS]        mac_0_hi_reg;\n              ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:206: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire     [`REG_MAC_0_HI_BITS]        mac_0_hi_reg;\n                                ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:207: Define or directive not defined: \'`REG_MAC_0_LOW_BITS\'\n    wire     [`REG_MAC_0_LOW_BITS]        mac_0_low_reg;\n              ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:207: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire     [`REG_MAC_0_LOW_BITS]        mac_0_low_reg;\n                                 ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:208: Define or directive not defined: \'`REG_MAC_1_HI_BITS\'\n    wire     [`REG_MAC_1_HI_BITS]        mac_1_hi_reg;\n              ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:208: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire     [`REG_MAC_1_HI_BITS]        mac_1_hi_reg;\n                                ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:209: Define or directive not defined: \'`REG_MAC_1_LOW_BITS\'\n    wire     [`REG_MAC_1_LOW_BITS]        mac_1_low_reg;\n              ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:209: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    wire     [`REG_MAC_1_LOW_BITS]        mac_1_low_reg;\n                                 ^\n%Error: data/full_repos/permissive/498471995/sume/felix/simple_sume_switch/test/ip_repo/std/cores/router_output_port_lookup_v1_0_0/hdl/router_output_port_lookup.v:210: Define or directive not defined: \'`REG_MAC_2_HI_BITS\'\n    wire     [`REG_MAC_2_HI_BITS]        mac_2_hi_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