(hls backend with ram) Override the method doValidate().