::std::io::

Entity rising_edge

pub entity rising_edge(clk: clock, value: bool) -> bool
Expand

Emits a single cycle pulse the cycle a bool value changes from false to true.

         ____  ____  ____  ____  ____  ____  ____  ____    
clk    __|  |__|  |__|  |__|  |__|  |__|  |__|  |__|  |__
               ___________________     _______
value  ________|                 |_____|     |___________
               _______                 _______
result ________|     |_________________|     |___________