data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v
 line:86: before: "integer"
1: b"%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:70: Define or directive not defined: '`UDP_REG_ADDR_WIDTH'\n    input  [`UDP_REG_ADDR_WIDTH-1:0]   reg_addr_in,\n            ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:71: Define or directive not defined: '`CPCI_NF2_DATA_WIDTH'\n    input  [`CPCI_NF2_DATA_WIDTH-1:0]  reg_data_in,\n            ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:77: Define or directive not defined: '`UDP_REG_ADDR_WIDTH'\n    output reg [`UDP_REG_ADDR_WIDTH-1:0]  reg_addr_out,\n                ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:78: Define or directive not defined: '`CPCI_NF2_DATA_WIDTH'\n    output reg [`CPCI_NF2_DATA_WIDTH-1:0] reg_data_out,\n                ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:223: Define or directive not defined: '`IO_QUEUE_STAGE_NUM'\n            if(input_fifo_out_vld && input_fifo_ctrl_out==`IO_QUEUE_STAGE_NUM)\n                                                          ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:223: syntax error, unexpected ')', expecting TYPE-IDENTIFIER\n            if(input_fifo_out_vld && input_fifo_ctrl_out==`IO_QUEUE_STAGE_NUM)\n                                                                             ^\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:224: Define or directive not defined: '`IOQ_DST_PORT_POS'\n               output_fifo_wr_en <= input_fifo_data_out[`IOQ_DST_PORT_POS + NUM_OUTPUT_QUEUES - 1:`IOQ_DST_PORT_POS];\n                                                        ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/121277233/ons20-app21-ref_switch/vivado/onets_7020_ref_switch/ip/ref_switch_core/src/udp/output_queues.v:224: Define or directive not defined: '`IOQ_DST_PORT_POS'\n               output_fifo_wr_en <= input_fifo_data_out[`IOQ_DST_PORT_POS + NUM_OUTPUT_QUEUES - 1:`IOQ_DST_PORT_POS];\n                                                                                                  ^~~~~~~~~~~~~~~~~\n%Error: Exiting due to 8 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