data/full_repos/permissive/107735152/src/framemaker/frameStorage.v
None: at end of input
1: b'%Warning-WIDTH: data/full_repos/permissive/107735152/src/framemaker/frameStorage.v:23: Operator ADD expects 590 bits on the RHS, but RHS\'s VARREF \'CAN_RX\' generates 1 bits.\n                                                                                     : ... In instance frameStorage\n    frame = frame + CAN_RX;\n                  ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module frameStorage
(
	input	sp, CAN_RX, isStuff, reset,

	output reg [589:0] frame
);

	
	initial begin
		frame = 0;
	end



	always @ (posedge sp or posedge reset) begin
		if (reset)
			begin
				frame = 0;
			end
		else if (~isStuff)
			begin
				frame = frame << 1;
				frame = frame + CAN_RX;
			end
	end
	
endmodule
module frameStorage
(
	input	sp, CAN_RX, isStuff, reset,

	output reg [589:0] frame
);


	
	initial begin
		frame = 0;
	end



	always @ (posedge sp or posedge reset) begin
		if (reset)
			begin
				frame = 0;
			end
		else if (~isStuff)
			begin
				frame = frame << 1;
				frame = frame + CAN_RX;
			end
	end
	
endmodule