当前位置:网站首页>Xilinx FPGA一路时钟输入两个PLL
Xilinx FPGA一路时钟输入两个PLL
2022-07-23 07:20:00 【wkonghua】
Xilinx FPGA一路时钟输入两个PLL
实现方法:
1、时钟为全局时钟输入引脚输入。
2、输入时钟首先进入IBUFG + BUFG,然后输出一个全局时钟
3、将输出的全局时钟分别输入两个PLL,PLL配置输入为No Buffer,输出为BUFG/BUFGCE等


代码如下:
wire O ;
IBUFG IBUFG_inst (
.O(O), // Buffer output
.I(i_sys_clk_50m) // Buffer input (connect directly to top-level port)
);
wire O1;
BUFG BUFG_inst(
.O(O1), // 1-bit output: Clock output
.I(O) // 1-bit input: Clock input
);
PLL PLL_INST(
// Clock out ports
.sys_clk_10m ( )
,.sys_clk_20_46m ( )
,.sys_clk_50m ( )
,.sys_clk_100m ( )
// Status and control signals
,.reset ( 0 )
,.sys_rst_n ( sys_rst_n )
// Clock in ports
,.clk_in1 ( O1 )
);
wire clk_10m ;
wire clk_100m ;
wire clk_50m1 ;
wire clk_50m2 ;
wire clk_50m3 ;
wire clk_50m4 ;
wire rst_n1 ;
wire clk_10m_ce ;
wire clk_100m_ce ;
wire clk_50m1_ce ;
wire clk_50m2_ce ;
wire clk_50m3_ce ;
wire clk_50m4_ce ;
reg [15:0] cnt111;
reg flag111;
wire w_flag ;
assign w_flag = flag111 ;
// assign clk_100m_ce = flag111 ?
clk_wiz_1 clk_wiz_1_inst(
// Clock out ports
.clk_10m_ce(1),
.clk_10m(sys_clk_10m),
.clk_100m_ce(rst_n1),
.clk_100m(sys_clk_100m),
.clk_50m1_ce(1),//
.clk_50m1(sys_clk_50m),
.clk_50m2_ce(flag111),
.clk_50m2(clk_50m2),
.clk_50m3_ce(flag111),
.clk_50m3(clk_50m3),
.clk_50m4_ce(flag111),
.clk_50m4(clk_50m4),
// Status and control signals
.reset(0),
.locked(rst_n1),
// Clock in ports
.clk_in1(O1)
);边栏推荐
- 2022 summer vacation software innovation laboratory training project practice 1
- IP address classification and range
- The fourth operation
- Typora 修改表格宽度
- Light chain dissection / tree chain dissection
- Okaleido tiger NFT即将登录Binance NFT平台,你期待吗?
- Kept dual machine hot standby
- Error running ‘XXX‘: Command line is too long. Shorten command line for AudioTest or also ...
- 面试官:有了解过ReentrantLock的底层实现吗?说说看
- ModuleNotFoundError: No module named ‘setuptools_ rust‘
猜你喜欢
随机推荐
About this pointer
Smart canteen data analysis system
Ros2 self study notes: gazebo physical simulation platform
同花顺开户风险性大吗,安全吗?
LeetCode_ 491_ Longest increasing subsequence
C#:in、out、ref关键字
在虚拟环境下使用pip时默认使用系统环境的pip该怎么办
[play with FPGA in simple terms to learn 10 ----- simple testbench design]
Research on hardware architecture of Ti single chip millimeter wave radar xwr1642
Okaleido tiger NFT即将登录Binance NFT平台,你期待吗?
Special lecture 5 combinatorial mathematics learning experience (long-term update)
数据库系统原理与应用教程(043)—— MySQL 查询(五):对查询结果排序
freemarker
C # make a simple browser
Unity制作简单拦截近防炮——如何预测打击目标
[Part 2] full analysis of oak-d+turnlebot3 robot project
LeetCode_2342_数位和相等数对的最大和
[cocos creator] spin animation, monitoring and playback end
图像处理4:腐蚀
Vs2019:constexpr function "qcountleadingzerobits" cannot generate constant expressions








