data/full_repos/permissive/107735152/src/framemaker/frameSize.v
[Errno 2] No such file or directory: 'preprocess.output'
data/verilator_xmls/968968c4-e7c3-4963-b990-2a14f4bd4425.xml
module frameSize
(
	input	sp, isStuff, reset,
	output reg [9:0] size
);


	
	initial begin
		size <= 0;
	end
	


	always @ (posedge sp or posedge reset) begin
		if (reset)
			begin
				size <= 10'b0;
			end
		else if (~isStuff)
			begin
				size <= size + 1;
			end
	end

	



 
endmodule
module frameSize
(
	input	sp, isStuff, reset,
	output reg [9:0] size
);



	
	initial begin
		size <= 0;
	end
	


	always @ (posedge sp or posedge reset) begin
		if (reset)
			begin
				size <= 10'b0;
			end
		else if (~isStuff)
			begin
				size <= size + 1;
			end
	end

	



 
endmodule