接上题,阅读下列代码,下列选项说法正确的是( )。always @(posedge clk or posedge reset)begin if(reset==1'b1) {ms_h,ms_l}<=8'h00; else begin if(pause==1'b0) begin if(ms_l==4'd9) begin ms_l<=4'd0; if(ms_h==4'h9) ms_h<=4'd0; else ms_h<=ms_h+1'b1; end else ms_l<=ms_l+1'b1; end endend
选项:
A:always语句块的敏感事件是clk和reset信号的下降沿;
B: reset是异步复位信号,低电平有效;
C:pause是暂停信号,高电平时计数器停止计数;
D:这个计数器的计数范围是0~59
发布时间:2024-06-22 23:39:38