data/full_repos/permissive/406635962/src/general/gnrl_dffs.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/406635962/src/general/gnrl_dffs.v:44: 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 \'gnrl_dfflrs\'\nmodule gnrl_dfflrs #(\n       ^~~~~~~~~~~\n                                                                                  : ... Top module \'gnrl_dfflr\'\nmodule gnrl_dfflr #(\n       ^~~~~~~~~~\n                                                                                  : ... Top module \'gnrl_dffl\'\nmodule gnrl_dffl #(\n       ^~~~~~~~~\n                                                                                  : ... Top module \'gnrl_dffrs\'\nmodule gnrl_dffrs #(\n       ^~~~~~~~~~\n                                                                                  : ... Top module \'gnrl_dffr\'\nmodule gnrl_dffr #(\n       ^~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module gnrl_dffrs #(
    parameter DW = 32 
) (
    input [DW-1:0] dnxt,
    output [DW-1:0] qout,

    input clk,
    input rst_n
);

reg [DW-1: 0] qout_r;

always @(posedge clk or negedge rst_n) begin
    if (rst_n == 1'b0) begin

        qout_r <= {DW{1'b1}};
    end
    else begin

        qout_r  <= dnxt;
    end
end

assign qout = qout_r;
endmodule
module gnrl_dffrs #(
    parameter DW = 32 
) (
    input [DW-1:0] dnxt,
    output [DW-1:0] qout,

    input clk,
    input rst_n
);


reg [DW-1: 0] qout_r;

always @(posedge clk or negedge rst_n) begin
    if (rst_n == 1'b0) begin

        qout_r <= {DW{1'b1}};
    end
    else begin

        qout_r  <= dnxt;
    end
end

assign qout = qout_r;
endmodule