`timescale 1ns/1ns module edge_detect( //有一个缓慢变化的1bit信号a,实现检测a信号的上升沿给出指示信号rise //下降沿,给出指示信号down,rise down应为单脉冲信号,在相应边沿出现时的下一个时钟为高,之后恢复到0; input clk, input rst_n, input a, ...