在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4217|回复: 0

[求助] Zynq PL可否使用外部时钟或将外部信号加入敏感列表?

[复制链接]
发表于 2014-10-22 11:58:34 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x

我在Zynq PL 侧的代码敏感列表中的AD_SCLK_Fbk是一个外部信号输入。

该代码部分如下:


    //SPI数据   

    reg[5:0] i;   

    always@(negedge AD_SCLK_Fbk or negedge AD_Rst_n)

       if(!AD_Rst_n) begin

           i <= 6'd0;

           AD_CH0_Data_reg <= 32'd0;

           AD_CH1_Data_reg <= 32'd0;

           AD_Receive_Done_reg <= 1'b0;

       end

       else if(i == 6'd15) begin

           i <= 6'd0;

           AD_CH0_Data_reg[15-i] <= AD_CH0;

           AD_CH1_Data_reg[15-i] <= AD_CH1;

           AD_Receive_Done_reg <= 1'b1;

       end

       else if(i < 6'd15) begin

           i <= i + 1'b1;

           AD_CH0_Data_reg[15-i] <= AD_CH0;

           AD_CH1_Data_reg[15-i] <= AD_CH1;

           AD_Receive_Done_reg <= 1'b0;

       end

       else;


整个工程最后实现后报故障如下:


[Place 30-574] Poorplacement for routing between an IO pin and BUFG. If this sub optimal conditionis acceptable for this design, you may use the CLOCK_DEDICATED_ROUTE constraintin the .xdc file to demote this message to a WARNING. However, the use of thisoverride is highly discouraged. These examples can be used directly in the .xdcfile to override this clock rule.

        < set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets AD0_SCLK_Fbk_IBUF] >


        AD0_SCLK_Fbk_IBUF_inst (IBUF.O) is locked to IOB_X1Y15

        and AD0_SCLK_Fbk_IBUF_BUFG_inst (BUFG.I) is provisionally placed by clockplaceron BUFGCTRL_X0Y0


我怀疑这个故障是将外部信号放在敏感列表中引起的,

请问:

1.
Zynq是否可以讲外部信号放在敏感列表里,如果可以的话要怎么配置才能不报错?

2.
Zynq PL是否可以使用外部时钟输入而不使用PS侧给的时钟?


非常感谢!

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-4-11 22:40 , Processed in 0.019978 second(s), 11 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表