三種不一樣代碼實現2位計數器的RTL比較

第一種:異步 module fenpinqi_reg(out,reset,clk);     output[1:0] out;     input reset,clk;     reg[1:0] out;     always @(posedge clk)         begin             if (reset)                  out<=0; //同步復位  
相關文章
相關標籤/搜索