Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

edge_detector

Edge detector

Parameters


WIDTH u32 Data width
INITIAL_VALUE bit<WIDTH> Initial value of internal FF

Ports


i_clk input clock Clock
i_rst input reset Reset
i_clear input logic Clear
i_data input logic<WIDTH> Data
o_edge output logic<WIDTH> Both edges
o_posedge output logic<WIDTH> Positive edge
o_negedge output logic<WIDTH> Negative edge