1. 首页
  2. 编程语言
  3. 硬件开发
  4. 位同步代码

位同步代码

上传者: 2019-03-29 13:09:18上传 ZIP文件 2.89KB 热度 51次
module bit_synchronize(rst,clk_high,ppmdata,clk_low);//,Num,enable,ahead,behind,ahead_final,behind_final,adder,adder_mid,firstbit,adder_mid_ahead); input clk_high,ppmdata,rst; output clk_low; //output[3:0] Num,adder,adder_mid,adder_mid_ahead; //output firstbit,enable,ahead,behind,ahead_final,behind_final; wire[3:0] Num; wire enab le,ahead,behind,ahead_final,behind_final; phase_detector U1(rst,clk_high,clk_low1,ppmdata,Num,enable,ahead,behind);//,adder,adder_mid,firstbit,adder_mid_ahead); Loop_Filter U2(rst,ahead,behind,ahead_final,behind_final); Num_creat U3(rst,ahead_final,behind_final,Num); clock_devide U4(rst,Num,clk_high,enable,clk_low); endmodule le,ahead,behind,ahead_final,behind_final; phase_detector U1(rst,clk_high,clk_low1,ppmdata,Num,enable,ahead,behind);//,adder,adder_mid,firstbit,adder_mid_ahead); Loop_Filter U2(rst,ahead,behind,ahead_final,behind_final); Num_creat U3(rst,ahead_final,behind_final,Num); clock_devide U4(rst,Num,clk_high,enable,clk_low); endmodule
用户评论