function v = validateBlock(this,hC)
%

%   Copyright 2023 The MathWorks, Inc.

% all checks for the block are present on the block mask and will be
% invoked during model compilation.

v = hdlvalidatestruct;

if strcmp(hdlfeature('PWMHDLSupport'), 'off')
    v(end+1) = hdlvalidatestruct(1, ...
        message('hdlcoder:engine:missingImplementation', getfullname(hC.SimulinkHandle)));
end

end

