data/full_repos/permissive/410272426/hardware_code_radix-2/common_lib.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/410272426/hardware_code_radix-2/common_lib.v:36: 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 \'DFF\'\nmodule DFF #(parameter data_width = 14)(\n       ^~~\n                                                                                             : ... Top module \'shift_8\'\nmodule shift_8 #(parameter data_width = 14)(\n       ^~~~~~~\n                                                                                             : ... Top module \'shift_7\'\nmodule shift_7 #(parameter data_width = 14)(\n       ^~~~~~~\n                                                                                             : ... Top module \'shift_4\'\nmodule shift_4 #(parameter data_width = 14)(\n       ^~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module DFF #(parameter data_width = 14)(
    input clk,rst,
    input [data_width-1:0] d,
    output reg [data_width-1:0] q 
    );
    always@(posedge clk or posedge rst)
    begin
      if(rst)
        q <= 0;
      else
        q <= d;
    end
endmodule
module DFF #(parameter data_width = 14)(
    input clk,rst,
    input [data_width-1:0] d,
    output reg [data_width-1:0] q 
    );

    always@(posedge clk or posedge rst)
    begin
      if(rst)
        q <= 0;
      else
        q <= d;
    end
endmodule