1.生成.bin步骤
1.1方法一
1.在Settings里勾选-bin_file选项,如图1所示。
2.添加约束文件到工程中,如图2所示。
3.编译项目即可生成.bin文件。


#configure
set_property BITSTREAM.CONFIG.CONFIGRATE 50 [current_design]
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design]
set_property BITSTREAM.CONFIG.SPI_FALL_EDGE Yes [current_design]
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN PULLNONE [current_design]
set_property CFGBVS VCCO [current_design]
set_property CONFIG_VOLTAGE 3.3 [current_design]
1.2方法二
1. 选择Tools>>Generate Memory Configuration Files...,如图3所示。
2.如图4所示,设置生成.bin的选项,然后点击OK生成.bin文件。


2.烧录步骤







网友评论