Check that gap of possibly varying width occurs in range of signal's amplitudes (HDL Coder)
The Check Dynamic Gap block is available with Simulink®.
For information about the simulation behavior and block parameters, see Check Dynamic Gap.
When you use this block in your model, HDL Coder™ does not generate HDL code for it.