学习zynq番外篇:error记录

一、1.比特流写入失败:[Vivado 12-4452] The hardware handoff file (.sysdef) does not exist. It may not have been generated due to: 1. A bitstream might not have been generated. Generate Bitstream and export again, or do not request a bitstream to be included in export. 2. There are no block design hardware handoff files. Check the vivado log messages for more details.
或者类似于[DRC NSTD-1] Unspecified I/O Standard: 3 out of 3 logical ports use I/O standard (IOSTANDARD) value ‘DEFAULT’, instead of a user assigned specific value. 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 I/O standards. This design will fail to generate a bitstream unless all logical ports have a user specified I/O standard value defined. To allow bitstream creation with unspecified I/O standard values (not recommended), use this command: set_property SEVERITY {Warning} [get_drc_checks NSTD-1].

2.①Unspecified I/O Standard(意思是未指定IO电平标准,打开Implementation中的IO Planning查看IO std,修改后选择FIXed保存(这个是可行的)

②新建记事本,添加以下三句:
set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
set_property SEVERITY {Warning} [get_drc_checks RTSTAT-1]
set_property SEVERITY {Warning} [get_drc_checks UCIO-1]

重命名为 name.tcl文件(确定后缀格式有效)(这个中途出现了其他问题,是否可行未知)

3.在generate bitstream 界面,右键进入setting
再一次Generate bitstream

二、出现error:
[Common 17-163] Missing value for option ‘objects’, please type ‘set_property -help’ for usage info. [“E:/tanjh/work/zynq/cource/test/ps_axi/ps_axi.srcs/constrs_1/new/led.xdc”:1]
set_property IOSTANDARD LVCMOS33[get_ports CS]发现值(LVCMOS33)与对象([get_ports CS])之间少了个空格,把空格加上去,再跑一次,没报错了

三、[Designutils 20-1307] Command ‘get_ports{leds_tri_o[0]}’ is not supported in the xdc constraint file. [“E:/tanjh/work/zynq/cource/test/ps_axi/ps_axi.srcs/constrs_1/new/led.xdc”:1]
在去掉get_ports {led4_tri_io[0]} 中的 {} 后, bit就能顺利生成了

四、在Linux控制gpio的实验里
Zynq平台gpio的编号计算方法需要查看/sys/class/gpio路径下的gpiochips编号

此处MIO为906,EMIO为960

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值