data/full_repos/permissive/472097485/Chu04/Counters_00/DFFArray.v
data/verilator_xmls/a2a01f5b-74eb-41df-ba1c-55ebaf09bc2c.xml
module DFFArray #( parameter N = 1 )( input clk, input reset, input [N-1:0] next, output [N-1:0] stateOut );

	reg [N-1:0] state;


	always @( posedge clk, posedge reset )
	begin
		if( reset )
			state <= 0;
		else
			state <= next;
	end

	assign stateOut = state;

endmodule
module DFFArray #( parameter N = 1 )( input clk, input reset, input [N-1:0] next, output [N-1:0] stateOut );


	reg [N-1:0] state;


	always @( posedge clk, posedge reset )
	begin
		if( reset )
			state <= 0;
		else
			state <= next;
	end

	assign stateOut = state;

endmodule