![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[多选题]
在以下程序中,Clk_50M为频率为50MHz的系统时钟,则下列说法中正确的有()。regClk;reg[31:0]Cnt;always@(posedgeClk_50MornegedgeRst)beginif(!Rst)beginCnt<=1;Clk<=1;endelsebeginif(Cnt>=25000000)beginCnt<=1;Clk<=~Clk;endelseCnt<=Cnt+1;endend
A.该模块为同步复位
B.该模块的功能是分频器
C.若系统时钟频率为50MHz,则输出Clk的频率为2MHz
D.该程序为时序逻辑电路
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)