data/full_repos/permissive/193790231/B_FSMs.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/193790231/B_FSMs.v:66: Multiple top level modules\n                                                                   : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                   : ... Top module \'FSM_4xSequenceDetectorA\'\nmodule FSM_4xSequenceDetectorA(\n       ^~~~~~~~~~~~~~~~~~~~~~~\n                                                                   : ... Top module \'FSM_4xSequenceDetectorB\'\nmodule FSM_4xSequenceDetectorB(\n       ^~~~~~~~~~~~~~~~~~~~~~~\n                                                                   : ... Top module \'FSM_4xSequenceDetectorC\'\nmodule FSM_4xSequenceDetectorC(\n       ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_FSMs.v:130: Cannot find file containing module: \'shiftRegisterNx\'\n    shiftRegisterNx #(4) detect0(.Q(shiftRegA), .D(~W), .sregCLK(pCLK), .sregRESN(nREST));\n    ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/shiftRegisterNx\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/shiftRegisterNx.v\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/shiftRegisterNx.sv\n             shiftRegisterNx\n             shiftRegisterNx.v\n             shiftRegisterNx.sv\n             obj_dir/shiftRegisterNx\n             obj_dir/shiftRegisterNx.v\n             obj_dir/shiftRegisterNx.sv\n%Error: data/full_repos/permissive/193790231/B_FSMs.v:131: Cannot find file containing module: \'shiftRegisterNx\'\n    shiftRegisterNx #(4) detect1(.Q(shiftRegB), .D(W), .sregCLK(pCLK), .sregRESN(nREST));\n    ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_FSMs.v:111: Cannot find file containing module: \'registerNx\'\n    registerNx #(4) ffx4(.Q(fQ[3:0]), .D(fD[3:0]), .regCLK(pCLK), .regRESN(nREST)); \n    ^~~~~~~~~~\n%Error: Exiting due to 3 error(s), 1 warning(s)\n'
module FSM_4xSequenceDetectorC(
    output reg fOut, 

    input W, pCLK, nREST
);
    wire [3:0]shiftRegA, shiftRegB;
    shiftRegisterNx #(4) detect0(.Q(shiftRegA), .D(~W), .sregCLK(pCLK), .sregRESN(nREST));
    shiftRegisterNx #(4) detect1(.Q(shiftRegB), .D(W), .sregCLK(pCLK), .sregRESN(nREST));

    always@(*) begin
        if(shiftRegA == 4'b1111 | shiftRegB == 4'b1111) begin
            fOut = 1'b1;
        end else begin
            fOut = 1'b0;
        end
    end
endmodule
module FSM_4xSequenceDetectorC(
    output reg fOut, 

    input W, pCLK, nREST
);

    wire [3:0]shiftRegA, shiftRegB;
    shiftRegisterNx #(4) detect0(.Q(shiftRegA), .D(~W), .sregCLK(pCLK), .sregRESN(nREST));
    shiftRegisterNx #(4) detect1(.Q(shiftRegB), .D(W), .sregCLK(pCLK), .sregRESN(nREST));

    always@(*) begin
        if(shiftRegA == 4'b1111 | shiftRegB == 4'b1111) begin
            fOut = 1'b1;
        end else begin
            fOut = 1'b0;
        end
    end
endmodule