data/full_repos/permissive/174242803/datapath/src/dff.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/174242803/datapath/src/dff.v:29: 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 (input d,\n       ^~~\n                                                                             : ... Top module \'dff8bit\'\nmodule dff8bit (input [7:0] d,\n       ^~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module dff (input d,
	    input clk,
	    input rst,
       input en,
	    output reg q,
	    output q_not);

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

   assign q_not = ~q;
   
endmodule
module dff (input d,
	    input clk,
	    input rst,
       input en,
	    output reg q,
	    output q_not);


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

   assign q_not = ~q;
   
endmodule