📄 dpll_h.v
字号:
module DPLL_H(idclock,kclock,H,reset);output idclock;input kclock,reset;input[7:0] H;reg idclock;reg[7:0] out;always @(posedge kclock or negedge reset) begin if(reset==0) begin out<=0;idclock<=0; end else if (reset==1) begin if(out==(H-1)) begin out<=0;idclock<=1; end else if(out!=(H-1)) begin out<=out+1;idclock<=0; end end end endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -