VIVADO Linux下 program device脚本

set bitfile "/root/x.bit"

open_hw_manager
connect_hw_server -url localhost:3121

open_hw_target [lindex [get_hw_targets] 0]
current_hw_device [lindex [get_hw_devices] 0]
puts "open hw"
set_property PROGRAM.FILE $bitfile [current_hw_device]
program_hw_devices [current_hw_device]

disconnect_hw_server
close_hw_manager
puts "program device successful"
exit
/opt/Vivado_Lab/2020.2/bin/vivado_lab -mode tcl -source download.tcl
posted @ 2023-12-14 18:38  AdriftCore  阅读(77)  评论(0编辑  收藏  举报