边沿检测模块

  • always块的信号敏感变量只能有一个时钟和一个复位

上升沿检测电路

image

下降沿检测电路

image

双边沿检测

image

打一拍

image

打两拍

得到两个正常的25计数image

posted @ 2023-07-04 21:29  银脉河  阅读(10)  评论(0)    收藏  举报