geekite

verilog语法执行的顺序问题

always@(negedgeclkornegedgerst_n)if(!rst_n)beginout2<=1'b0;cnt<=2'd0;endelsebegincnt<=cnt+1