Skip to content

pzbcm_edge_detector

Taichi Ishitani edited this page Dec 26, 2022 · 2 revisions

pzbcm_edge_detector

https:/pezy-computing/pzbcm/tree/master/pzbcm_edge_detector

Overview

This module detects the change of the input data.

Parameter

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.

IO ports

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
Clone this wiki locally