data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v
1: b'%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:10: Cannot find include file: noc_parameter.vh\n    `include "noc_parameter.vh" \n             ^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog,data/full_repos/permissive/463204869/noc_parameter.vh\n             data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog,data/full_repos/permissive/463204869/noc_parameter.vh.v\n             data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog,data/full_repos/permissive/463204869/noc_parameter.vh.sv\n             noc_parameter.vh\n             noc_parameter.vh.v\n             noc_parameter.vh.sv\n             obj_dir/noc_parameter.vh\n             obj_dir/noc_parameter.vh.v\n             obj_dir/noc_parameter.vh.sv\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:11: syntax error, unexpected \',\', expecting \'[\'\n    ,parameter                              INSTANCE_NAME       = "R1",\n    ^\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:12: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter                               INPORT_QUANT        = 1,         \n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:13: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter                               OUTPORT_QUANT       = 1,         \n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:14: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter                               MODULES_PER_ROUTER  = 1,\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:15: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter                               LINKS_PER_ROUTER    = INPORT_QUANT-1-MODULES_PER_ROUTER,     \n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:17: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter   [LUT_SIZE*LINKS_PER_ROUTER-1:0] LUT_RESET_VALUE = 0,\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:19: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter   [MOD_X_COORD_SIZE-1:0]      DIRECTION_ADD_X     = 0,\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:20: syntax error, unexpected parameter, expecting IDENTIFIER\n    parameter   [MOD_Y_COORD_SIZE-1:0]      DIRECTION_ADD_Y     = 0\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:21: syntax error, unexpected \')\', expecting \';\'\n    )\n    ^\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:24: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire                                                reset_q_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:25: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [NOC_CHIPID_SIZE-1:0]                       home_chipid_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:28: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [INPORT_QUANT*NOC_HEADER_SIZE-1:0]          header_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:29: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [INPORT_QUANT*NOC_PAYLOAD_SIZE-1:0]         payload_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:30: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [INPORT_QUANT-1:0]                          rdreq_o,\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:31: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [INPORT_QUANT-1:0]                          flit_avail_q_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:34: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [OUTPORT_QUANT*NOC_HEADER_SIZE-1:0]         header_o,\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:35: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [OUTPORT_QUANT*NOC_PAYLOAD_SIZE-1:0]        payload_o,\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:36: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [OUTPORT_QUANT-1:0]                         wrreq_o,\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:37: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [OUTPORT_QUANT-1:0]                         stall_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:40: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [LUT_SIZE*LINKS_PER_ROUTER-1:0]             rin_routing_lut_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:41: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [LUT_SIZE*LINKS_PER_ROUTER-1:0]             r_routing_lut_o,\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:42: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [clogb2(INPORT_QUANT)-1:0]                  sel_lut_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:43: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [INPORT_QUANT-1:0]                          lut_update_en_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:45: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [CNT_SIZE-1:0]                              cnt_data_o,\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:46: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [clogb2(OUTPORT_QUANT)-1:0]                 cnt_port_sel_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:47: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire                                                cnt_rst_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:49: syntax error, unexpected input, expecting IDENTIFIER or do or final\n    input   wire    [OUTPORT_QUANT-1:0]                         rst_burst_i,\n    ^~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:50: syntax error, unexpected output, expecting IDENTIFIER or do or final\n    output  wire    [OUTPORT_QUANT-1:0]                         burstActive_o\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:51: syntax error, unexpected \')\', expecting \',\' or \';\'\n);\n^\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:89: syntax error, unexpected genvar\n    genvar gen_i, gen_j;\n    ^~~~~~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:182: syntax error, unexpected if\n        if (!reset_q_i) begin\n        ^~\n%Error: data/full_repos/permissive/463204869/units/noc_router/source/rtl/verilog/router_OnOff_lut.v:204: syntax error, unexpected for\n        for (i=0; i<OUTPORT_QUANT; i=i+1) begin\n        ^~~\n%Error: Exiting due to 33 error(s)\n'
function integer clogb2 (input [31:0] value_in);
        reg [31:0] value;
        begin
            value = value_in - 1;
            for (clogb2 = 0; value > 0; clogb2 = clogb2 + 1)
                value = value >> 1;
        end
    endfunction
function integer clogb2 (input [31:0] value_in);

        reg [31:0] value;
        begin
            value = value_in - 1;
            for (clogb2 = 0; value > 0; clogb2 = clogb2 + 1)
                value = value >> 1;
        end
    endfunction