程序选的fpga芯片出现了问题,按道理应该是zynq的xczu7eg系列芯片,但是选成了xczu7ev的了,导致生成的gt相关程序不一样,最终的比特流文件始终烧录不上去。
报错信息:
ERROR: [Labtools 27-3303] Incorrect bitstream assigned to device. Bitfile is incompatible for this device. Bitstream was generated for device xczu7ev and target device is xczu7.
此外,原来一直使用2019版的vivado,在与学长交流项目工程文件时经常因为学长这边的版本过高,不能自己打开项目工程,现在把vivado版本更新成和学长同步的2023版了。似乎2023版有些特性与2019版不一样,之前2019版没有出现过问题的代码,2023版开始报错了。比如文件中差分时钟相关代码报错:
[Place 30-681] Sub-optimal placement for a global clock-capable IO pin and MMCM pair. As a workaround for this error, please insert a BUFG in between the IO and the MMCM.
clock_reset_inst/clk_100mhz_ibufg_inst/IBUFCTRL_INST (IBUFCTRL.O) is locked to IOB_X2Y97
clock_reset_inst/clk_mmcm_inst (MMCME4_ADV.CLKIN1) is provisionally placed by clockplacer on MMCM_X1Y2
The above error could possibly be related to other connected instances. Following is a list of
all the related clock rules and their respective instances.
不排除是自己下载2023时候出了些问题,因为之前有个类似用来测试功能的led控制小工程,相同的项目文件在学长那里不会报错,在自己这里就有类似的报错信息,而且都是差分时钟相关的代码。
和学长交流,学长指出了我工作中常出现的问题:
本文章使用limfx的vscode插件快速发布