-
Notifications
You must be signed in to change notification settings - Fork 5
pzbcm_edge_detector
Taichi Ishitani edited this page Dec 26, 2022
·
2 revisions
https://github.com/pezy-computing/pzbcm/tree/master/pzbcm_edge_detector
This module detects the change of the input data.
name | type/width | default value |
---|---|---|
WIDTH | int | 1 |
INITIAL_VALUE | WIDTH | all bits 0 |
- WIDTH
- Specify width of the input data.
- INITIAL_VALUE
- Initial value of the internal FF.
name | direction | type/width | note |
---|---|---|---|
i_clk | input | 1 | clock |
i_rst_n | input | 1 | reset (async/active low) |
i_d | input | WIDTH | input data |
o_edge | output | WIDTH | indicate the input data is changed |
o_posedge | output | WIDTH | indicate the input data is changed from LOW to HIGH |
o_negedge | output | WIDTH | indicate the input data is changed from HIGH to LOW |