⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dpll_tp.txt

📁 这是基于verilog语言写的
💻 TXT
字号:
module DPLL_tp;
reg fin,kclock,reset;
reg[3:0] k;
reg[7:0] N;
reg[7:0] H;
wire fout,fout2;

parameter dely=100;
DPLL  inst_DPLL(fin,fout,fout2,kclock,reset,k,N,H);

initial
begin fin=0;kclock=0;reset=0;k=4;N=64;H=8;
#(dely*10) reset=1;
end

always #(dely/1.6) kclock=~kclock;
always #(dely/(6.4*10^(-12)));

initial
$monitor($time,,,"fin=%d,fout=%d,fout2=%d,kclock=%d,reset=%d,k=%d,N=%d,H=%d" ,fin,fout,fout2,kclock,reset,k,N,H);


endmodule






end

always#(dely/1.6)  kclock=~kclock;

⌨️ 快捷键说明

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