edge_detector
Edge detector
Parameters
WIDTH | u32 | Data width |
---|---|---|
INITIAL_VALUE | bit |
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 |
Data |
o_edge | output | logic |
Both edges |
o_posedge | output | logic |
Positive edge |
o_negedge | output | logic |
Negative edge |