data/full_repos/permissive/198830281/patternDetector.v
 line:22: before: "A"
1: b'%Error: data/full_repos/permissive/198830281/patternDetector.v:14: Unsupported: `default_nettype of other than none or wire: `default_nettype None\n`default_nettype None\n^~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 1 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module patternDetector #(parameter pattern = 3'b111, parameter patternSize = $bits(pattern)) (output reg Y, input A, input clk);

    reg[patternSize-1:0] inputStream;

    always @(posedge clk, A) begin
        inputStream = {inputStream[patternSize-2:0], A};
    end
    always @(posedge clk) begin
        Y = (inputStream === pattern) ? 1'b1:1'b0;
    end
endmodule
module patternDetector #(parameter pattern = 3'b111, parameter patternSize = $bits(pattern)) (output reg Y, input A, input clk);


    reg[patternSize-1:0] inputStream;

    always @(posedge clk, A) begin
        inputStream = {inputStream[patternSize-2:0], A};
    end
    always @(posedge clk) begin
        Y = (inputStream === pattern) ? 1'b1:1'b0;
    end
endmodule