data/full_repos/permissive/175100691/gpu/shadercore/MemArb.v
 line:6: before: ")"
1: b"%Error: data/full_repos/permissive/175100691/gpu/shadercore/MemArb.v:6: Parameter without initial value is never given value (IEEE 1800-2017 6.20.1): 'COUNT'\n                                                                      : ... In instance MemArb\n    #(parameter COUNT)\n                ^~~~~\n%Error: Exiting due to 1 error(s)\n"
module MemArb
    #(parameter COUNT)
(
    input wire clock,
    input wire reset_n,


    input wire [COUNT-1:0] request,



    output reg [COUNT-1:0] authorized
);



    wire [COUNT-1:0] preferred = request & (~request + 1);

    always @(posedge clock) begin
        if (!reset_n) begin
            authorized <= 0;
        end else begin

            if ((authorized & request) != 0) begin

            end else begin


                authorized <= preferred;
            end
        end
    end

endmodule
module MemArb
    #(parameter COUNT)
(
    input wire clock,
    input wire reset_n,


    input wire [COUNT-1:0] request,



    output reg [COUNT-1:0] authorized
);




    wire [COUNT-1:0] preferred = request & (~request + 1);

    always @(posedge clock) begin
        if (!reset_n) begin
            authorized <= 0;
        end else begin

            if ((authorized & request) != 0) begin

            end else begin


                authorized <= preferred;
            end
        end
    end

endmodule