dpll_4count.txt

来自「这是基于verilog语言写的」· 文本 代码 · 共 19 行

TXT
19
字号
module DPLL_4count(fout2,idout,N);
output fout2;
input  idout;
input[8:0] N;
reg fout2;
reg out3;

always @(posedge idout)
  begin
     if(out3==N)
        begin
           out3<=0;fout2<=1;
        end
     else if(out3!=N) 
        begin
           out3<=out3+1;fout2<=0;
        end
  end
endmodule

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?