一、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