vivado:引脚已约束但是报错

文章描述了一个在使用Vivado工具时遇到的报错,报错信息指出有未约束的逻辑端口。实际上,问题出在芯片更换后,引脚约束未更新导致。解决方案是创建一个新的Tcl文件,设置报错级别为警告,并在GenerateBitstream步骤中添加该Tcl文件,从而避免生成比特流时的错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、问题引入

报错信息如下:

[DRC UCIO-1] Unconstrained Logical Port: 3 out of 3 logical ports have no user assigned specific location constraint (LOC). This may cause I/O contention or incompatibility with the board power or connectivity affecting performance, signal integrity or in extreme cases cause damage to the device or the components to which it is connected. To correct this violation, specify all pin locations. This design will fail to generate a bitstream unless all logical ports have a user specified site LOC constraint defined.  To allow bitstream creation with unspecified pin locations (not recommended), use this command: set_property SEVERITY {Warning} [get_drc_checks UCIO-1]. NOTE: When using the Vivado Runs infrastructure (e.g. launch_runs Tcl command), add this command to a .tcl file and add that file as a pre-hook for write_bitstream step for the implementation run.  Problem ports: CpSl_GlbClk_iN, CpSl_GlbClk_iP, and CpSl_GlbRst_iN.

报错信息里说没有约束引脚,但实际上这三个引脚都约束了的,不知道为什么还报错。

后面发现是换芯片了,但是引脚约束没有相应的改过来,所以虽然约束了,但是和芯片上的引脚不一样,因此没有识别到,于是报没有约束的错误。如果不是引脚和芯片不对应的问题,可以试一下下面添加tcl文件的方法。


二、解决方法

根据报错信息中给的提示:

1. 新建一个tcl文件

在里面写入:set_property SEVERITY {Warning} [get_drc_checks UCIO-1],然后保存

2. 把tcl文件添加到 Generate Bitstream -> Bitstream Settings -> tcl.pre*

鼠标点到Generate Bitstream ,然后右键,出现Bitstream Settings,点击进入,在tcl.pre*中添加新建好的tcl文件。

完成以上步骤后,重新生成比特文件就不会报错了。

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值