data/full_repos/permissive/107757225/audio/sram_reading_fsm.sv
 line:24: before: "logic"
1: b'%Warning-WIDTH: data/full_repos/permissive/107757225/audio/sram_reading_fsm.sv:21: Output port connection \'dout\' expects 16 bits on the pin connection, but pin connection\'s REPLICATE generates 20 bits.\n                                                                                 : ... In instance sram_reading_fsm\n .load (sram_reg_load), .dout({4\'b0, SRAM_ADDR[15:0]})\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 counter_reg (
	input  logic clk,
	input  logic reset,
	input  logic load,

	output logic [15:0] dout
);
always_ff @(posedge clk)
begin
	if(reset) begin
		dout <= 16'b0;
	end 
	else if(load) begin
		dout <= dout+1;
	end
end

endmodule
module counter_reg (
	input  logic clk,
	input  logic reset,
	input  logic load,

	output logic [15:0] dout
);

always_ff @(posedge clk)
begin
	if(reset) begin
		dout <= 16'b0;
	end 
	else if(load) begin
		dout <= dout+1;
	end
end

endmodule