There is not "built-ib" Simulink block that is HDL Coder compatible negative or positive edge detectors. Attached are 2 subsystems based on basic logic elements, giving you the Simulink HDL Coder compatible edge detection.
Igal (2021). HDL Coder Compatible edge detector (https://www.mathworks.com/matlabcentral/fileexchange/32795-hdl-coder-compatible-edge-detector), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!