data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v
 line:194: before: "er_o"
1: b"%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:81: Define or directive not defined: '`RATE_LIMIT_TOKEN_INTERVAL'\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INTERVAL && rw_meter_i==0)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:81: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INTERVAL && rw_meter_i==0)\n                                                                        ^~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:87: Define or directive not defined: '`RATE_LIMIT_TOKEN_INC'\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INC && rw_meter_i==0)\n                                             ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:87: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INC && rw_meter_i==0)\n                                                                   ^~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:98: Define or directive not defined: '`RATE_LIMIT_TOKEN_INTERVAL'\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INTERVAL && rw_meter_i==0)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:98: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INTERVAL && rw_meter_i==0)\n                                                                        ^~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:115: Define or directive not defined: '`RATE_LIMIT_TOKEN_INC'\n    else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INC && rw_meter_i==0)\n                                              ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:127: Define or directive not defined: '`RATE_LIMIT_TOKEN_INTERVAL'\n    else if(req_meter_i && rw_meter_i==0 && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INTERVAL)\n                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:144: Define or directive not defined: '`RATE_LIMIT_TOKEN_INC'\n    else if(req_meter_i && rw_meter_i==0 && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INC)\n                                                               ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:187: Define or directive not defined: '`RATE_LIMIT_TOKEN_INTERVAL'\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INTERVAL && rw_meter_i==1)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:195: Define or directive not defined: '`RATE_LIMIT_TOKEN_INC'\n   else if(req_meter_i && addr_meter_i[7:0]==`RATE_LIMIT_TOKEN_INC && rw_meter_i==1)\n                                             ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:203: Define or directive not defined: '`METER_PASS_PKT_COUNTER'\n   else if(req_meter_i && addr_meter_i[7:0]==`METER_PASS_PKT_COUNTER && rw_meter_i==1)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:212: Define or directive not defined: '`METER_PASS_BYTE_COUNTER'\n   else if(req_meter_i && addr_meter_i[7:0]==`METER_PASS_BYTE_COUNTER && rw_meter_i==1)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:221: Define or directive not defined: '`METER_DROP_PKT_COUNTER'\n   else if(req_meter_i && addr_meter_i[7:0]==`METER_DROP_PKT_COUNTER && rw_meter_i==1)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app52-ref_ofshw/vivado/onets_7020_4x_ref_ofshw/ip/packet_pipeline_v1_0/src/user_data_path/rate_limiter_regs.v:230: Define or directive not defined: '`METER_DROP_BYTE_COUNTER'\n   else if(req_meter_i && addr_meter_i[7:0]==`METER_DROP_BYTE_COUNTER && rw_meter_i==1)\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 15 error(s)\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