mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
18 lines
638 B
Tcl
18 lines
638 B
Tcl
#------------------------------------------------------------------------------
|
|
# prog_hw_vivado.tcl
|
|
# published as part of https://github.com/pConst/basic_verilog
|
|
# Konstantin Pavlov, pavlovconst@gmail.com
|
|
#------------------------------------------------------------------------------
|
|
|
|
# INFO ------------------------------------------------------------------------
|
|
# program script for Vivado
|
|
#
|
|
# call with
|
|
# vivado -nolog -mode batch -source prog_hw_vivado.tcl
|
|
|
|
connect_hw_server
|
|
open_hw_target [lindex [get_hw_targets] 0]
|
|
set_property PROGRAM.FILE main.bit [lindex [get_hw_devices] 1]
|
|
program_hw_devices [lindex [get_hw_devices] 1]
|
|
|