VIVADO Linux下 program device脚本

发布时间 2023-12-14 18:39:48作者: CNL中子
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 {/root/zhx/bit1210/k_machine_2100p_virt_c_2312092257_switch_develop2_685ps_38_impl3.bit} [current_hw_device]
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