|
always @(posedge CLK_50M or negedge PORB)
& W* q s7 ^9 T# vbegin0 t( S! f5 T: s5 U
if(!PORB)
6 L0 T6 `) p- e* ]! d sys_signal_d1 <= #1 1b'0;
4 @; L1 O2 b @) F+ W else9 ~7 V! H! p4 K& `+ d* Y
sys_signal_d1 <= #1 sys_signal;
; q& ?8 x6 R* ~+ Uend
8 E$ }! l6 `, V, P
# _- r. V& R, @- |. r) b# ?assign sys_signal_pul = sys_signal & ! sys_signal_d1;% c1 @: S$ m& O8 [; k0 l
1 q2 ]* ^9 {) G. E$ r3 Q4 [# @always @(posedge sys_signal or negedge sys_signal_pul)
1 h7 F$ B D, l$ a; O8 \, Abegin
, f" {: Y% H H+ q2 o if(!sys_signal_pul)' T' ]5 K, ^. L( D9 M9 o& {0 Y+ w
rst_B1 <= #1 1'b0;
& K) Z+ y2 J5 X else
# K K4 d) l) O rst_B1 <= #1 1'b1;
( Z. f, y5 j' lend |
|